psi_Rosenfalck: An implementation of Rosenfalck's model of the first...

View source: R/IAP_Rosenfalck.r

psi_RosenfalckR Documentation

An implementation of Rosenfalck's model of the first derivative of the Intracellular Action Potential (IAP) wave shape, evaluated in the negative z direction. This quantity is called psi.

Description

psi(z[mm]) = (Vm(-z))' = | -(z+3) A z^2 exp(z) if z < 0 | 0 if z > 0 | -(z+3) A z^2 exp(z) + A z^3 exp(z) delta(z), if z = 0.

Usage

psi_Rosenfalck(z, A = 96 * 0.001, B = -90 * 0.001)

Arguments

z

The spatial variable. Can be a scalar or a vector. Should be in mm when employing the default parameters for A and B.

A

Model parameter. Must be a scalar value in [V/mm^3]. Default value is 96 mv/mm^3.

B

Model parameter. Must be a scalar value in SI units. Default value is -90mV.

Details

Here, we implement psi(0) = 0. Note that the front of the IAP is towards z = 0, whereas the tail of the wave is around z = -15. It is running in positive z direction.

Value

A numerical vector containing the value(s) of Rosenfalcks psi function at position(s) z.


ime-luebeck/semgsim documentation built on April 14, 2022, 11:02 p.m.