pcubillos / pyratbay

Python Radiative Transfer in a Bayesian Framework
https://pyratbay.rtfd.io/
GNU General Public License v2.0
8 stars 1 forks source link

isotopes without PF create NaNs #150

Closed pcubillos closed 3 years ago

pcubillos commented 6 years ago

When including a molecule with isotopes without PF, the code (apparently) still includes them, then the spectra will produce NaNs, because the line strengths divide by the PF, which is zero.

E.g., HITRAN N2, isotope '45'.

The fix: do not include in the TLI file these 'bad' line transitions.

pcubillos commented 3 years ago

Outdated.