Skip to content

Commit 7b5254d

Browse files
authored
Merge pull request #158 from luzpaz/misc-typos
Misc. typos
2 parents 91bc5e0 + af8a60c commit 7b5254d

22 files changed

+44
-44
lines changed

doc/discussion/base_classes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ representation of financial time-series, which can be compared against each
2323
other, using the common reference and for which the concept of the work-week
2424
applies.
2525

26-
However, because most often the absolute calender time of the occurence of
26+
However, because most often the absolute calendar time of the occurrence of
2727
events in an experiment is of no importance, we can disregard it. Rather, the
2828
comparison of the time progression of data in different experiments conducted
2929
in different calendar times (different days, different times in the same day)
@@ -71,9 +71,9 @@ the essential differences between them.
7171
-------------------
7272

7373
This class has the least restrictions on it: it will be a 1d array, which
74-
contains time-points that are not neccesarily ordered. It can also contain
74+
contains time-points that are not necessarily ordered. It can also contain
7575
several copies of the same time-point. This class will be used in order to
76-
represent sparsely occuring events, measured at some unspecified sampling rate
76+
represent sparsely occurring events, measured at some unspecified sampling rate
7777
and possibly collected from several different channels, where the data is
7878
sampled in order of channel and not in order of time. As in the case of the
7979
:class:`np.ndarray`, slicing into this kind of representation should allow a

doc/discussion/interval_object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ time-series. For example, a typical case, is when two time-series are recorded
99
simultaneously. One is recorded from measurement of some continuous
1010
physilogical variable, such as fMRI BOLD (and is represented by a an object of
1111
type :ref:`UniformTimeSeries`). The other is a series of discrete events
12-
occuring concurrently (and can be represented by a :ref:`EventSeries` or by a
12+
occurring concurrently (and can be represented by a :ref:`EventSeries` or by a
1313
:ref:`NonUniformTimeSeries`). For example, button presses by the subject, or
1414
trials of different kinds. If we want to analyze the progression of the
1515
physiological time-series, locked to particular kinds of events in the

doc/discussion/time_series_access.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ for which $t_i$ is the maximal one, which still fulfills: $t_i<t$.
5252

5353
Questions
5454
~~~~~~~~~
55-
The follwing questions apply to all three cases:
55+
The following questions apply to all three cases:
5656

5757
* what happens when the t is smaller than the smallest entry in the array
5858
return None?

doc/examples/event_related_fmri.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
==================
88
99
Extracting the average time-series from one signal, time-locked to the
10-
occurence of some type of event in another signal is a very typical operation
10+
occurrence of some type of event in another signal is a very typical operation
1111
in the analysis of time-series from neuroscience experiments. Therefore, we
1212
have an additional example of this kind of analysis in :ref:`grasshopper`
1313
@@ -72,8 +72,8 @@
7272
:ref:`grasshopper` example), but here, instead of providing an :class:`Events`
7373
object as input, another :class:`TimeSeries` object is provided, containing an
7474
equivalent time-series with the same dimensions as the time-series on which the
75-
analysis is done, with '0' wherever no event of interest occured and an integer
76-
wherever an even of interest occured (sequential different integers for the
75+
analysis is done, with '0' wherever no event of interest occurred and an integer
76+
wherever an even of interest occurred (sequential different integers for the
7777
different kinds of events).
7878
7979
"""

doc/examples/grasshopper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
=====================================
99
1010
Extracting the average time-series from one signal, time-locked to the
11-
occurence of some type of event in another signal is a very typical operation in
11+
occurrence of some type of event in another signal is a very typical operation in
1212
the analysis of time-series from neuroscience experiments. Therefore, we have
1313
an additional example of this kind of analysis in :ref:`et-fmri`
1414

doc/examples/multi_taper_spectral_estimation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def dB(x, out=None):
216216
.. image:: fig/multi_taper_spectral_estimation_03.png
217217
218218
Next, we use Welch's periodogram, by applying :func:`tsa.get_spectra`. Note
219-
that we explicitely provide the function with a 'method' dict, which specifies
219+
that we explicitly provide the function with a 'method' dict, which specifies
220220
the method used in order to calculate the PSD, but the default method is 'welch'.
221221
222222
"""

doc/users/overview.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ representation of financial time-series, which can be compared against each
101101
other, using the common reference and for which the concept of the work-week
102102
applies.
103103

104-
However, because most often the absolute calender time of the occurence of
104+
However, because most often the absolute calendar time of the occurrence of
105105
events in an experiment is of no importance, we can disregard it. Rather, the
106106
comparison of the time progression of data in different experiments conducted
107107
in different calendar times (different days, different times in the same day)
@@ -142,7 +142,7 @@ For the time being, there are two types of Time classes: :ref:`TimeArray` and :r
142142
:class:`TimeArray`
143143
-------------------
144144

145-
This class has less restrictions on it: it is made of an 1-d array, which contains time-points that are not neccesarily ordered. It can also contain several copies of the same time-point. This class can be used in order to represent sparsely occuring events, measured at some unspecified sampling rate and possibly collected from several different channels, where the data is sampled in order of channel and not in order of time. As in the case of the :class:`np.ndarray`. This representation of time carries, in addition to the array itself an attribute :attr:`time_unit`, which is the unit in which we would like to present the time-points (recall that the underlying representation is always in the base-unit).
145+
This class has less restrictions on it: it is made of an 1-d array, which contains time-points that are not necessarily ordered. It can also contain several copies of the same time-point. This class can be used in order to represent sparsely occurring events, measured at some unspecified sampling rate and possibly collected from several different channels, where the data is sampled in order of channel and not in order of time. As in the case of the :class:`np.ndarray`. This representation of time carries, in addition to the array itself an attribute :attr:`time_unit`, which is the unit in which we would like to present the time-points (recall that the underlying representation is always in the base-unit).
146146

147147
.. _UniformTime:
148148

@@ -229,10 +229,10 @@ contains several attributes:
229229
---------------
230230

231231
This is an object which represents a collection of events. For example, this
232-
can represent discrete button presses occuring during an experiment. This
232+
can represent discrete button presses occurring during an experiment. This
233233
object contains a :ref:`TimeArray` as its representation of time. This means
234234
that the events recorded in the :attr:`data` array can be organized
235-
according to any organizing principle you would want, not neccesarily according
235+
according to any organizing principle you would want, not necessarily according
236236
to their organization or order in time. For example, if events are read from
237237
different devices, the order of the events in the data array can be arbitrarily
238238
chosen to be the order of the devices from which data is read.

nitime/_mpl_units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def default_units(x, axis):
143143
def convert(obj, unit, axis):
144144
"""
145145
convert obj using unit for the specified axis. If obj is a sequence,
146-
return the converted sequence. The ouput must be a sequence of scalars
146+
return the converted sequence. The output must be a sequence of scalars
147147
that can be used by the numpy array layer
148148
"""
149149
return obj

nitime/algorithms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
:func:`entropy_cc`, :func:`transfer_entropy`
5151
5252
The algorithms in this library are the functional form of the algorithms, which
53-
accept as inputs numpy array and produce numpy array outputs. Therfore, they
53+
accept as inputs numpy array and produce numpy array outputs. Therefore, they
5454
can be used on any type of data which can be represented in numpy arrays. See
5555
also :mod:`nitime.analysis` for simplified analysis interfaces, using the
5656
data containers implemented in :mod:`nitime.timeseries`

nitime/algorithms/autoregressive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def AR_est_LD(x, order, rxx=None):
148148
else:
149149
rxx_m = utils.autocorr(x)[:order + 1]
150150
w = np.zeros((order + 1, ), rxx_m.dtype)
151-
# intialize the recursion with the R[0]w[1]=r[1] solution (p=1)
151+
# initialize the recursion with the R[0]w[1]=r[1] solution (p=1)
152152
b = rxx_m[0].real
153153
w_k = rxx_m[1] / b
154154
w[1] = w_k

0 commit comments

Comments
 (0)