pycatch22-0.4.5


توضیحات

22 CAnonical Time-series Features
ویژگی مقدار
سیستم عامل OS Independent
نام فایل pycatch22-0.4.5
نام pycatch22
نسخه کتابخانه 0.4.5
نگهدارنده ['Ben D Fulcher']
ایمیل نگهدارنده ['ben.fulcher@sydney.edu.au']
نویسنده Carl H Lubba
ایمیل نویسنده carl.lubba@gmx.de
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/pycatch22/
مجوز GNU General Public License v3 (GPLv3)
<p align="center"><img src="img/catch22_logo_square.png" alt="catch22 logo" height="220"/></p> <h1 align="center"><em>pycatch22</em>: CAnonical Time-series CHaracteristics in python</h1> <p align="center"> <a href="https://www.gnu.org/licenses/gpl-3.0"><img src="https://img.shields.io/badge/License-GPLv3-blue.svg" height="20"/></a> <a href="https://twitter.com/compTimeSeries"><img src="https://img.shields.io/twitter/url/https/twitter.com/compTimeSeries.svg?style=social&label=Follow%20%40compTimeSeries" height="20"/></a> </p> ## About [_catch22_](https://github.com/DynamicsAndNeuralSystems/catch22) is a collection of 22 time-series features coded in C that can be run from Python, as well as [R](https://github.com/hendersontrent/Rcatch22), [Matlab](https://github.com/DynamicsAndNeuralSystems/catch22), and [Julia](https://github.com/brendanjohnharris/Catch22.jl). This package provides a python implementation as the module _pycatch22_, licensed under the [GNU GPL v3 license](http://www.gnu.org/licenses/gpl-3.0.html) (or later). ### What do the features do? This [GitBooks website](https://time-series-features.gitbook.io/catch22/feature-descriptions) is dedicated to describing the features. For their implementation in code, see the [main _catch22_ repository](https://github.com/DynamicsAndNeuralSystems/catch22). There is also information in the associated paper [&#x1F4D7; Lubba et al. (2019).](https://doi.org/10.1007/s10618-019-00647-x). ### Acknowledgement :+1: If you use this software, please read and cite this open-access article: - &#x1F4D7; Lubba et al. [_catch22_: CAnonical Time-series CHaracteristics](https://doi.org/10.1007/s10618-019-00647-x), _Data Min Knowl Disc_ __33__, 1821 (2019). ## Installation Using `pip` for [`pycatch22`](https://pypi.org/project/pycatch22/): ``` pip install pycatch22 ``` If this doesn't work, make sure you are using the latest `setuptools`: `pip install setuptools --upgrade`. If you come across errors with version resolution, you should try something like: `pip install pycatch22==0.4.2 --use-deprecated=legacy-resolver`. It is also a [package on anaconda](https://anaconda.org/conda-forge/pycatch22) thanks to [@rpanai](https://github.com/rpanai), which you can install via `conda`: ``` conda install -c conda-forge pycatch22 ``` or `mamba`: ``` mamba install -c conda-forge pycatch22 ``` [A manual install (bottom of this page) is a last resort.] ## Usage Each feature function can be accessed individually and takes arrays as tuple or lists (not `numpy` arrays). For example, for loaded data `tsData` in Python: ```python3 import pycatch22 tsData = [1,2,4,3] # (or more interesting data!) pycatch22.CO_f1ecac(tsData) ``` All features are bundled in the method `catch22_all`, which also accepts `numpy` arrays and gives back a dictionary containing the entries `catch22_all['names']` for feature names and `catch22_all['values']` for feature outputs. Usage (computing 22 features: _catch22_): ```python3 pycatch22.catch22_all(tsData) ``` Usage (computing 24 features: _catch24_ = _catch22_ + mean + standard deviation): ```python3 pycatch22.catch22_all(tsData,catch24=True) ``` We also include a 'short name' for each feature for easier reference (as outlined in the GitBook [Feature overview table](https://time-series-features.gitbook.io/catch22/feature-descriptions/feature-overview-table)). These short names can be included in the output from `catch22_all()` by setting `short_names=True` as follows: ```python3 pycatch22.catch22_all(tsData,catch24=True,short_names=True) ``` ### Template analysis script Thanks to [@jmoo2880](https://github.com/jmoo2880) for putting together a [demonstration notebook](https://github.com/jmoo2880/c22-usage-examples/) for using pycatch22 to extract features from a time-series dataset. ### Usage notes - When presenting results using _catch22_, you must identify the version used to allow clear reproduction of your results. For example, `CO_f1ecac` was altered from an integer-valued output to a linearly interpolated real-valued output from v0.3. - __Important Note:__ _catch22_ features only evaluate _dynamical_ properties of time series and do not respond to basic differences in the location (e.g., mean) or spread (e.g., variance). - From _catch22_ v0.3, If the location and spread of the raw time-series distribution may be important for your application, we suggest applying the function argument `catch24 = True` to your call to the _catch22_ function in the language of your choice. This will result in 24 features being calculated: the _catch22_ features in addition to mean and standard deviation. ### Manual install If you find issues with the `pip` install, you can also install using `setuptools`: ``` python3 setup.py build python3 setup.py install ```


نحوه نصب


نصب پکیج whl pycatch22-0.4.5:

    pip install pycatch22-0.4.5.whl


نصب پکیج tar.gz pycatch22-0.4.5:

    pip install pycatch22-0.4.5.tar.gz