Esempio n. 1
0
float ComputeTauBfromEmptyUsingRegionLinearModel(reg_params *reg_p, float etbR)
{
  if (reg_p->fit_taue)
    return(xComputeTauBfromEmptyUsingRegionLinearModelWithAdjR(reg_p->tauE,etbR));
  else
    return(xComputeTauBfromEmptyUsingRegionLinearModel(reg_p->tau_R_m,reg_p->tau_R_o,etbR));
}
Esempio n. 2
0
float reg_params::ComputeTauBfromEmptyUsingRegionLinearModel(float etbR) const
{
  if (fit_taue)
    return(xComputeTauBfromEmptyUsingRegionLinearModelWithAdjR(tauE,etbR,min_tauB,max_tauB));
  else
    return(xComputeTauBfromEmptyUsingRegionLinearModel(tau_R_m,tau_R_o,etbR,min_tauB,max_tauB));
}