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

User-defined functions for the Levenberg-Marquardt non-linear regression. More...

#include "./../stf.h"
Include dependency graph for funclib.h:

Go to the source code of this file.

Namespaces

namespace  stf
 

The stimfit namespace.


Functions

double stf::fexp (double x, const Vector_double &p)
 Sum of n exponential functions.
Vector_double stf::fexp_jac (double x, const Vector_double &p)
 Computes the Jacobian of stf::fexp().
void stf::fexp_init (const Vector_double &data, double base, double peak, double RTLoHi, double HalfWidth, double dt, Vector_double &pInit)
 Initialises parameters for fitting stf::fexp() to data.
void stf::fexp_init2 (const Vector_double &data, double base, double peak, double RTLoHi, double HalfWidth, double dt, Vector_double &pInit)
 Yet another initialiser for fitting stf::fexp() to data.
double stf::fexpde (double x, const Vector_double &p)
 Monoexponential function with delay.
void stf::fexpde_init (const Vector_double &data, double base, double peak, double RTLoHi, double HalfWidth, double dt, Vector_double &pInit)
 Initialises parameters for fitting stf::fexpde() to data.
double stf::fexpbde (double x, const Vector_double &p)
 Biexponential function with delay.
void stf::fexpbde_init (const Vector_double &data, double base, double peak, double RTLoHi, double HalfWidth, double dt, Vector_double &pInit)
 Initialises parameters for fitting stf::fexpde() to data.
double stf::falpha (double x, const Vector_double &p)
 Alpha function.
Vector_double stf::falpha_jac (double x, const Vector_double &p)
 Computes the Jacobian of stf::falpha().
double stf::fHH (double x, const Vector_double &p)
 Hodgkin-Huxley sodium conductance function.
double stf::fgauss (double x, const Vector_double &p)
 Computes the sum of an arbitrary number of Gaussians.
Vector_double stf::fgauss_jac (double x, const Vector_double &p)
 Computes the Jacobian of a sum of Gaussians.
double stf::fgnabiexp (double x, const Vector_double &p)
 power of 1 sodium conductance function.
Vector_double stf::fgnabiexp_jac (double x, const Vector_double &p)
 Computes the Jacobian of stf::fgnabiexp().
void stf::falpha_init (const Vector_double &data, double base, double peak, double RTLoHI, double HalfWidth, double dt, Vector_double &pInit)
 Initialises parameters for fitting stf::falpha() to data.
void stf::fgauss_init (const Vector_double &data, double base, double peak, double RTLoHI, double HalfWidth, double dt, Vector_double &pInit)
 Initialises parameters for fitting stf::fgauss() to data.
void stf::fHH_init (const Vector_double &data, double base, double peak, double RTLoHi, double HalfWidth, double dt, Vector_double &pInit)
 Initialises parameters for fitting stf::falpha() to data.
void stf::fgnabiexp_init (const Vector_double &data, double base, double peak, double RTLoHi, double HalfWidth, double dt, Vector_double &pInit)
 Initialises parameters for fitting stf::falpha() to data.
double stf::xscale (double param, double xscale, double xoff, double yscale, double yoff)
 Scales a parameter that linearly depends on x.
double stf::xunscale (double param, double xscale, double xoff, double yscale, double yoff)
 Unscales a parameter that linearly depends on x.
double stf::yscale (double param, double xscale, double xoff, double yscale, double yoff)
 Scales a parameter that linearly depends on y.
double stf::yscaleoffset (double param, double xscale, double xoff, double yscale, double yoff)
 Scales a parameter that linearly depends on y and adds an offset.
double stf::yunscale (double param, double xscale, double xoff, double yscale, double yoff)
 Unscales a parameter that linearly depends on y.
double stf::yunscaleoffset (double param, double xscale, double xoff, double yscale, double yoff)
 Unscales a parameter that linearly depends on y and removes the offset.
std::vector< stf::parInfostf::getParInfoExp (int n_exp)
 Creates stf::parInfo structs for n-exponential functions.
stf::Table stf::outputWTau (const Vector_double &p, const std::vector< stf::parInfo > &parsInfo, double chisqr)
 Calculates a weighted time constant.
std::size_t stf::whereis (const Vector_double &data, double value)
 Finds the index of data where value is encountered for the first time.
std::vector< stf::storedFuncstf::GetFuncLib ()
 Returns the library of functions for non-linear regression.

Detailed Description

User-defined functions for the Levenberg-Marquardt non-linear regression.

Author:
Christoph Schmidt-Hieber
Date:
2008-01-20

Definition in file funclib.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines