Skip to main content

This is a test module that currently performs data reduction on arrays by different methods.

Project description

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

pip install drtest

Usage

Importing:

import drtest as dr

Use the DataAnalysis class for some xdata, ydata:

da = dr.DataAnalysis(xdata, ydata)

Perform data reduction with different methods:

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drtest-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

drtest-0.0.1-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page