Skip to content

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

License

Notifications You must be signed in to change notification settings

MS44neuro/drtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drtest:

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:

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages