This PR adds the ability to let density vary along the temperature axis in the level populations calculation in Ion. By extension, this also adds this capability to the contribution function, emissivity, and intensity calculation.
This is useful, for example, when calculating one of these quantities at constant pressure, where density varies inversely with temperature. However, this approach is more general than that and can incorporate any density variation along the temperature axis.
This PR adds the ability to let density vary along the temperature axis in the level populations calculation in
Ion
. By extension, this also adds this capability to the contribution function, emissivity, and intensity calculation.This is useful, for example, when calculating one of these quantities at constant pressure, where density varies inversely with temperature. However, this approach is more general than that and can incorporate any density variation along the temperature axis.