Python API
This is the class and function reference of pycatch22. Please refer to the user guide for further details as the class and function specifications may not be sufficient to give full context.
catch22_all
Extract the catch22 feature set from an input time series.
Syntax
Parameters
data
Input time-series data.
catch24
If True, include the two catch24 features (mean and standard deviation) in the output. Default is False.
short_names
If True, also include the short names of the features in the output. Default is False.
Return Value
The function returns a dictionary with the following keys:
'names'
List of feature names.
'values'
List of corresponding feature values.
'short_names'
List of short feature names (if short_names=True
).
Example Usage
Individual Feature Methods
The catch22
module provides direct access to the individual feature extraction methods implemented in C. These methods can be called directly using pycatch22.{name}
, where {name}
is the name of the feature method (as given by the long name in the table of features).
Syntax
Parameters
data
Input time-series data.
Return Values
feature
Individual feature value. Either integer or float depending on the feature method.
Example Usage
Last updated