pyspi.data.Data
class pyspi.data.Data(data=None, dim_order='ps', normalise=True, name=None, procnames=None, n_processes=None, n_observations=None)
Store data for dependency analysis.
Data takes a 2-dimensional array representing measurements in two dimensions: processes (p) and observations (s). The order of the dimensions in the provided array are specified using a two-character string, either 'ps' for an array with realisations over (dim 1) processes, and (dim 2) observations in time, or 'sp', denoting an array over (dim 1) observations in time, and (dim 2) processes.
Example
Parameters: | Description |
---|---|
|
__init__
(data=None, dim_order='ps', normalise=True, name=None, procnames=None, n_processes=None, n_observations=None)
Methods
Method | Description |
---|---|
| - |
| Appends a univariate process to an existing dataset. |
| Converts other data instances to default numpy format. |
| Remove a univariate process from an existing dataset. |
| Overwrite data in an existing Calculator instance with new data. |
| Return the dataset as a numpy array. |
Attributes
Attribute | Description |
---|---|
| Name of the data object. |
| List of process names. |
Last updated