src.Atomic.LTELib.Ufunc¶
-
src.Atomic.LTELib.
Ufunc
(elm, T)[source]¶ partition function of neutral hydrogen
- Parameters
elm (element & ionization stage as ca_i, fe_ii, etc.) –
T (temperature (k)) –
Notes
Wanring : this polynomial fitting formula(table) is only avaible for low temperature (\(<10000 K\))
from 1, 2. .. math:: log(u) = c_0 + c_1 cdot log(theta) + c_2 cdot log(theta)^2 + c_3 cdot log(theta)^3 + c_4 cdot log(theta)^4 .. math:: log = log_{10} .. math:: theta = 5040 / T
modification history: - 2006.5.23 k.i. - 2015.7.5 k.i. ‘h_ii’ - 2019.11.26 k.i. ‘Ba’ from Gary 2009 (use poly_ufunc.pro) - 2020.2.13 k.i. from IDL ufunc_gray.pro
References