Metadata-Version: 2.1
Name: drtest
Version: 0.0.1
Summary: This is a test module that currently performs data reduction on arrays by different methods.
Home-page: https://github.com/MS44neuro/drtest
Author: MSneuro
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
Requires-Dist: numpy (~=1.19.5)
Requires-Dist: matplotlib (~=3.3.3)
Requires-Dist: pyabf (~=2.3.5)
Requires-Dist: check-manifest (~=0.47)

# pyDRtest:
## _Data reduction test module_

This is a test module that can perform data reduction in several ways.

## Features

- Can perfrom data reduction on arrays
- Select from several data reduction methods
- Tested with an .abf file using pyabf module


## Installation

```sh
pip install drtest
```

## Usage
Importing:
```sh
import drtest as dr
```
Use the DataAnalysis class for some xdata, ydata:
```sh
da = dr.DataAnalysis(xdata, ydata)
```
Perform data reduction with different methods:
```sh
xdec, ydec = da.data_reduction(method='decimate', reduction_factor=4)
xavr, yavr = da.data_reduction(method='average', reduction_factor=4)
xmin, ymin = da.data_reduction(method='min', reduction_factor=4)
xmax, ymax = da.data_reduction(method='max', reduction_factor=4)
xminmax, yminmax = da.data_reduction(method='min/max', reduction_factor=4)
```



