Metadata-Version: 2.1
Name: pte-stats
Version: 0.1.0
Summary: An open-source software package for statistics with time series.
Keywords: statistics,timeseries,eeg,ieeg
Author: Richard Koehler
Maintainer: Richard Koehler
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: joblib
Requires-Dist: numba
Requires-Dist: numpy
Requires-Dist: pip
Requires-Dist: scikit-image
Requires-Dist: statsmodels
Requires-Dist: black ; extra == "style"
Requires-Dist: isort ; extra == "style"
Requires-Dist: pylint ; extra == "test"
Requires-Dist: pytest ; extra == "test"
Project-URL: bugtracker, https://github.com/richardkoehler/pte-stats/issues
Project-URL: changelog, https://github.com/richardkoehler/pte-stats/blob/main/doc/CHANGELOG.md
Project-URL: repository, https://github.com/richardkoehler/pte-stats
Provides-Extra: style
Provides-Extra: test

[![Homepage][homepage-shield]][homepage-url]
[![License][license-shield]][license-url]
[![Contributors][contributors-shield]][contributors-url]
[![Code Style][codestyle-shield]][codestyle-url]


# PTE Stats - Python tools for electrophysiology

PTE Stats is an open-source software package for statistics with time series.

It builds upon [PTE](https://github.com/richardkoehler/pte) and provides statistical tools for time-series.
PTE Stats is particularly useful with intracranial EEG (iEEG) data such as local field potentials (LFP) and electrocorticography (ECoG).

## Installing pte-stats

First, get the current development version of pte-stats using [git](https://git-scm.com/). Type the following command into a terminal:

```bash
git clone https://github.com/richardkoehler/pte-stats
```

Use the package manager [conda](https://docs.conda.io/projects/conda/en/latest/index.html) to set up a new working environment. To do so navigate to the pte-stats root directory in your terminal and type:

```bash
conda env create -f env.yml
```

This will set up a new conda environment called ``pte-stats``.

To activate the environment then type:

```bash
conda activate pte-stats
```

Finally, to install pte-stats in an editable development version inside your conda enviroment type the following inside the pte-stats root directory:

```bash
conda develop .
```

## Usage

```python
import pte_stats

# Examples
```

## Contributing
Please feel free to contribute yourselves or to open an **issue** when you encounter a bug or would like to add a new feature.

For any minor additions or bugfixes, you may simply create a **pull request**. 

For any major changes, make sure to open an **issue** first. When you then create a pull request, be sure to **link the pull request** to the open issue in order to close the issue automatically after merging.

To contribute yourselves, consider installing the full conda development environment to include such tools as black, pylint and isort:

```bash
conda env create -f env_dev.yml
conda activate pte-stats-dev
```

Continuous Integration (CI) including automated testing are set up.

## License
PTE Stats is licensed under the [MIT license](license-url).

<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[homepage-shield]: https://img.shields.io/static/v1?label=Homepage&message=ICN&logoColor=black&labelColor=grey&logoWidth=20&color=9cf&style=for-the-badge
[homepage-url]: https://www.icneuromodulation.org/
[contributors-shield]: https://img.shields.io/github/contributors/richardkoehler/pte-stats.svg?style=for-the-badge
[contributors-url]: https://github.com/richardkoehler/pte-stats/graphs/contributors
[license-shield]: https://img.shields.io/static/v1?label=License&message=MIT&logoColor=black&labelColor=grey&logoWidth=20&color=yellow&style=for-the-badge
[license-url]: https://github.com/richardkoehler/pte-stats/blob/main/LICENSE/
[codestyle-shield]: https://img.shields.io/static/v1?label=CodeStyle&message=black&logoColor=black&labelColor=grey&logoWidth=20&color=black&style=for-the-badge
[codestyle-url]: https://github.com/psf/black

