Stimfit  0.13.15
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Namespaces | Functions
measure.h File Reference

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

#include <vector>
Include dependency graph for measure.h:

Go to the source code of this file.

Namespaces

namespace  stf
 

The stimfit namespace.


Functions

double stf::base (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.
double stf::peak (const std::vector< double > &data, double base, std::size_t llp, std::size_t ulp, int pM, stf::direction, double &maxT)
 Find the peak value of data between llp and ulp.
double stf::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.
double stf::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.
double stf::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.
double stf::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.
double stf::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.
double stf::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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines