Skip to content

Commit d33a05a

Browse files
authored
Merge pull request #1148 from DimitriPapadopoulos/codespell
DOC: fix typos found by codespell
2 parents 78531d7 + 65b3544 commit d33a05a

13 files changed

+17
-17
lines changed

doc/source/devel/data_pkg_discuss.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,14 @@ Discovery
367367

368368
.. [#tag-sources]
369369
370-
Revsion ids could for example be hashes of the package instantiation
370+
Revision ids could for example be hashes of the package instantiation
371371
(package contents), so they could be globally unique to the contents,
372372
wherever the contents was when the identifier was made. However, *tags*
373-
are just names that someone has attached to a particular revsion id. If
373+
are just names that someone has attached to a particular revision id. If
374374
there is more than one person providing versions of a particular package,
375-
there may not be agreement on the revsion that a particular tag is attached
375+
there may not be agreement on the revision that a particular tag is attached
376376
to. For example, I might think that ``release-0.3`` of ``some-package``
377-
refers to package state identified by revsion id ``af5bd6``, but you might
377+
refers to package state identified by revision id ``af5bd6``, but you might
378378
think that ``release-0.3`` of ``some-package`` refers to some other package
379379
state. In this case you and are are both a *tag sources* for the package.
380380
The state that particular tag refers to can depend then on the source from

doc/source/devel/spm_use.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ from volumes, as long as the transform is an affine.
291291

292292
Miscellaneous functions operating on vol structs:
293293

294-
* ``spm_conv_vol`` - convolves volume with seperable functions in x, y, z
294+
* ``spm_conv_vol`` - convolves volume with separable functions in x, y, z
295295
* ``spm_render_vol`` - does a projection of a volume onto a surface
296296
* ``spm_vol_check`` - takes array of vol structs and checks for sameness of
297297
image dimensions and ``mat`` (affines) across the list.

doc/source/dicom/dcm2nii_algorithms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Compiling dcm2nii
1818
=================
1919

2020
Follow the download / install instructions at the
21-
http://www.lazarus.freepascal.org/ site. I was on a Mac, and folowed the
21+
http://www.lazarus.freepascal.org/ site. I was on a Mac, and followed the
2222
instructions here:
2323
http://wiki.lazarus.freepascal.org/Installing_Lazarus_on_MacOS_X . Default
2424
build with version 0.9.28.2 gave an error linking against Carbon, so I needed to

doc/source/dicom/spm_dicom.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ There's a check for not-even tag length. If not even:
8080
#. 13 appears to mean 10 and is reset to be 10
8181
#. Any other odd number is not valid and gives a tag length of 0
8282

83-
``SQ`` VR type (Sequnce of items type)
84-
--------------------------------------
83+
``SQ`` VR type (Sequence of items type)
84+
---------------------------------------
8585

8686
tag length of 13 set to tag length 10.
8787

doc/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Windows), and type::
4343

4444
This will download and install NiBabel.
4545

46-
If you really like doing stuff manually, you can install NiBabel by downoading
46+
If you really like doing stuff manually, you can install NiBabel by downloading
4747
the source from `NiBabel pypi`_ . Go to the pypi page and select the source
4848
distribution you want. Download the distribution, unpack it, and then, from
4949
the unpacked directory, run::

doc/source/old/examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ the desired values:
8080
>>> print nim.header['dim']
8181
[ 4 32 32 16 100 1 1 1]
8282

83-
First value shows the number of dimensions in the datset: 4 (good, that's what
83+
First value shows the number of dimensions in the dataset: 4 (good, that's what
8484
we wanted). The following numbers are dataset size on the x, y, z, t, u, v, w
8585
axis (NIfTI files can handle up to 7 dimensions).
8686

nibabel/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def list_files(self, relative=True):
7676
Parameters
7777
----------
7878
relative: bool, optional
79-
If True, path returned are relative to the base paht of
79+
If True, path returned are relative to the base path of
8080
the data source.
8181
8282
Returns

nibabel/pkg_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def cmp_pkg_version(version_str, pkg_version_str=__version__):
3232
version_str : str
3333
Version string to compare to current package version
3434
pkg_version_str : str, optional
35-
Version of our package. Optional, set fom ``__version__`` by default.
35+
Version of our package. Optional, set from ``__version__`` by default.
3636
3737
Returns
3838
-------

nibabel/tests/test_analyze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def as_analyze_map(self):
656656
exp_hdr['cal_min'] = -100
657657
exp_hdr['cal_max'] = 100
658658
assert klass.from_header(H5()) == exp_hdr
659-
# set_* methods override fields fron header
659+
# set_* methods override fields from header
660660

661661
class H6(H5):
662662

nibabel/tests/test_api_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ValidateAPI(metaclass=validator2test):
3434
3535
Your job is twofold:
3636
37-
* define an ``obj_params`` iteratable, where the iterator returns (``obj``,
37+
* define an ``obj_params`` iterable, where the iterator returns (``obj``,
3838
``params``) pairs. ``obj`` is something that you want to validate against
3939
an API. ``params`` is a mapping giving parameters for this object to test
4040
against.

0 commit comments

Comments
 (0)