psmd-iberutaru / Lezargus

The accompanying data software package to the IRTF SPECTRE Spectrograph.
MIT License
0 stars 0 forks source link

AtmosphereSpectrumGenerator should use opacity as the basis for interpolation #13

Open psmd-iberutaru opened 7 months ago

psmd-iberutaru commented 7 months ago

Transmission is not well behaved linearly, and so it may be better to convert the input transmission to opacity for the basis of the interpolation.

The input and output should still be a transmission fraction, with the class handling the conversion between one and the other similar to how the zenith angle and airmass conversions are handled.