You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it easy to choose custom isotope abundances.
Very relevant for non-Earth atmospheres !
馃挕 Possible implementations
Retrieval is done in loader.py which loads HITRAN's molparams.txt. Quite easy to override this at runtime (only warning : make sure the _fetch_molecular_parameters is not re-called several times
Impact on calculations :
at non-eq, the calculation of the emission uses the abundance. So nothing to do; the custom abundances will be used directly.
the calculation of absorption is based on Linestrengths. Linestrengths scale linearly with the abundance; so a correction ratio should be introduced. ( it is isotope-based and would be efficiently implemented with the map(dict) approach used by @gagan-aryan for partition functions Qgas).
馃幆 Describe what you'd like
Make it easy to choose custom isotope abundances.
Very relevant for non-Earth atmospheres !
馃挕 Possible implementations
_fetch_molecular_parameters
is not re-called several timesImpact on calculations :
at non-eq, the calculation of the emission uses the abundance. So nothing to do; the custom abundances will be used directly.
the calculation of absorption is based on Linestrengths. Linestrengths scale linearly with the abundance; so a correction ratio should be introduced. ( it is isotope-based and would be efficiently implemented with the map(dict) approach used by @gagan-aryan for partition functions Qgas).
Corrections needed in linestrength_eq and linestrength_noneq
Tip : you can vote for New Features on https://feathub.com/radis/radis
The text was updated successfully, but these errors were encountered: