9 Synthetic Spectra: LINE1_PROF

The program LINE1_PROF calculates — based on a suitable start model (Sect. 3) — a synthetic spectrum and/or line profiles of selected lines under consideration of the most recent line-broadening theories.

The input and output options are the same like those of LINE1 (Sect. 8).


DIFFUSION MODEL
read a diffusion model calculated by NGRT.

In general, an atomic data file for a selected wavelength range (in order to limit the number of frequency points) should be created using ATOMS2, e.g. with the card:


LINEFORMATION |~| - |~| RBB-INTERVALL=[ |~|  |~| 1000, |~|  |~| 7000], |~| ION=NON

The use of IrOnIc data for iron-group elements requires to use the same frequency grid for the calculation of the synthetic spectrum. Thus,


PRINT |~| ENTSTEHUNGSTIEFEN |~| DER |~| LINIEN |~| UND |~| KANTEN
LINE1_PROF prints the formation depths of line cores and ionization edges


PLOT |~| IONIZATION |~| FRACTIONS
LINE1_PROF writes ionizations fractions of all ionic species in ATOMS to the file PLION that may be saved to e.g.<name>. Using

ln -sf <name> ion2devide.dat
/home/rauch/bin/ion2devide.Linux_x64

yields a series of ionfrac.<II> (II is the ionic species). These files can be plotted together in one plot with the template

/home/rauch/tools/IonFrac.wr ,
that has to be edited properly for the individual star.


SAVE |~| FGRID_2

allows to save the frequency grid created by LINE1_PROF is saved into the files FGRID_2 (binary) and FGRID_3 (ASCII). FGRID_3 can be used by IrOnIc then. In order to check the respective ATOMS file, SETF2 has to be used to create a “start” input FGRID file.

LINE1_PROF considers the same input files like SETF2, CONTS_MAN, F_BASE, and POS_LIST.

A difference is the content of F_BASE, where
cmin  cmax  Δc
have to be given. There may be entries for different intervals.

LINE1_PROF uses an external frequency grid, if


FGRID_2 |~| FROM |~| INPUT

is activated.


DYNAMIC |~| DISTA cmin cmax DYNFACTOR

In general, spectral lines are more narrow in the X-ray or UV compared to the IR. To avoid excessively high NRBBMAD values, a dynamic adjustment of the blue and red line limits is necessary. The values given in the input file DISTA are inter/extrapolated to DISTA values ×1 at cmin and DISTA values ×DY NFACTOR at cmax.

The program LINE1_PROF creates (besides STDOUT and the files mentioned in Sect. 8) the following plot data files (in accordance with the options given).

IDENT
for each line within the BLENDRANGE (Sect. 8), an
\IDENT <wavlength> <ion> <transition>
card is created that can be used by WRPLOT (Sect. 11) for line identifications.

To combine subsequent IDENTs with identical ion name, use /home/rauch/tools/mkIDMULT.Linux_p64 with an input file id.in. The results will be in an output file id.out.

PLDIFF
element mass fractions in case of a diffusion input model