Input Parameters¶
Summary¶
Here we list the input parameters summary
Parameter Name |
Type |
Default |
Description |
|---|---|---|---|
int |
0 |
Debug switch. |
|
int |
0 |
Reflection model or pure scattering. |
|
int |
15 |
Number of maximum main iteration steps. |
|
int |
200 |
Number of maximum radiative transfer iteration steps. |
|
int |
5000 |
Number of energy bins. |
|
int |
10 |
Number of angle grids. |
|
int |
200 |
Number of depth grids. |
Parameter Name |
Type |
Default |
Description |
|---|---|---|---|
int |
99 |
Maximum iteration steps for thermal equilibrium. |
|
float |
1e8 |
Initial gas temperature. |
|
str |
‘k’ |
Unit of initial gas temperature. |
|
float |
1.0e15 |
Hydrogen density. |
|
float |
3.0 |
Log10 of ionization parameter. |
Parameter Name |
Type |
Default |
Description |
|---|---|---|---|
str |
‘powerlaw’ |
Type of corona illumination. |
|
float |
2.0 |
Photon index or Blackbody temperature in eV. |
|
float |
300e3 |
High energy cut-off for cut-off power law or electrons temperture. |
|
float |
0.1e3 |
Blackbody temperature when incident type is Comptonization source. |
|
float |
0.7 |
Incidence angle. |
|
int |
0 |
Switch of bottom illumination [Thermal disk radiation]. |
|
float |
350.0 |
Temperature of Thermal disk radiation. |
|
float |
1.0 |
Flux of top illumiantion over total illumination. |
|
|
str |
‘incident/nthcomp_g2.0_t60.txt’ |
Incident spectrum file name [Necessary for type of incident is “file”]. |
Elemental Abundances (Relative to Hydrogen)
Parameter Name |
Type |
Default |
Description |
|---|---|---|---|
|
float |
1.0 |
Abundance of Hydrogen. This is the reference element. |
|
float |
1.0 |
Abundance of Helium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Lithium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Beryllium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Barium relative to Hydrogen. |
|
float |
1.0 |
Abundance of Carbon relative to Hydrogen. |
|
float |
1.0 |
Abundance of Nitrogen relative to Hydrogen. |
|
float |
1.0 |
Abundance of Oxygen relative to Hydrogen. |
|
float |
0.0 |
Abundance of Fluorine relative to Hydrogen. |
|
float |
1.0 |
Abundance of Neon relative to Hydrogen. |
|
float |
0.0 |
Abundance of Sodium relative to Hydrogen. |
|
float |
1.0 |
Abundance of Magnesium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Aluminum relative to Hydrogen. |
|
float |
1.0 |
Abundance of Silicon relative to Hydrogen. |
|
float |
0.0 |
Abundance of Phosphorus relative to Hydrogen. |
|
float |
1.0 |
Abundance of Sulfur relative to Hydrogen. |
|
float |
0.0 |
Abundance of Chlorine relative to Hydrogen. |
|
float |
1.0 |
Abundance of Argon relative to Hydrogen. |
|
float |
0.0 |
Abundance of Potassium relative to Hydrogen. |
|
float |
1.0 |
Abundance of Calcium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Scandium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Titanium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Vanadium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Chromium relative to Hydrogen. |
|
float |
0.0 |
Abundance of Manganese relative to Hydrogen. |
|
float |
1.0 |
Abundance of Iron relative to Hydrogen. |
|
float |
0.0 |
Abundance of Cobalt relative to Hydrogen. |
|
float |
1.0 |
Abundance of Nickel relative to Hydrogen. |
|
float |
0.0 |
Abundance of Copper relative to Hydrogen. |
|
float |
0.0 |
Abundance of Zinc relative to Hydrogen. |
Path Group
Parameter Name |
Type |
Default |
Description |
|---|---|---|---|
|
str |
‘kernel_exact5000’ |
Compton scattering Redistribution function file, the energy bins need to be as same in model. |
|
str |
‘data’ |
Atomic database and Compton heating-cooling file. |
|
str |
spec.dat |
Output spectrum file. |
|
str |
temp.dat |
Output temperature file. |
|
str |
inte.dat |
Output intensity file. |
|
str |
model.log |
Output log file. |
|
str |
emis.dat |
Output emissivity file (not used for now). |
|
str |
abud.fits |
Output abundance file. |
Detailed Description¶
Grids¶
debug,model
DAO support the pure scattering model with constant gas temperature along the vertical
depth when model set at 1, and normal reflection model when model set at 0.
Debug mode is opened when debug switch set at 1. Energy, angle and depth grids and other useful inforamtion will be printed to a file when it’s open.
nmaxmain,nmaxrte
nmaxrte controls the maximum iteration steps for radiative transfer. Considering the
calculation time and convergence, we set 200 as default steps.
nmaxmain controls the maximum iteration steps between radiative transfer and XSTAR. We set 15 as default value
nfrt,nmurt,nfrt
These parameters define the resolution of depth, energy, and angle grids. We don’t
recommend user reduce the resolution of depth and energies. The photons are more
easier to be scattered in its own energy and the line emission haven’t enough resolution
when nfrt is small.
Plasma¶
it_temp,temp_gas,temp_gas_unit
XSTAR need number of iterations to get thermal equilibrium, it-temp is same with nlimd
in XSTAR, we don’t recommend user change this parameter. temp-gas, temp-gas-unit define the initial gas temperature and its unit, they are only important when you run constant-temperature pure scattering model.
nh
Hydrogen density in cm−3. The DAO version 1.0 only support for density less than 10^18 cm−3. Specify atom data table will be needed when density large than that value [Kallman et al., 2021].
zeta
Initial value of the log (base 10) of the model ionization parameter at the innermost shell. The [Tarter et al., 1969] form is used:
This value will be re-calculated after radiation field update.
Illumination¶
There are many parameters control the illumination, and different meaning of each parameters when we assume different type of illumination. In this section, I’ll sort the parameters by differnt incident type.
Bottom blackbody¶
In DAO, the radiation from the bottom of the disk is modeled as a blackbody source. The parameter sbot controls this boundary condition: if sbot=1, bottom illumination is enabled; otherwise, the bottom boundary is assumed to be zero.
When sbot=1, ktbb defines the blackbody temperature, and fx_frac determines the partition of the total flux between the top and bottom surfaces. First, the total ionizing flux (Fx) is calculated via Eq. (1). The fluxes for the top and bottom boundaries are then derived as:
Power law or Cut-off power law¶
This formulation applies when inci_type is set to powlaw or cutoff. The spectral shape is defined as:
where:
Gamma(\(\Gamma\)): The photon index.hcut(\(E_{cut}\)): The high-energy cutoff.A: normalization factor, defined by Eq.(1)
Currently, the model does not implement a low-energy cutoff.
Blackbody¶
This formulation applies when inci_type is set to blackbody. The spectral shape is defined as a blackbody with temperature set at Gamma [eV].
nthcomp¶
This formulation applies when inci_type is set to nthcomp. The spectral shape is defined by Zdziarski et al. [1996].
Gamma: Photon index.hcut: Electron temperatures \(kT_e\) [eV].ktbb_nth: Blackbody temperatures \(kT_{bb}\) [eV].
comptt¶
Added in version 1.1.3: This incident spectrum type was introduced in version 1.1.3.
This formulation applies when inci_type is set to comptt. The spectral shape is defined by Titarchuk [1994]. This configuration assumes a disk geometry with the optical depth fixed at \(\tau = 1.0\).
Gamma: Wien temperature [eV].hcut: Plasma temperature [eV].
file¶
This mode is activated when inci_type is set to file. In this configuration, the spectral shape is determined by an external user-provided file.
Consequently, the inci_file parameter is mandatory and must specify a valid path to your spectrum file.
File Format Specification
The spectrum file must consist of a 3-line header followed by the data rows (total \(3+n\) rows).
1. Header Lines (First 3 rows)
Row 1: Number of energy bins (\(n\)).
Row 2: Spectrum Unit Flag.
0: \(\mathrm{erg \cdot cm^{-2} \cdot s^{-1} \cdot erg^{-1}}\)1: \(\mathrm{photons \cdot cm^{-2} \cdot s^{-1} \cdot erg^{-1}}\)2: \(\mathrm{erg^2 \cdot cm^{-2} \cdot s^{-1} \cdot erg^{-1}}\) (\(E F_E\))
Row 3: Energy Unit Flag.
0: eV1: keV
2. Data Block
Following the header, the file must contain 2 columns (Energy, Flux) for the remaining \(n\) rows.
Abundances¶
Atomic abundances for elements H through Zn are initialized using a predefined table. The adopted values are based on Grevesse et al. [1996].
The user can change the abundance of individual elements, relative to that table.