Skip to content

Commit a838238

Browse files
Merge pull request #1040 from DimitriPapadopoulos/codespell
DOC: Typos found by codespell Running [codespell](https://github.com/codespell-project/codespell) manually for now, but could be automated as suggested in systemd/systemd#15436 if there is interest.
2 parents ea68c4e + b625d2e commit a838238

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+74
-74
lines changed

Changelog

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Bug fixes
342342
reviewed by PM)
343343
* Safer warning registry manipulation when checking for overflows (pr/753)
344344
(CM, reviewed by MB)
345-
* Correctly write .annot files with duplicate lables (pr/763) (Richard Nemec
345+
* Correctly write .annot files with duplicate labels (pr/763) (Richard Nemec
346346
with CM)
347347

348348
Maintenance
@@ -997,7 +997,7 @@ visiting the URL::
997997
* Bugfix: Removed left-over print statement in extension code.
998998
* Bugfix: Prevent saving of bogus 'None.nii' images when the filename
999999
was previously assign, before calling NiftiImage.save() (Closes: #517920).
1000-
* Bugfix: Extension length was to short for all `edata` whos length matches
1000+
* Bugfix: Extension length was to short for all `edata` whose length matches
10011001
n*16-8, for all integer n.
10021002

10031003
0.20090205.1 (Thu, 5 Feb 2009)
@@ -1017,7 +1017,7 @@ visiting the URL::
10171017
automatically dumped into this extension.
10181018
Embedded meta data is not loaded automatically, since this has security
10191019
implications, because code from the file header is actually executed.
1020-
The documentation explicitely mentions this risk.
1020+
The documentation explicitly mentions this risk.
10211021
* Added :class:`~nifti.extensions.NiftiExtensions`. This is a container-like
10221022
handler to access and manipulate NIfTI1 header extensions.
10231023
* Exposed :class:`~nifti.image.MemMappedNiftiImage` in the root module.
@@ -1223,7 +1223,7 @@ visiting the URL::
12231223
* Does not depend on libfslio anymore.
12241224
* Up to seven-dimensional dataset are supported (as much as NIfTI can do).
12251225
* The complete NIfTI header dataset is modifiable.
1226-
* Most image properties are accessable via class attributes and accessor
1226+
* Most image properties are accessible via class attributes and accessor
12271227
methods.
12281228
* Improved documentation (but still a long way to go).
12291229

doc/misc/pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ output-format=colorized
7979
# Include message's id in output
8080
include-ids=yes
8181

82-
# Tells wether to display a full report or only the messages
82+
# Tells whether to display a full report or only the messages
8383
reports=yes
8484

8585
[MISCELLANEOUS]

doc/source/coordinate_systems.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ then the image affine matrix $A$ is:
530530
531531
Why the extra row of $[0, 0, 0, 1]$? We need this row because we have
532532
rephrased the combination of rotations / zooms and translations as a
533-
transformation in *homogenous coordinates* (see `wikipedia homogenous
533+
transformation in *homogeneous coordinates* (see `wikipedia homogeneous
534534
coordinates`_). This is a trick that allows us to put the translation part
535535
into the same matrix as the rotations / zooms, so that both translations and
536536
rotations / zooms can be applied by matrix multiplication. In order to make

doc/source/devel/data_pkg_discuss.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Discovery
369369
370370
Revsion ids could for example be hashes of the package instantiation
371371
(package contents), so they could be globally unique to the contents,
372-
whereever the contents was when the identifier was made. However, *tags*
372+
wherever the contents was when the identifier was made. However, *tags*
373373
are just names that someone has attached to a particular revsion id. If
374374
there is more than one person providing versions of a particular package,
375375
there may not be agreement on the revsion that a particular tag is attached

doc/source/devel/devguide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ necessary and the branch gets tagged when a package version is released.
6464
Maintenance (as well as backport) releases or branches off from the respective
6565
packaging tag.
6666

67-
There might be additonal branches for each developer, prefixed with intials.
67+
There might be additional branches for each developer, prefixed with initials.
6868
Alternatively, several GitHub (or elsewhere) clones might be used.
6969

7070

@@ -99,7 +99,7 @@ Changelog
9999
=========
100100

101101
The changelog is located in the toplevel directory of the source tree in the
102-
`Changelog` file. The content of this file should be formated as restructured
102+
`Changelog` file. The content of this file should be formatted as restructured
103103
text to make it easy to put it into manual appendix and on the website.
104104

105105
This changelog should neither replicate the VCS commit log nor the

doc/source/dicom/dicom_intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ For example, there is a DIMSE service called "C-ECHO" that requests confirmation
686686
from the responding application that the echo message arrived.
687687

688688
The definition of the DIMSE services specifies, for a particular DIMSE service,
689-
whether the DIMSE commend set should be followed by a data set.
689+
whether the DIMSE command set should be followed by a data set.
690690

691691
In particular, the data set will be a full Information Object Definition's worth
692692
of data.

doc/source/dicom/dicom_mosaic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Data scaling
124124
SPM gets the DICOM scaling, offset for the image ('RescaleSlope',
125125
'RescaleIntercept'). It writes these scalings into the nifti_ header.
126126
Then it writes the raw image data (unscaled) to disk. Obviously these
127-
will have the corrent scalings applied when the nifti image is read again.
127+
will have the current scalings applied when the nifti image is read again.
128128

129129
A comment in the code here says that the data are not scaled by the
130130
maximum amount. I assume by this they mean that the DICOM scaling may

doc/source/dicom/dicom_orientation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ constant, to the voxel coordinate for the slice (the value for the slice
350350
index).
351351

352352
Our DICOM might have the 'SliceLocation' field (0020,1041).
353-
'SliceLocation' seems to be proportianal to slice location, at least for
353+
'SliceLocation' seems to be proportional to slice location, at least for
354354
some GE and Philips DICOMs I was looking at. But, there is a more
355355
reliable way (that doesn't depend on this field), and uses only the very
356356
standard 'ImageOrientationPatient' and 'ImagePositionPatient' fields.
@@ -385,7 +385,7 @@ unit change in the slice voxel coordinate. So, the
385385
addition of two vectors $T^j = \mathbf{a} + \mathbf{b}$, where
386386
$\mathbf{a}$ is the position of the first voxel in some slice (here
387387
slice 1, therefore $\mathbf{a} = T^1$) and $\mathbf{b}$ is $d$ times the
388-
third colum of $A$. Obviously $d$ can be negative or positive. This
388+
third column of $A$. Obviously $d$ can be negative or positive. This
389389
leads to various ways of recovering something that is proportional to
390390
$d$ plus a constant. The algorithm suggested in this `ITK post on
391391
ordering slices`_ - and the one used by SPM - is to take the inner

doc/source/dicom/siemens_csa.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Each item
124124

125125
Now there's a different length check from CSA1. ``item_len`` is given
126126
just by ``xx[1]``. If ``item_len`` > ``csa_max_pos - csa_position``
127-
(the remaining bytes in the header), then we just read the remaning
127+
(the remaining bytes in the header), then we just read the remaining
128128
bytes in the header (as above) into ``value`` below, as uint8, move the
129129
filepointer to the next 4 byte boundary, and give up reading.
130130

doc/source/gettingstarted.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Getting Started
1414
***************
1515

1616
NiBabel supports an ever growing collection of neuroimaging file formats. Every
17-
file format format has its own features and pecularities that need to be taken
17+
file format format has its own features and peculiarities that need to be taken
1818
care of to get the most out of it. To this end, NiBabel offers both high-level
1919
format-independent access to neuroimages, as well as an API with various levels
2020
of format-specific access to all available information in a particular file
@@ -109,7 +109,7 @@ True
109109

110110
In this case, we used the identity matrix as the affine transformation. The
111111
image header is initialized from the provided data array (i.e. shape, dtype)
112-
and all other values are set to resonable defaults.
112+
and all other values are set to reasonable defaults.
113113

114114
Saving this new image to a file is trivial:
115115

0 commit comments

Comments
 (0)