Skip to content

Commit 99bbed8

Browse files
committed
update documentation
1 parent 73cea51 commit 99bbed8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pyspi/calculator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class Calculator:
1717
"""Compute all pairwise interactions.
1818
19-
The calculator takes in a multivariate time-series dataset, computes and stores all pairwise interactions for the dataset.
19+
The calculator takes in a multivariate time-series dataset (MTS), computes and stores all pairwise interactions for the dataset.
2020
It uses a YAML configuration file that can be modified in order to compute a reduced set of pairwise methods.
2121
2222
Example:
@@ -37,9 +37,9 @@ class Calculator:
3737
configfile (str, optional):
3838
The location of the YAML configuration file for a user-defined subset. See :ref:`Using a reduced SPI set`, defaults to :code:`'</path/to/pyspi>/pyspi/config.yaml'`
3939
detrend (bool, optional):
40-
If True, detrend each time series in the MTS dataset individually along the time axis before normalising (if enabled), default=False.
40+
If True, detrend each time series in the MTS dataset individually along the time axis, default=False.
4141
normalise (bool, optional):
42-
If True, z-score normalise each time series in the MTS dataset individually along the time axis before computing SPIs, default=True.
42+
If True, z-score normalise each time series in the MTS dataset individually along the time axis, default=True.
4343
"""
4444
_optional_dependencies = None
4545

pyspi/data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ class Data:
3838
3939
Args:
4040
data (array_like, optional):
41-
2-dimensional array with raw data, defaults to None.
41+
2-dimensional array with raw data, default=None.
4242
dim_order (str, optional):
43-
Order of dimensions, accepts two combinations of the characters 'p', and 's' for processes and observations, defaults to 'ps'.
43+
Order of dimensions, accepts two combinations of the characters 'p', and 's' for processes and observations, default='ps'.
4444
detrend (bool, optional):
45-
If True, detrend each time series individually along the time axis before normalising (if enabled), default=False.
45+
If True, detrend each time series in the MTS dataset individually along the time axis, default=False.
4646
normalise (bool, optional):
47-
If True, z-score normalise each time series in the MTS dataset individually along the time axis before computing SPIs, default=True.
47+
If True, z-score normalise each time series in the MTS dataset individually along the time axis, default=True.
4848
name (str, optional):
4949
Name of the dataset
5050
procnames (list, optional):

0 commit comments

Comments
 (0)