Commit 75eb1673 authored by Matthias Steffen's avatar Matthias Steffen
Browse files

Update README.md

parent 94fd8899
Python 3 script for evaluating fitting fuctions FFI, FFII, and FFII
developed by A. Mott et al. (2020, A&A ???, ???)
developed in the paper
**Improving spectroscopic lithium abundances. Fitting functions for 3D non-LTE corrections in FGK stars of different metallicity**
by A. Mott et al. (2020, A&A ???, ???)
The three functions are defined in ff_all.py
They are called in the example script test_ff123.py that produces the output file test_ff123_py.out
With Teff = effective tempaerature, log g = surface gravity, Z = metallicity [Fe/H], qiso = lithium isotopic ratio 6Li/7Li,
the call to evaluate fitting function FFI is:
`ff1_out=ff1(Teff,logg,Z,ALi_LTE,qiso)`
where ff1_out is a two-element array returing the (logarithmic) lithium abundance corrections
ff1_out[0] = 1D_NLTE correction
ff1_out[1] = 3D_NLTE correction
for a given LTE lithium abundance ALi_LTE
The call to evaluate fitting function FFII is:
`ff2_out=ff2(Teff,logg,Z,ALi,qiso)`
where ff2_out is a two-element array returing the (logarithmic) non-LTE equivalent widths (EW)
ff2_out[0] = 1D_NLTE EW
ff2_out[1] = 3D_NLTE EW
for a given lithium abundance ALi
The call to evaluate fitting function FFIII is:
`ff3_out=ff3(Teff,logg,Z,EW,qiso)`
where ff3_out is a two-element array returing the (logarithmic) 1D NLTE and 3D NLTE lithium abundances
ff3_out[0] = ALI_1DNLTE
ff3_out[1] = ALi_3DNLTE
for a given (logarithmic) equivalent width EW.
The IDL script test_ff123.pro provided for convenience to IDL users producdes the otuput file
test_ff123_idl.out with idenitcal content as test_ff123_py.out.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment