The AHA Model
Revision: 12809
Reference implementation 04 (HEDG02_04)
|
Public Member Functions | |
elemental real(srp) function | gamma2gene_reverse (neuronal_response, gs, gh, nc) |
Reverse-calculate perception value from the given neural response value. More... | |
Definition at line 5278 of file m_common.f90.
elemental real(srp) function commondata::gene2gamma::gamma2gene_reverse | ( | real(srp), intent(in) | neuronal_response, |
real(srp), intent(in) | gs, | ||
real(srp), intent(in) | gh, | ||
integer, intent(in), optional | nc | ||
) |
Reverse-calculate perception value from the given neural response value.
Calculates the value of the raw perception from the neural response function. This is the reverse of the gamma2gene with many components. It is assumed that all x and y values are the same, so the equation solved for the most trivial case. Calculated according to the formula:
where is the perception value, is the neural response, and are two genes.
[in] | neuronal_response | neuronal response. |
[in] | gs | shape parameter of the sigmoid function. |
[in] | gh | half-max parameter of the sigmoid function. |
[in] | nc | Number of additive components. Optional, if absent assumed 1 (single component). |
gamma2gene
values as the signal value should be really small: e.g. to get neural response 1.5E-5 (Fulton condition), we need signal = 2E-12. So, the function very quickly loses precision as we approach really low values. Need kind 8 or 16 precision? Definition at line 7256 of file m_common.f90.