Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches
measure.h File Reference

Functions for measuring kinetics of events within waveforms. More...

#include <vector>
#include "stfnum.h"
#include "../libstfio/stfio.h"
Include dependency graph for measure.h:

Go to the source code of this file.

Namespaces

namespace  stfnum

Functions

StfnumDll double stfnum::base (enum stfnum::baseline_method method, double &var, const std::vector< double > &data, std::size_t llb, std::size_t ulb)
 Calculate the average of all sampling points between and including llb and ulb.
StfnumDll double stfnum::peak (const std::vector< double > &data, double base, std::size_t llp, std::size_t ulp, int pM, stfnum::direction, double &maxT)
 Find the peak value of data between llp and ulp.
StfnumDll double stfnum::threshold (const std::vector< double > &data, std::size_t llp, std::size_t ulp, double slope, double &thrT, std::size_t windowLength)
 Find the value within data between llp and ulp at which slope is exceeded.
StfnumDll double stfnum::risetime (const std::vector< double > &data, double base, double ampl, double left, double right, double frac, std::size_t &tLoId, std::size_t &tHiId, double &tLoReal)
 Find 20 to 80% rise time of an event in data.
StfnumDll double stfnum::risetime2 (const std::vector< double > &data, double base, double ampl, double left, double right, double frac, double &innerTLoReal, double &innerTHiReal, double &outerTLoReal, double &outerTHiReal)
 Find 20 to 80% rise time of an event in data.
StfnumDll double stfnum::t_half (const std::vector< double > &data, double base, double ampl, double left, double right, double center, std::size_t &t50LeftId, std::size_t &t50RightId, double &t50LeftReal)
 Find the full width at half-maximal amplitude of an event within data.
StfnumDll double stfnum::maxRise (const std::vector< double > &data, double left, double right, double &maxRiseT, double &maxRiseY, std::size_t windowLength)
 Find the maximal slope during the rising phase of an event within data.
StfnumDll double stfnum::maxDecay (const std::vector< double > &data, double left, double right, double &maxDecayT, double &maxDecayY, std::size_t windowLength)
 Find the maximal slope during the decaying phase of an event within data.

Detailed Description

Functions for measuring kinetics of events within waveforms.

Author
Christoph Schmidt-Hieber, Peter Jonas
Date
2011-01-24

For an example how to use these functions, see Recording::Measure().

Definition in file measure.h.