Skip to content

Commit 264fe62

Browse files
committed
improved documentation
1 parent 9ad10b4 commit 264fe62

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pyspi"
7-
version = "2.0.0"
7+
version = "2.0.1"
88
authors = [
99
{ name ="Oliver M. Cliff", email="[email protected]"},
1010
]

pyspi/calculator.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ class Calculator:
2727
2828
Args:
2929
dataset (:class:`~pyspi.data.Data`, array_like, optional):
30-
The multivariate time series of M processes and T observations, defaults to None.
30+
The multivariate time series of M processes and T observations, default=None.
3131
name (str, optional):
32-
The name of the calculator. Mainly used for printing the results but can be useful if you have multiple instances, defaults to None.
32+
The name of the calculator. Mainly used for printing the results but can be useful if you have multiple instances, default=None.
3333
labels (array_like, optional):
34-
Any set of strings by which you want to label the calculator. This can be useful later for classification purposes, defaults to None.
34+
Any set of strings by which you want to label the calculator. This can be useful later for classification purposes, default=None.
3535
subset (str, optional):
36-
A pre-configured subset of SPIs to use. Options are "all", "fast", "sonnet", or "fabfour", defaults to "all".
36+
A pre-configured subset of SPIs to use. Options are "all", "fast", "sonnet", or "fabfour", default="all".
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 individually along the time axis before normalising (if enabled), defaults to False.
40+
If True, detrend each time series in the MTS dataset individually along the time axis before normalising (if enabled), 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, defaults to True.
42+
If True, z-score normalise each time series in the MTS dataset individually along the time axis before computing SPIs, default=True.
4343
"""
4444
_optional_dependencies = None
4545

pyspi/data.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ class Data:
4242
dim_order (str, optional):
4343
Order of dimensions, accepts two combinations of the characters 'p', and 's' for processes and observations, defaults to 'ps'.
4444
detrend (bool, optional):
45-
If True, detrend each time series individually along the time axis before normalising (if enabled), defaults to False.
45+
If True, detrend each time series individually along the time axis before normalising (if enabled), 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, defaults to True.
47+
If True, z-score normalise each time series in the MTS dataset individually along the time axis before computing SPIs, default=True.
4848
name (str, optional):
4949
Name of the dataset
5050
procnames (list, optional):
51-
List of process names with length the number of processes, defaults to None.
51+
List of process names with length the number of processes, default=None.
5252
n_processes (int, optional):
53-
Truncates data to this many processes, defaults to None.
53+
Truncates data to this many processes, default=None.
5454
n_observations (int, optional):
55-
Truncates data to this many observations, defaults to None.
55+
Truncates data to this many observations, default=None.
5656
5757
"""
5858

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
'data/standard_normal.npy',
6565
'data/cml7.npy']},
6666
include_package_data=True,
67-
version='2.0.0',
67+
version='2.0.1',
6868
description='Library for pairwise analysis of time series data.',
6969
author='Oliver M. Cliff',
7070
author_email='[email protected]',

0 commit comments

Comments
 (0)