This class performs extinction computations, following literature from atmospheric optics and astronomy.
More...
Public Member Functions |
| void | forward (const Vec3d *altAzPos, float *mag, const int num=1) const |
|
void | forward (const Vec3f *altAzPos, float *mag, const int num=1) const |
|
void | forward (const double *sinAlt, float *mag, const int num) const |
|
void | forward (const float *sinAlt, float *mag, const int num) const |
|
void | forward (const double *sinAlt, float *mag) const |
|
void | forward (const float *sinAlt, float *mag) const |
| void | backward (const Vec3d *altAzPos, float *mag, const int num=1) const |
|
void | backward (const Vec3f *altAzPos, float *mag, const int num=1) const |
|
void | backward (const double *sinAlt, float *mag, const int num=1) const |
|
void | backward (const float *sinAlt, float *mag, const int num=1) const |
| void | setExtinctionCoefficient (float k) |
|
float | getExtinctionCoefficient () const |
This class performs extinction computations, following literature from atmospheric optics and astronomy.
Airmass computations are limited to meaningful altitudes. The solution provided here will [hopefully!] result in a visible "zone of avoidance" near the horizon down to altitude -2, and may show stars in their full brightness below -2 degrees. Typical horizons do not go down below -1, so all natural sites should be covered. Note that forward/backward are no absolute reverse operations! All the computations should be in effect (1) only if atmosphere effects are true (2) only for terrestrial locations, not on Moon/Mars/Saturn etc config.ini:astro/flag_extinction_below_horizon=true|false controls if extinction kills objects below -2 degrees altitude by setting airmass to 42.