ITADN

Use cubic interpolation of adf11 rates for solving ionization balances

#25Pull Requestdmkriete 创建于 2024-05-10已合并
D
dmkrietecommented
This switches the interpolation of adf11 rates from linear to cubic (the interpolation is still done in logarithmic space). For adf11 rates this appears to give better results. See comparison below; the linear interpolation exhibits unphysical "bumps" in the curves that disappear when cubic interpolation is used. (technically the below comparison is technically energy balance, but ionization balance is a component of energy balance, so comparison is applicable to both). Linear interpolation (old) ![c2+ thermalization with protium for Ti=1 0Te_old](https://github.com/johnson-c/ColRadPy/assets/18538613/81bcf706-0e59-48e2-8b53-41041c0c1938) Cubic interpolation (new) ![c2+ thermalization with protium for Ti=1 0Te_new](https://github.com/johnson-c/ColRadPy/assets/18538613/1c7eaa70-7231-4633-bc4b-244750886e27)
合并状态:已合并 合并于 2024-06-03 关闭于 2024-06-03 0 条评论