You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_pyspi_ is a comprehensive python library for computing statistics of pairwise interactions (SPIs) from multivariate time-series (MTS) data.
@@ -74,21 +74,6 @@ Once you have installed _pyspi_, you can learn how to apply the package by check
74
74
75
75
### Advanced Usage
76
76
For advanced users, we offer several additional guides in the [full documentation](https://time-series-features.gitbook.io/pyspi/usage/advanced-usage) on how you can distribute your _pyspi_ jobs across PBS clusters, as well as how you can construct your own subsets of SPIs.
77
-
Click one of the following dropdowns for more information:
<p>If you have access to a PBS cluster and are processing MTS with many processes (or are analyzing many MTS), then you may find the <ahref="https://github.com/DynamicsAndNeuralSystems/pyspi-distribute"><em>pyspi distribute</em></a> repository helpful.
82
-
In the full <ahref="https://time-series-features.gitbook.io/pyspi/usage/advanced-usage/distributing-calculations-on-a-cluster">documentation </a>, we provide a comprehensive guide on how you can distribute <em>pyspi</em> calculations on a PBS cluster, along with the necessary scripts and commands to get started!</p>
83
-
</details>
84
-
85
-
<detailsclosed>
86
-
<summary>Reduced subsets</summary>
87
-
<p>If your dataset is large (containing many processes and/or observations), you can use a pre-configured set of reduced statistics or create your own subsets.
88
-
Follow the guide in the <ahref="https://time-series-features.gitbook.io/pyspi/usage/advanced-usage/using-a-reduced-spi-set">documentation </a> to learn how you can create your own reduced subsets.</p>
89
-
</details>
90
-
91
-
92
77
93
78
## SPI Descriptions 📋
94
79
To access a table with a high-level overview of the _pyspi_ library of SPIs, including their associated identifiers, see the [table of SPIs](https://time-series-features.gitbook.io/pyspi/spis/table-of-spis) in the full documentation.
@@ -167,4 +152,3 @@ Below are some of the leading contributors to _pyspi_:
167
152
168
153
## License 🧾
169
154
_pyspi_ is released under the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0).
Copy file name to clipboardExpand all lines: pyspi/calculator.py
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
# From this package
10
10
from .dataimportData
11
-
from .utilsimportconvert_mdf_to_ddf, check_optional_deps
11
+
from .utilsimportconvert_mdf_to_ddf, check_optional_deps, inspect_calc_results
12
12
13
13
14
14
classCalculator:
@@ -34,14 +34,18 @@ class Calculator:
34
34
A pre-configured subset of SPIs to use. Options are "all", "fast", "sonnet", or "fabfour", defaults to "all".
35
35
configfile (str, optional):
36
36
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'`
37
+
normalise (bool, optional):
38
+
Normalise the dataset along the time axis before computing SPIs, defaults to True.
0 commit comments