Skip to content

Commit bdb6f84

Browse files
committed
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
=== Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent ab47de5 commit bdb6f84

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/core_concepts.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"\n",
1313
" - the `Atlas` class as the basic entry point for working with a brain atlas \n",
1414
" - the `Parcellation` class, giving access to a particular brain segregation scheme\n",
15-
" - the `Space` class, givin access to a particular reference space\n",
15+
" - the `Space` class, giving access to a particular reference space\n",
1616
" \n",
1717
"The above classes are all derived from the basic `AtlasConcept` class, and represent semantic concepts. They are special in the sense that `siibra` automatically builds a registry with predefined objects for each of them as soon as you import the package. To configure the predefined objects, siibra will retrieve configuration details from EBRAINS and some other online resources when you import the package: "
1818
]
@@ -157,7 +157,7 @@
157157
"source": [
158158
"## Accessing parcellations and regions\n",
159159
"\n",
160-
"While the registry `siibra.parcellations` gives access to all available parcellations, the recommended way is to access parcellations via an atlas object. Each atlas object provices a filtered registry of its supported parcellations."
160+
"While the registry `siibra.parcellations` gives access to all available parcellations, the recommended way is to access parcellations via an atlas object. Each atlas object provides a filtered registry of its supported parcellations."
161161
]
162162
},
163163
{

docs/create_preconfiguration.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ How to structure jsons?
1414
=======================
1515
In ``config_schema`` folder within
1616
`siibra-python <https://github.com/FZJ-INM1-BDA/siibra-python>`_, the existing
17-
schemes are provied as json files. These are meant to be a guide, particularly
17+
schemes are provided as json files. These are meant to be a guide, particularly
1818
for the minimum requirements.
1919

2020
Step-by-step

examples/02_maps_and_templates/007_adding_custom_parcellation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
# %%
8787
# On the other hand, some features are only anchored to a semantic region
88-
# object and the link to the custome region is not directly known to siibra.
88+
# object and the link to the custom region is not directly known to siibra.
8989
# However, siibra circumvents this by comparing volumes of these regions to
9090
# assign a link between them.
9191
volume = region.get_regional_mask('mni152')

examples/05_anatomical_assignment/002_activation_maps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# assign cytoarchitectonic regions to this functional map. Since we are here
6767
# usually interested in correlations of the modes, we filter the result by
6868
# significant (positive) correlations.
69-
# To assigne an image, we first need to create Volume which has to have a
69+
# To assign an image, we first need to create Volume which has to have a
7070
# space defined.
7171
volume = siibra.volumes.volume.from_nifti(img, difumo_maps.space, "fusiform posterior")
7272
with siibra.QUIET: # suppress progress output

siibra/commons.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def connected_components(
554554
555555
Note
556556
----
557-
`Uses skimage.measure.label()` to determine foreground compenents.
557+
`Uses skimage.measure.label()` to determine foreground components.
558558
559559
Parameters
560560
----------
@@ -644,7 +644,7 @@ def MI(arr1, arr2, nbins=100, normalized=True):
644644
assert (all(arr.size > 0) for arr in [arr1, arr2])
645645

646646
# compute the normalized joint 2D histogram as an
647-
# empirical measure of the joint probabily of arr1 and arr2
647+
# empirical measure of the joint probability of arr1 and arr2
648648
pxy, _, _ = np.histogram2d(arr1.ravel(), arr2.ravel(), bins=nbins)
649649
pxy /= pxy.sum()
650650

siibra/features/tabular/cell_density_profile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def length(self):
6060
return sum(self.lengths)
6161

6262
def sample(self, d: Union[Iterable[float], np.ndarray, float]):
63-
# if d is interable, we assume a list of sample positions
63+
# if d is iterable, we assume a list of sample positions
6464
try:
6565
iter(d)
6666
except TypeError:

siibra/features/tabular/cortical_profile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CorticalProfile(tabular.Tabular, Compoundable):
3737
Optionally, the depth coordinates of layer boundaries can be specified.
3838
3939
Most attributes are modelled as properties, so dervide classes are able
40-
to implement lazy loading instead of direct initialiation.
40+
to implement lazy loading instead of direct initialization.
4141
4242
"""
4343

0 commit comments

Comments
 (0)