This class performs extinction computations, following literature from atmospheric optics and astronomy.
More...
|
void | forward (const Vec3d &altAzPos, float *mag) const |
| Compute extinction effect for arrays of size num position vectors and magnitudes. More...
|
|
void | forward (const Vec3f &altAzPos, float *mag) const |
|
void | backward (const Vec3d &altAzPos, float *mag) const |
| Compute inverse extinction effect for arrays of size num position vectors and magnitudes. More...
|
|
void | backward (const Vec3f &altAzPos, float *mag) const |
|
void | setExtinctionCoefficient (float k) |
| Set visual extinction coefficient (mag/airmass), influences extinction computation. More...
|
|
float | getExtinctionCoefficient () const |
|
void | setUndergroundExtinctionMode (UndergroundExtinctionMode mode) |
|
UndergroundExtinctionMode | getUndergroundExtinctionMode () const |
|
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.