Add peak-to-peak interval features to tsfresh
Project description
tsfresh_ppi
This package provides some peak-to-peak timing features to augment tsfresh
.
Currently, tsfresh
will find and count peaks using a couple of different methods.
However, it does not measure the variability in timing between those peaks.
Installation
Clone this repo. Install prereqs from requirements.txt
. Then install the cloned directory, e.g. with pip3 install -e [repo path]
.
Usage
from tsfresh import extract_features
from tsfresh_ppi import get_fc_parameters
my_signal = ... # some pandas DataFrame
# The default way to extract features with tsfresh looks something like this:
features = extract_features(
my_signal,
...
)
# This is how to get all of the default tsfresh features, plus default PPI features:
fc_params_with_ppi = get_fc_parameters()
features = extract_features(
my_signal,
default_fc_parameters = fc_params_with_ppi,
...
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tsfresh_ppi-2021.8.10.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for tsfresh_ppi-2021.8.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77efef84c2ddcc998fd341e9c26409da9845f105c8ae5b34d9e1357a92127fd9 |
|
MD5 | f3396d36aec21a800765e9615259da6c |
|
BLAKE2b-256 | bb50067dee3cf579d280ac1e346182857c802d5d98fe409378bdc6d43e4fcae9 |