Commit cccbdd6e authored by Matthias Steffen's avatar Matthias Steffen
Browse files

Merge branch 'master' of gitlab.aip.de:mst/Li_FF

parents fc98486c 944f2aa4
**Python 3 script for evaluating fitting fuctions FFI, FFII, and FFII**
**Python 3 script for evaluating fitting functions FFI, FFII, and FFII**
developed in the paper
**Improving spectroscopic lithium abundances. Fitting functions for 3D non-LTE corrections in FGK stars of different metallicity**
......@@ -7,12 +7,12 @@ 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,
With Teff = effective temperature, 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
where ff1_out is a two-element array returning the (logarithmic) lithium abundance corrections
`ff1_out[0] = 1D_NLTE correction`
`ff1_out[1] = 3D_NLTE correction`
......@@ -23,7 +23,7 @@ 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)
where ff2_out is a two-element array returning the (logarithmic) non-LTE equivalent widths (EW)
`ff2_out[0] = 1D_NLTE EW`
`ff2_out[1] = 3D_NLTE EW`
......@@ -34,13 +34,14 @@ 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
where ff3_out is a two-element array returning 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.
The IDL script test_ff123.pro, provided for the convenience of IDL users, produces the output file
test_ff123_idl.out with identical content as test_ff123_py.out.
Markdown is supported
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