Skip to content

Commit adf30c7

Browse files
committed
[DATALAD RUNCMD] run codespell throughout but ignore fail
=== Do not change lines below === { "chain": [], "cmd": "codespell -w || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent b0a26a6 commit adf30c7

File tree

13 files changed

+28
-28
lines changed

13 files changed

+28
-28
lines changed

doc/discussion/interval_object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ consistent, in the same manner that is already implemented in
4949
represent a time offset, relative to the attributes :attr:`t_start` and
5050
:attr:`t_stop`. That is, it can tell us where relative to these two
5151
time-points some interesting even, which this interval surrounds, or this
52-
interval is close to, occurs. This can be used in order to interpert how
52+
interval is close to, occurs. This can be used in order to interpret how
5353
time-series access is done using the :class:`TimeInterval` object. See
5454
:ref:`time_series_access`. This attribute can be implemented as an optional
5555
input on initialization, such that it defaults to be equal to

doc/discussion/multitaper_jackknife.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ General JN definitions
1616
| **pseudovalues**
1717
| :math:`\hat{\theta}_i = n\hat{\theta} - (n-1)\hat{\theta}_{-i}`
1818
19-
Now the jackknifed esimator is computed as
19+
Now the jackknifed estimator is computed as
2020

2121
:math:`\tilde{\theta} = \dfrac{1}{n}\sum_i \hat{\theta}_i = n\hat{\theta} - \dfrac{n-1}{n}\sum_i \hat{\theta}_{-i}`
2222

doc/examples/filtering_fmri.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
We can do that by initializng a SpectralAnalyzer for each one of the filtered
243243
time-series resulting from the above operation and plotting their spectra. For
244244
ease of compariso, we only plot the spectra using the multi-taper spectral
245-
estimation. At the level of granularity provided by this method, the diferences
245+
estimation. At the level of granularity provided by this method, the differences
246246
between the methods are emphasized:
247247
248248
"""

doc/examples/multi_taper_spectral_estimation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
.. image:: fig/multi_taper_spectral_estimation_02.png
118118
119119
As before, the left figure displays the windowing function in the temporal
120-
domain and the figure on the left displays the attentuation of spectral leakage
120+
domain and the figure on the left displays the attenuation of spectral leakage
121121
in the other frequency bands in the spectrum. Notice that though different
122122
windowing functions have different spectral attenuation profiles, trading off
123123
attenuation of leakage from frequency bands near the frequency of interest
@@ -302,7 +302,7 @@ def dB(x, out=None):
302302
303303
.. image:: fig/multi_taper_spectral_estimation_06.png
304304
305-
As metioned above, in addition to estimating the spectrum itself, an estimate
305+
As mentioned above, in addition to estimating the spectrum itself, an estimate
306306
of the confidence interval of the spectrum can be generated using a
307307
jack-knifing procedure [Thomson2007]_.
308308

doc/users/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object does not trigger any intensive computations. Instead the computation of
6767
the attributes of analyzer objects is delayed until the moment the user calls
6868
these attributes. In addition, once a computation is triggered it is stored as
6969
an attribute of the object, which assures that accessing the results of an
70-
analysis will trigger the computation only on the first time the analysis resut
70+
analysis will trigger the computation only on the first time the analysis result
7171
is required. Thereafter, the result of the analysis is stored for further use
7272
of this result.
7373

nitime/algorithms/autoregressive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def AR_psd(ak, sigma_v, n_freqs=1024, sides='onesided'):
289289
Returns
290290
-------
291291
(w, ar_psd)
292-
w : Array of normalized frequences from [-.5, .5) or [0,.5]
292+
w : Array of normalized frequencies from [-.5, .5) or [0,.5]
293293
ar_psd : A PSD estimate computed by sigma_v / |1-a(f)|**2 , where
294294
a(f) = DTFT(ak)
295295

nitime/algorithms/event_related.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def freq_domain_xcorr(tseries, events, t_before, t_after, Fs=1):
8484
-------
8585
xcorr: float array
8686
The correlation function between the tseries and the events. Can be
87-
interperted as a linear filter from events to responses (the
87+
interpreted as a linear filter from events to responses (the
8888
time-series) of an LTI.
8989
9090
"""
@@ -125,9 +125,9 @@ def freq_domain_xcorr_zscored(tseries, events, t_before, t_after, Fs=1):
125125
-------
126126
xcorr: float array
127127
The correlation function between the tseries and the events. Can be
128-
interperted as a linear filter from events to responses (the
128+
interpreted as a linear filter from events to responses (the
129129
time-series) of an LTI. Because it is normalized to its own mean and
130-
variance, it can be interperted as measuring statistical significance
130+
variance, it can be interpreted as measuring statistical significance
131131
relative to all time-shifted versions of the events.
132132
133133
"""

nitime/algorithms/tests/test_spectral.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_get_spectra_complex():
9494

9595
def test_get_spectra_unknown_method():
9696
"""
97-
Test that providing an unknown method to get_spectra rasies a ValueError
97+
Test that providing an unknown method to get_spectra raises a ValueError
9898
9999
"""
100100
tseries = np.array([[1, 2, 3], [4, 5, 6]])
@@ -179,7 +179,7 @@ def test_dpss_properties():
179179
N = 2000
180180
NW = 200
181181
d, lam = tsa.dpss_windows(N, NW, 2*NW-2)
182-
# 2NW-2 lamdas should be all > 0.9
182+
# 2NW-2 lambdas should be all > 0.9
183183
npt.assert_(
184184
(lam > 0.9).all(), 'Eigenvectors show poor spectral concentration'
185185
)

nitime/analysis/coherence.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, input=None, method=None, unwrap_phases=False):
2828
2929
method : dict, optional,
3030
This is the method used for spectral analysis of the signal for the
31-
coherence caclulation. See :func:`algorithms.get_spectra`
31+
coherence calculation. See :func:`algorithms.get_spectra`
3232
documentation for details.
3333
3434
unwrap_phases : bool, optional
@@ -167,7 +167,7 @@ def phase(self):
167167
""" The frequency-dependent phase relationship between all the pairwise
168168
combinations of time-series in the data"""
169169

170-
#XXX calcluate this from the standard output, instead of recalculating:
170+
#XXX calculate this from the standard output, instead of recalculating:
171171

172172
tseries_length = self.input.data.shape[0]
173173
spectrum_length = self.spectrum.shape[-1]
@@ -693,7 +693,7 @@ def coherency(self):
693693
cache['FFT_conj_slices'][-1] = \
694694
seed_cache['FFT_conj_slices'][0]
695695

696-
#This performs the caclulation for this seed:
696+
#This performs the calculation for this seed:
697697
Cxy[seed_idx] = tsa.cache_to_coherency(cache, ij)
698698

699699
#In the case where there is only one channel in the seed time-series:

nitime/analysis/event_related.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def xcorr_eta(self):
228228
def et_data(self):
229229
"""The event-triggered data (all occurrences).
230230
231-
This gets the time-series corresponding to the inidividual event
231+
This gets the time-series corresponding to the individual event
232232
occurrences. Returns a list of lists of time-series. The first dimension
233233
is the different channels in the original time-series data and the
234234
second dimension is each type of event in the event time series

0 commit comments

Comments
 (0)