Public Member Functions | Static Public Member Functions

NakaRushton Class Reference

Naka-Rushton function. More...

#include <core.h>

Inheritance diagram for NakaRushton:
PsiCore

List of all members.

Public Member Functions

 NakaRushton (const PsiData *data=NULL, const int sigmoid=6, const double alpha=0.1)
 NakaRushton (const NakaRushton &original)
double g (double x, const std::vector< double > &prm) const
 evaluate the core of the sigmoid
double dg (double x, const std::vector< double > &prm, int i) const
 evaluate the first derivative of the core with respect to parameter i
double ddg (double x, const std::vector< double > &prm, int i, int j) const
 evaluate the second derivative of the core with respect to parameter i and j
double dgx (double x, const std::vector< double > &prm) const
 evaluate the first derivative of the core with respect to stimulus intensity
double inv (double y, const std::vector< double > &prm) const
 invert the core
double dinv (double y, const std::vector< double > &prm, int i) const
 derivative of the inverse core with respect to parameters
std::vector< double > transform (int nprm, double a, double b) const
 transform parameters from logistic regression to those used for this core
PsiCore * clone (void) const
 clone object by value

Static Public Member Functions

static std::string getDescriptor (void)
 get a short string that identifies the type of core

Detailed Description

Naka-Rushton function.

The Naka-Rushton function cannot be separated into sigmoid + core. Thus, the complete nonlinear function is implemented in the Naka-Rushton core object. To use the Naka-Rushton function for fitting psychometric data, this core should be combined with a PsiId sigmoid.


The documentation for this class was generated from the following files: