This is a simple switch function.
This function is used to transition from 'off' to 'on'.
is the measured time.
is the transition constant, set arbitrarily high.
is the time at which the transition occurs.
This helper function used in
P7c enables the
optim function to find parameters three times as quickly than if the transitions betwen the phases are modelled by a logical function e.g. a step function.
For times before 't' the output is less than or equal to 0.5, after this time the the output is greater than 0.5. As 'k' grows larger the rate of transition from 0 to 1 increases.
H is a logistic function that maps inputs to a values between zero and one
Jeremiah MF Kelly
Faculty of Life Sciences, The University of Manchester, M13 9PL, UK
The logistic function: http://en.wikipedia.org/wiki/Logistic_function
The step function: http://en.wikipedia.org/wiki/Heaviside_step_function
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.