This task computes the electron temperature (T_e) given an electron
density (N_e), or N_e given T_e, of an ionized nebular gas within
the N-level atom approximation. The user specifies the quantity to
be calculated, the reddening-corrected diagnostic line ratio, the
name and the spectrum of the atom, and an assumed value for the
quantity NOT being calculated. The task output lists the ion and
the line ratio for which the calculation is performed, followed by
the result of the calculation. These input task parameters,
including those that are "hidden", are written back to the parameter
file. The result is also stored in the task parameter "result" for
ease of use in CL scripts.
The following table lists the default diagnostic line ratios in the
form I(wave1)/I(wave2), where "wave1" and "wave2" are given in
units of Angstroms.
It is possible to customize the line ratio using the "transition"
parameter and an expression for the ratio of interest. See the
description of the "transition" parameter and the examples below.
Note that the wavelengths corresponding to the various transitions
can be obtained by running the "ionic" task.
Algebraic expression for the ratio of diagnostic line fluxes. The
expression is evaluated with FORTRAN-like rules for supported
operators and the order of their evaluation.
Name of the atom, which is one of: carbon, nitrogen, oxygen,
neon, sodium, magnesium, aluminum, silicon, sulfur, chlorine,
argon, potassium, or calcium.
Expression for the transition, if not the "default". Transitions
are specified with the special function "J" (for the emissivity):
the arguments are the upper and lower levels of the transition. For
example, the traditional density diagnostic of [O II] is the ratio
of the intensities for the transition I(3->1) to that of
I(2->1)--i.e., I(3726)/I(3729). The corresponding expression for
would be "J(3,1)/J(2,1)". The expression is evaluated with
FORTRAN-like expression rules.
Value to assume for the quantity NOT being calculated. The units
are 1/cm^3 if T_e is being calculated, or Kelvins if N_e is being
calculated. Temperatures must lie in the range 500 to 1.e+5 K,
and densities must lie in the range 1. to 1.e+8.
1. Find the electron density from the [S II] diagnostic ratio
I(6716)/I(6731) = 0.9 assuming an electron temerature of 10000 K.
cl> temden density 0.9 atom=sulfur spectrum=2 assume=10000.
Density ratio [S ii]: I(6716)/I(6731) = 0.9
Density: 910.344 /cm^3
2. Find the electron temperature from the [O III] diagnostic ratio
I(4959+5007)/I(4363), given I(4959)=100., I(5007)=288., and
I(4363)=7.405, and assuming an electron density of 1000/cm^3.
cl> temden temerature "(100.+288.)/7.40" atom=oxygen \
>>> spec=3 assume=1000.
Temperature ratio [O iii]: I(4959+5007)/I(4363) = 52.432
Temperature: 17158.3 K
3. Find the electron temperature from the custom [O III]
diagnostic ratio I(1660+1666)/I(4363)=1.0, and assuming an
electron density of 10,000/cm^3.
cl> temden temerature 1.0 atom=oxygen spec=3 assume=1.e4 \
>>> transition="(j(6,2)+j(6,3))/j(5,4)"
Temperature ratio [O iii]: (J(6,2)+J(6,3))/J(5,4) = 1.
Temperature: 17158.3 K
The 5-level atom program, upon which this package is based, was
originally written by M.M. DeRobertis, R. Dufour, and R. Hunt.
This package was written by R.A. Shaw (STScI); a description was
published by R.A. Shaw & R.J. Dufour (1994). Type "help nlevel"
for additional information about the N-level atom approximation,
and for references to the atomic parameters and the other
literature references. Support for this software development was
provided by the Astrophysics Data Program through NASA grant
NAG5-1432, and through STScI internal research funds.