FACT++  1.0
double Source::getThreshold ( const SolarObjects so) const
inline

Definition at line 205 of file makeschedule.cc.

References Nova::SolarObjects::fJD, Nova::GetHrzFromEqu(), and FACT::PredictI().

206  {
207  const HrzPosn hrz = GetHrzFromEqu(equ, so.fJD);
208  const double current = FACT::PredictI(so, equ);
209 
210  const double ratio = pow(cos((90-hrz.alt)*M_PI/180), -2.664);
211 
212  return penalty*ratio*pow(current/6.2, 0.394);
213  }
EquPosn equ
double fJD
Definition: nova.h:162
HrzPosn GetHrzFromEqu(const EquPosn &equ, const LnLatPosn &obs, double jd)
Definition: nova.h:75
double penalty
double PredictI(const Nova::SolarObjects &so, const Nova::EquPosn &srcEqu)
Definition: Prediction.h:10

+ Here is the call graph for this function: