breidablik.interpolate.nlte =========================== .. py:module:: breidablik.interpolate.nlte Attributes ---------- .. autoapisummary:: breidablik.interpolate.nlte._base_path Classes ------- .. autoapisummary:: breidablik.interpolate.nlte.Nlte Module Contents --------------- .. py:data:: _base_path .. py:class:: Nlte(model_path=None, scalar_path=None, model_path_610=None, scalar_path_610=None, model_path_810=None, scalar_path_810=None) Interpolation class for REW. Used to interpolate between the stellar parameters. Can find the abundance given the REW and stellar parameters. .. py:attribute:: model_path .. py:attribute:: scalar_path .. py:attribute:: model_path_610 .. py:attribute:: scalar_path_610 .. py:attribute:: model_path_810 .. py:attribute:: scalar_path_810 .. py:attribute:: scalar .. py:attribute:: scalar_610 .. py:attribute:: scalar_810 .. py:attribute:: models .. py:attribute:: scalars .. py:method:: nlte_correction(eff_t, surf_g, met, abundance, center=670.9659) Find the abundance based on the stellar parameters and measured reduced equivalent width. :param rew: The reduced equivalent width for the lithium line at 670.9 nm. :type rew: Real :param eff_t: The effective temperature of the star. :type eff_t: Real :param surf_g: The log surface gravity of the star. :type surf_g: Real :param abundance: The 1D LTE abundance. :type abundance: Real :param center: The center of the lithium line that the input rew corresponds to, in angstroms. The 3 lithium lines are centered at 610.5298, 670.9659, and 812.8606 nm in the Balder results. The input center value will snap to the closest value out of those 3. :type center: Real, optional :returns: **predcited_li** -- The predicted correction on the lithium abundance. :rtype: float .. py:method:: _nlte_correction(eff_t, surf_g, met, abunds, center=670.9659) Same as nlte_correction, hidden version without grid checks so extra warnings aren't thrown. This version can be used to quickly process many abundances.