STERNE MODELS
In 2006, Behara and Jeffery introduced a new file format for the model
atmospheres produced by STERNE and used by SPECTRUM and SFIT. The
design is defined by keywords and data. The objects of the new format are to:
be consistent with other i/o in the packages,
be easily readable,
be flexible and extensible,
retain the full model history,
allow depth-dependent descriptions of composition, and
allow transformations of physical quantities (eg logs, units)
The models may be read in using subroutine "stn_readmodel". Data structures
are provided by module "stn_model". Both in the lte-codes-XX library
"dp". It is emphasized that not all fields are required for a useable
description of the model atmosphere, and that new fields can be easily
incorporated.
Keywords and associated structures
Syntax
* : mandatory keyword
context.keyword < variable >
: description
context.keyword [ option 1 | option 2 | option 3
] : expand options
array.keyword : read in following
free-format array --
< var1, var2, ..., var3 >
In general -- order does not matter. However, arrays, as indicated
by some Structure and Spectrum keywords, need their
dimensions defined before use. Data for array
structures must commence on a new line.
Basic Parameters
model.origin < originating program >
model.date < date computed >
model.label < identifier >
model.composition [ homogeneous | stratified ]
*model.teff < Teff >
*model.gravity < log g >
model.frache < H/(H+He) >
model.febyh < [Fe/H] > :
metallicity, default 0.0 dex
model.albyfe < [alpha/Fe] > :
alpha enhancement, default 0.0 dex
model.lambda_ref <lambdaref >
model.nelems < Nelements >
model.nstrat < Nel_strat >
: Number of elements treated as stratified
model.layers < Ndepth >
opacity.bf_source [ OP | KIEL ]
opacity.bb_source [ SAM | ODF ]
opacity.bb_int < delta lambda >
opacity.vturb < vturb >
units.teff [ kelvin ]
units.gravity [ log_cgs ]
units.vturb [ cm/s ]
units.lambda_ref [ Angstrom ]
Composition
*abundance < elem > < abund >
-- repeat for each element, assume solar scaled by [Fe/H],[alpha/Fe] otherwise
structure.abundance < elem > : ( needs Ndepth )
< abelem,1, abelem,2, ...,
abelem,Ndepth >
-- repeat for each element with non-uniform distribution
units.abundance [ number_fraction ]
Structure
*structure.tau_ref : ( needs Ndepth )
< tauref,1, tauref,2, ...,
tauref,Ndepth >
structure.opac_ref : ( needs Ndepth )
< kapparef,1, kapparef,2, ...,
kapparef,Ndepth >
*structure.temp : ( needs Ndepth )
< T1, T2, ..., TNdepth>
*structure.pgas : ( needs Ndepth )
< Pgas,1, Pgas,2, ...,
Pgas,Ndepth >
structure.pel : ( needs Ndepth )
< Pel,1, Pel,2, ..., Pel,Ndepth >
structure.grad : ( needs Ndepth )
< grad,1, grad,2, ...,
grad,Ndepth >
structure.mass : ( needs Ndepth )
< m1, m2, ...,
mNdepth >
structure.depth : ( needs Ndepth )
< z1, z2, ...,
zNdepth >
units.tau_ref [ log ]
units.opac_ref [ log ]
units.temp [ kelvin ]
units.pgas [ log_dyn ]
units.pel [ log_dyn ]
units.grad [ log_cm/s^2 ]
units.mass [ log_g ]
units.depth [ log_cm ]
Emergent Spectrum
spectrum.length < Nwave >
spectrum.wave : ( needs Nwave )
< lambda1, lambda2, ..., lambdaNwave >
spectrum.flux : ( needs Nwave )
< Flambda,1, Flambda,2, ..., Flambda,Nwave >
spectrum.fcont : ( needs Nwave )
< Fcont,1, Fcont,2, ..., Fcont,Nwave >
units.wave [ Angstrom ]
units.flux [ erg/cm^2/A ]
units.fcont [ erg/cm^2/A ]
Example
An example of a homegenoeus model atmosphere with Teff=20000 K, log g=3.0, is
given here.
This page is maintained by:
Simon Jeffery (csj at
arm.ac.uk)
Last modified: Sep 14, 2006