Skip to content

Commit c6b17b6

Browse files
committed
Fixed spelling errors
1 parent 6220493 commit c6b17b6

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* (capfromtcs) Revert change to max_iter when specifying initialcenters.
4040

4141
## Version 1.3.3 (1/10/23)
42-
* (capfromtcs) Changed intialization of kmeans from initialcenters, save more intermediate results.
42+
* (capfromtcs) Changed initialization of kmeans from initialcenters, save more intermediate results.
4343
* (utils.py) Factored out some transition array calculations.
4444

4545
## Version 1.3.2 (11/15/22)
@@ -58,7 +58,7 @@
5858
* (capfromtcs, clustercomp) Used newer, non-deprecated method to access nifti files with nibabel.
5959
* (package) Added docker and singularity test scripts.
6060
* (package) Reformatted several files with black.
61-
* (package) Made many (unsuccesful) attempts to get the documentation to build.
61+
* (package) Made many (unsuccessful) attempts to get the documentation to build.
6262

6363
## Version 1.2.2.5 (8/30/22)
6464
* (package) Bump to trigger github deployment.

INSTALL.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The other simple way to get this all done is to use Anaconda python
3636
from Continuum Analytics. It’s a free, curated scientific Python
3737
distribution that is easy to maintain and takes a lot of headaches out
3838
of maintaining a distribution. It also already comes with almost all of the
39-
dependancies for capcalc installed by default. You can get it here:
39+
dependencies for capcalc installed by default. You can get it here:
4040
https://www.continuum.io. You should download the most recent Python 3 version.
4141

4242
After installing Anaconda python, install the remaining dependency

capcalc/filter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ def harmonicnotchfilter(timecourse, Fs, Ffundamental, notchpct=1.0, debug=False)
11911191
notchpct: float, optional
11921192
Width of the notch relative to the filter frequency in percent. Default is 1.0.
11931193
debug: bool, optional
1194-
Set to True for additiona information on function internals. Default is False.
1194+
Set to True for additional information on function internals. Default is False.
11951195
11961196
Returns
11971197
-------
@@ -1251,7 +1251,7 @@ def csdfilter(obsdata, commondata, padlen=20, cyclic=False, debug=False):
12511251
If True, pad by wrapping the data in a cyclic manner rather than reflecting at the ends
12521252
12531253
debug: bool, optional
1254-
Set to True for additiona information on function internals. Default is False.
1254+
Set to True for additional information on function internals. Default is False.
12551255
12561256
Returns
12571257
-------

capcalc/parser_funcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def setargs(thegetparserfunc, inputargs=None):
768768
args = thegetparserfunc().parse_args()
769769
argstowrite = sys.argv
770770
except SystemExit:
771-
print("Use --help option for detailed informtion on options.")
771+
print("Use --help option for detailed information on options.")
772772
# thegetparserfunc().print_help()
773773
raise
774774
else:
@@ -779,7 +779,7 @@ def setargs(thegetparserfunc, inputargs=None):
779779
args = thegetparserfunc().parse_args(inputargs)
780780
argstowrite = inputargs
781781
except SystemExit:
782-
print("Use --help option for detailed informtion on options.")
782+
print("Use --help option for detailed information on options.")
783783
# thegetparserfunc().print_help()
784784
raise
785785

capcalc/scripts/clusternifti.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ def _get_parser():
264264
action="store",
265265
type=str,
266266
choices=["euclidean"],
267-
help=("Select affinity type. Default is euclidian. "),
268-
default="euclidian",
267+
help=("Select affinity type. Default is euclidean. "),
268+
default="euclidean",
269269
)
270270
parser.add_argument(
271271
"--n_clusters",
@@ -289,7 +289,7 @@ def _get_parser():
289289
"--display",
290290
dest="display",
291291
action="store_true",
292-
help=("Display intitial tSNE map."),
292+
help=("Display initial tSNE map."),
293293
default=False,
294294
)
295295
parser.add_argument(

capcalc/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def makemask(image, threshpct=25.0, verbose=False, nozero=False, noneg=False):
788788
pctthresh,
789789
" threshpct:",
790790
threshpct,
791-
" mask threshhold:",
791+
" mask threshold:",
792792
threshval,
793793
)
794794
themask = np.where(image > threshval, np.int16(1), np.int16(0))

docs/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Usage:
113113
[--pca] [--ica] [-p NUMCOMPONENTS]
114114

115115
required arguments:
116-
-i, --infile=TIMECOURSEFILE - text file mulitple timeseries
116+
-i, --infile=TIMECOURSEFILE - text file multiple timeseries
117117
-o, --outfile=OUTNAME - the root name of the output files
118118

119119
--samplefreq=FREQ - sample frequency of all timecourses is FREQ
@@ -158,7 +158,7 @@ Usage:
158158
--pca - perform PCA dimensionality reduction prior to analysis
159159
--ica - perform ICA dimensionality reduction prior to analysis
160160
-p NUMCOMPONENTS - set the number of p/ica components to NUMCOMPONENTS (default is 8). Set to -1 to estimate
161-
--noscale - do not apply standard scaler befor cluster fitting
161+
--noscale - do not apply standard scaler before cluster fitting
162162

163163
Other:
164164
--GBR - apply gradient boosting regressor testing on clusters

0 commit comments

Comments
 (0)