Metadata-Version: 2.1
Name: tp-analyzer
Version: 0.0.1
Summary: A package to identify turning points in time series data
Home-page: https://github.com/jarrahl/tp-analyzer
Author: Nick James, Jarrah Lacko and Max Menzies
Author-email: jarrah@lacko.com.au
License: MIT License
Keywords: change point detection,turning points,time series
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: sortedcontainers
Requires-Dist: numpy
Requires-Dist: scipy
Provides-Extra: display
Requires-Dist: matplotlib ; extra == 'display'

# Turning Point Detection

This is a package for the paper https://arxiv.org/abs/2008.02068

## Usage

```
python -m tp_analyzer.us_covid_stats
```
Loads data from CSV included with the package, and produces plots for every
state in the folder 'state\_plots', turinng points in 'turning\_points.csv' and
a distance matrix between sequences of turning points in
'distance\_matrix.csv'.

```
$ python -m tp_analyzer.us_covid_stats --help
usage: us_covid_stats.py [-h] [--data DATA] [--states STATES]

Analyze turning points in US Covid time series data

optional arguments:
  -h, --help       show this help message and exit
  --data DATA      path to a CSV with 'state' and 'cases' fields
  --states STATES  comma-separated list of states to evaluate
```


