Paper The following article is Open access

NEBULAR: A Simple Synthesis Code for the Hydrogen and Helium Nebular Spectrum

Published 2016 September 29 © 2016. The Astronomical Society of the Pacific. All rights reserved.
, , Citation Mischa Schirmer 2016 PASP 128 114001 DOI 10.1088/1538-3873/128/969/114001

1538-3873/128/969/114001

Abstract

NEBULAR is a lightweight code to synthesize the spectrum of an ideal, mixed hydrogen and helium gas in ionization equilibrium, over a useful range of densities, temperatures and wavelengths. Free–free, free-bound and two-photon continua are included as well as parts of the H i, He i and He ii line series. NEBULAR interpolates over publicly available data tables; it can be used to easily extract information from these tables without prior knowledge about their data structure. The resulting spectra can be used to e.g., determine equivalent line widths, constrain the contribution of the nebular continuum to a bandpass, and for educational purposes. NEBULAR can resample the spectrum on a user-defined wavelength grid for direct comparison with an observed spectrum; however, it can not be used to fit an observed spectrum.

Export citation and abstract BibTeX RIS

Original content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

1. Introduction

Astrophysical nebulae have complex spectra. Photoionization codes, such as CLOUDY (Ferland et al. 2013), calculate realistic spectra of nebulae for a wide range of physical parameters of the gas and the ionizing sources near or within them. These codes may have complex setups and significant execution times because of their ambitious scope.

NEBULAR is not a contender in this area, because it does not fit an observed spectrum, nor does it return physical parameters. However, it synthesizes an accurate and fairly complete spectrum of an ideal, mixed hydrogen and helium gas in ionization equilibrium, over a wide range of temperatures, densities and wavelengths. Hydrogen and helium are the most abundant elements in the universe, and thus form a central part in the spectral analysis of gaseous nebulae. NEBULAR provides easy and quick access to the most recent atomic computations of these elements. Because it is lightweight, it could be used in larger analysis packages. It is expedient for physical purposes and astronomy alike, whenever the general properties of a spectrum are investigated. For example, it can take the arbitrary wavelength grid of an observed real spectrum as input and compute a model spectrum on the same grid for direct comparison. Because of the simple installation and usage, it can also be used for teaching purposes.

NEBULAR is open source, licensed under the GNU Public License (GPL) and available on Github 1 ; this paper refers to version 1.1. NEBULAR is written in C++ and links against common standard libraries, facilitating cross-platform usability and installation.

This paper is organized as follows. Methods and relevant physical relations are recapped in Section 2, together with explanations of the code's limitations. Section 3 gives an overview of software verification, usage, the output format, and a few applications. A summary is given in Section 4. Three example runs are presented in the Appendix, together with further ancillary tables. All wavelengths in this paper are vacuum wavelengths, and all logarithms refer to base 10.

2. Methods and Limitations of the Code

The following is a summary of the physical processes involved.

The combined hydrogen and helium spectrum is synthesized from four different components: the free-bound, free–free and two-photon continua, and part of the H i, He i and He ii emission line series. The respective rescaled emission coefficients j are written as

Equation (1)

Equation (2)

Equation (3)

Equation (4)

Here, NX and Ne are the ion and electron number densities in cm−3, respectively, and γ is the emission coefficient (in erg s−1 cm3 Hz−1; apart from ${j}_{\mathrm{nn}^{\prime} }$, which has no frequency dependence).

The sources of the input data, as well as the limitations of the code, are reviewed below. The valid temperature, density, and wavelength ranges are listed in Table 1.

Table 1.  Validity Matrix for NEBULAR. Extrapolation May be Used Outside These Ranges

Component Temperatures Densities Wavelength Range
  T [1000 K] log(Ne/cm−3)  
Free-bound (H i) 0.1–100 911.8 Å–36.5 μm
Free-bound (He i) 0.1–100 504.3 Å–36.5 μm
Free-bound (He ii) 0.1–100 228.0 Å–36.5 μm
Free–free (all) 0.003–107 Radio to γ-rays
Two-photon (H i) 0.3–100 ≲8 ≥1215.7 Å
Two-photon (He i) 5–20 ≥625 Å
Two-photon (He ii) 1–100 ≲8 ≥303.9 Å
H i lines 0.5–30 2–8 911.7 Å–27.8 μm
He i lines 5–25 1–14 2945 Å–2.16 μm
He ii lines 0.5–100 2–8 227.9 Å–34.6 μm

Download table as:  ASCIITypeset image

2.1. Free-bound Continuum

Free-bound emission is caused by ions capturing free electrons. Ercolano & Storey (2006) have tabulated the continuous free-bound recombination emission coefficients, γbf, of H i, He i and He ii (the ionic states after recombination) over temperatures 102 ≤ T ≤ 105 K with a step size of Δ log10T = 0.1 (hereafter, the logarithmic bases are omitted). NEBULAR performs a cubic spline interpolation over temperatures, and a linear interpolation over frequencies within discontinuities. As stated in Ercolano & Storey (2006), bilinear interpolation reproduces the true values to within 1% or better.

2.2. Free–Free Continuum

Free–free emission is caused by electrons scattering in the Coulomb field of ions with nuclear charge Z. NEBULAR computes the free–free spectrum for H+, He+ and He++. The emission coefficients are

Equation (5)

(e.g., Brown & Mathews 1970). Here, e, me, h, and kB are the electron charge, electron mass, Planck constant and Boltzmann constant, respectively. 0 denotes the ionization energy for hydrogen. Note that this equation must be evaluated in cgs units, in particular the electronic charge is 1e = 4.803207 × 10−10 statC, with 1 statC = 1 cm3/2 g1/2 s−1.

gff(Z, T, ν) is the Gaunt factor, a quantum mechanical correction to the classical scattering formalism. For typical conditions in astrophysical nebulae, gff ∼ 1−2. Non-relativistic Gaunt factors have been calculated by van Hoof et al. (2014) for a wide range of temperatures, frequencies and nuclear charges. NEBULAR uses the tabulated temperature-averaged $\langle {g}_{\mathrm{ff}}({\gamma }^{2},u)\rangle $ for Maxwell–Boltzmann electron distributions, where ${\gamma }^{2}={Z}^{2}\,h{\nu }_{0}/({k}_{{\rm{B}}}T)$ and u = /(kBT).

The data for $\langle {g}_{\mathrm{ff}}({\gamma }^{2},u)\rangle $ are available on a log-log grid with regular step sizes in both dimensions. NEBULAR interpolates this grid using a 2D bicubic interpolation from the GNU Scientific Library (GSL v2.1).

2.3. Two-photon Continuum

2.3.1. H i and He ii

The 22S level in hydrogenic ions can e.g., be populated by direct recombination onto that level, and by downward cascades following electron capture to a higher level. A radiative decay to the 12S level is forbidden by the dipole selection rules (Laporte & Meggers 1925). However, the transition may occur if two photons are emitted whose energies add up to the Lyα energy. The transition probability for the hydrogenic $2{\rm{S}}\to 1{\rm{S}}$ two-photon decay is

Equation (6)

(Nussbaumer & Schmutz 1984). Here, RH and RZ are the Rydberg constants for hydrogen and for hydrogenic ions with nuclear charge Z, respectively. Two-photon decays from higher levels (Hirata 2008) are ignored, as they contribute on the sub-percent level, only.

The two-photon spectrum has a natural upper cut-off at the Lyα frequency. It peaks at half the Lyα frequency when expressed in frequency units, emphasizing the importance of this process for restframe near-UV and far-UV observations. For low densities, the hydrogen two-photon emission dominates the hydrogen free-bound continuum (Section 2.1) below 2000 Å.

The two-photon emission coefficient is

Equation (7)

Here, ${\alpha }_{{2}^{2}{\rm{S}}}^{\mathrm{eff}}$ is the effective recombination coefficient, g(ν) the frequency dependence, and qX the collision rate transition coefficient; see also Equation (4.29) in Osterbrock & Ferland (2006), and Equation (9) in Storey & Sochi (2014).

The three factors are discussed in the following.

2.3.1.1. Effective Recombination Coefficient ${\alpha }_{{2}^{2}{\rm{S}}}^{\mathrm{eff}}$

${\alpha }_{{2}^{2}{\rm{S}}}^{\mathrm{eff}}(T,{N}_{e})$ is the effective recombination coefficient to the 22S level. It has been tabulated for both H i and He ii by Hummer & Storey (1987) over wide temperature and density ranges (Case B, only). The coefficients from the original publication were extracted and digitized, and are reproduced in Appendix C (Tables 2 and 3). For convenience, these tables contain the coefficients for the 22P level as well, so that the total n = 2 effective recombination coefficient may be calculated (not needed for the two-photon emission). For H i, NEBULAR extrapolates ${\alpha }_{{2}^{2}{\rm{S}}}^{\mathrm{eff}}(T,{N}_{e})$ from log T = 3.0 to 2.5, from log T = 4.5 to 5.0, and from log Ne = 2.0 to 0.0. For He ii, extrapolation is used from log T = 3.5 to 3.0, and from log Ne = 2.0 to 0.0. These extrapolations are expected to be accurate within a few percent, as the functional dependence of ${\alpha }_{{2}^{2}{\rm{S}}}^{\mathrm{eff}}(T,{N}_{e})$ at these densities and temperatures is weak.

2.3.1.2. Frequency Dependence g(ν)

The frequency dependence of the two-photon spectrum is absorbed in

Equation (8)

Here, ν12 is the Lyα frequency of the respective hydrogenic ion. Nussbaumer & Schmutz (1984) have presented an analytic fit for the frequency dependent transition probability, A(ν/ν12). It is accurate to within 1% over nearly the full spectral range,

Equation (9)

with $y=\tfrac{\nu }{{\nu }_{12}}\left(1-\tfrac{\nu }{{\nu }_{12}}\right)$, β = 1.53, γ = 0.8, δ = 0.88 and C = 202.0 Z6 RZ/RH s−1, where Z is the nuclear charge.

2.3.1.3. Collisional De-population of the 22S Level

The 22S level can be de-populated by means of angular momentum changing (l-changing) collisions, ${2}^{2}{\rm{S}}\to {2}^{2}{\rm{P}}$, inflicted by other ions and electrons. The 22P level may then decay to the 12S level by emitting a Lyα photon, reducing the two-photon flux. This is described by the collisional transition rate coefficients, qX(T, Ne). Rates for l-changing collisions at a fixed principal quantum number n = 2 are much higher than for n-changing collisions, and $n=2\to 3$ collisions typically require Ne ≳ 106 cm−3 (e.g., Hummer & Storey 1987). Therefore, n-changing collisions are ignored.

Pengelly & Seaton (1964) have developed a theory to calculate these collisional transition rates. Vrinceanu et al. (2012) have argued that these rates are significantly overestimated. This, however, has been disputed by Storey & Sochi (2015) and Guzmán et al. (2016). Consequently, NEBULAR uses the prescription of Pengelly & Seaton (1964). Accordingly, the hydrogen two-photon emissivity becomes significantly reduced for NX ≳ 1000 cm−3.

2.3.2. The He i Two-photon Continuum

The 1s2s 1S and 1s2s 3S states in He i may also decay by two-photon emission to the ground state (Drake et al. 1969). The decay rates for 1s2s 3S are ignored, as they are about 10 orders of magnitude lower than for the 1S state. The total transition probability is

Equation (10)

for 1s2s 1S. In analogy to Nussbaumer & Schmutz (1984), the spectral dependence tabulated in Drake et al. (1969) is approximated in NEBULAR,

Equation (11)

with y = ν/ν12, C = 145.29 s−1, β = −2.259 and γ = −8.77. This fit is accurate to 0.9% or better over 0.025 ≤ y ≤ 0.975.

The rest of the treatment is the same as outlined in Section 2.3.1, with the notable distinction that no extensive data are available for αeff(T, Ne). While CLOUDY calculates these parameters internally, NEBULAR relies on the single temperature dependence between 5000–20,000 K listed in Golovatyj et al. (1997). Fortunately, this is not a big drawback: for typical abundances and depending on T, the He i two-photon continuum is 2–6 orders of magnitude below the H i two-photon continuum. Peak emission in fλ occurs at around 770 nm.

2.4. Emission Lines

2.4.1. H i Emission Lines

The H i emission line spectrum for Case B (Lyman-thick nebulae) is built from Storey & Sochi (2015) and includes all line transitions from upper levels n ≤ 99 onto lower levels n' ≤ 8. The latter was chosen in NEBULAR so that the α line of a ${j}_{\mathrm{nn}^{\prime} }$ series has a wavelength shorter than 36 μm, i.e., it still falls within the free-bound continuum calculated by Ercolano & Storey (2006). The parameter space covers log Ne = 2–6 and log T = 2.0–4.4. The Lyman series (n' = 1) is excluded for Case B.

Linear extrapolation is used from log Ne = 2 to 0, and has been verified by comparison with Pengelly (1964) for log Ne = 0 and T = 1250–80000 K. It is accurate within 2.5% for T = 2500–40000 K. For T = 1250 K and T = 80000 K, the errors are 4% and 7%, respectively. Calculations of the H i line spectrum are limited to upper levels of n ≤ 25 (Storey & Hummer 1995) if extrapolation is used, and are skipped for T > 50,000 K.

For Case A (Lyman-thin nebulae), the emission coefficients are taken from Storey & Hummer (1995). The same limitations hold as outlined above; the Lyman series (n' = 1) is included.

2.4.2. He ii Emission Lines

The He ii spectrum for Case A and Case B is based on Storey & Hummer (1995), with a common upper level of n ≤ 25. Treatment is the same as outlined for H i, with some differences: First, transitions onto lower levels n' ≤ 14 are included. Second, the temperature range is limited to 500 ≤ T ≤ 105 K. Third, calculations are skipped if T > 105 K.

2.4.3. He i Emission Lines

The data from Porter et al. (2013) are used (corrigendum to Porter et al. 2012) to construct the He i spectrum for T = 5000–25,000 K, log Ne = 1–14, and Case B. In total, 44 singlet and triplet lines are available between 2946 and 21623 Å.

2.4.4. Other Remarks

Storey & Hummer (1995) and Storey & Sochi (2015) have provided data servers to access and interpolate their data tables. These servers are not directly useful for NEBULAR because of their interactive nature. They were used to extract the data on the pre-defined (log Ne, log T) grid points. As the original grids are not strictly regular, Mathematica was used to build a regular grid, enabling bicubic 2D GSL interpolation for NEBULAR. Within rounding errors, NEBULAR yields the same results as the original data servers.

Recently, it has been discussed that the energy distributions of free electrons may not follow a purely thermal Maxwell–Boltzmann distribution (e.g., Storey & Sochi 2015; Zhang et al. 2016). At this point, NEBULAR adopts Maxwell–Boltzmann distributions throughout.

2.5. Ionization Fractions

The ionization fractions of H+, He+ and He++ (and their number densities, NX), are calculated for a mixed H/He plasma in collisional ionization equilibrium, solving the Saha equation similar to Rouse (1962). Therein, the algorithm starts with a fixed matter density ρ, and then iteratively obtains Ne; the ionization fractions follow. In the case of NEBULAR, the iteration is skipped because Ne is a fixed parameter. Figure 1 shows these ionization fractions, calculated for a low and a high density mix. Alternatively, user-defined estimates for the ionization fractions can be given to NEBULAR as command-line arguments.

Figure 1.

Figure 1. Hydrogen and helium ionization fractions for Ne = 103 cm−3 and 1015 cm−3, as calculated by NEBULAR.

Standard image High-resolution image

3. Verification and Usage

3.1. Consistency Checks

A series of consistency checks have been carried out to minimize the number of bugs in the code.

First, data tables of Pengelly (1964), Drake et al. (1969), Hummer & Storey (1987), Storey & Hummer (1995), Ercolano & Storey (2006), Porter et al. (2012), van Hoof et al. (2014) and Storey & Sochi (2015) are used in the code. They were restructured to allow for easier and homogeneous integration in the software, and some of them had to be digitized manually. This is an error-prone process. All (Ne, T) surfaces of the derived data products were inspected in Mathematica's interactive 3D visualization module; typographical errors, and errors during restructuring of the multi-dimensional data tables are immediately recognizable. For example, a typographical mistake was found in Table VI of Pengelly (1964) for the He ii Pickering series, where it should read 0.39 instead of 3.39 (see Appendix B).

Second, the GSL 2D interpolation performed on the (Ne, T) grid has been verified by comparing the numeric results with those given in the literature (e.g., Ercolano & Storey 2006). For the emission line spectra, Storey & Hummer (1995) and Storey & Sochi (2015) have provided dedicated data servers operating on the original data tables; NEBULAR's GSL 2D interpolation reproduces numerically identical values based on the restructured tables.

Third, some figures in the reference publications compare several quantities with each other. For example, Figure 1 in Ercolano & Storey (2006) displays the free-bound continuum emission coefficient for H i, He i and He ii. A similar plot is found in Figure 4.1 of Osterbrock & Ferland (2006) for the combined free-bound and free–free continuum, also showing the two-photon spectrum. It was verified that the corresponding sub-routines in NEBULAR reproduce these figures (see Appendix A.1 for an example).

Lastly, comparison calculations have been performed with CLOUDY for simple gas configurations. While CLOUDY and NEBULAR rely to a large extent on the same atomic data bases, differences do exist. Most noteworthy, for example, are different amplitudes for the helium free-bound continuum, because CLOUDY is a photo-ionization code, whereas NEBULAR simply solves the Saha equation for a collision ionized gas. To compensate for this, the ionization fractions calculated by NEBULAR may be overridden with command line arguments.

3.2. Command-line Arguments

NEBULAR is invoked on the command-line and controlled by mandatory and optional arguments (Appendix C., Table 4). If no arguments are given, NEBULAR reports its usage.

There are three mandatory arguments: a wavelength/frequency range including step size, the electron density Ne, and the electron temperature T. The range is assumed to be a wavelength range in Å if the numeric minimum and maximum values are less than 107; otherwise, frequencies [Hz] are assumed. Alternatively, a file containing an ASCII table may be provided, containing the wavelengths for e.g., each pixel of an observed spectrum.

Three example runs with NEBULAR can be found in Appendix A.

3.3. Output

NEBULAR produces an ASCII table with the various components and the total spectrum evaluated at each wavelength (or frequency). The results can be readily displayed in TOPCAT (Taylor 2005).

If a wavelength range is given, then the output spectrum will be in wavelength units (jλ, erg s−1 cm−3 Å−1). If frequencies are given, then the spectrum will be returned in frequency units (jν, erg s−1 cm−3 Hz−1). Internally, all calculations are performed in frequency units. An excerpt of the output is shown in Appendix C., Table 5. Optionally, instead of j = 1/(4π)NX Ne γ, the atomic emission coefficients γ can be returned (e.g., to access the tabulated data by Ercolano & Storey 2006; Storey & Sochi 2015). For examples, see Appendix A.

NEBULAR also prints various parameters to the header comment section of the output file, such as the derived ionization fractions, the ionic number densities, and the total physical gas density.

Pure hydrogen (helium) spectra can be produced by setting the abundance to 0 (1).

3.4. Possible Applications

The synthesis of a complete spectrum from 300–30,000 Å with 0.1 Å resolution takes a few seconds on a 2 GHz CPU. This makes NEBULAR useful to compute e.g., the equivalent width of a particular emission line over the nebular continuum (see Figure 2), and to study the relative contributions of the various continuum processes (Figure 4 in Appendix A.2).

Figure 2.

Figure 2. Hβ equivalent width over the full nebular continuum, as a function of Ne and T, for a helium abundance of 0.1 by parts. To create this plot, NEBULAR was run on a (Ne, T) grid, and the EWs were evaluated for each grid point.

Standard image High-resolution image

Usually, the nebular continuum is weak and often undetected in extragalactic observations. Yet it can become significant at far-UV wavelengths because of the strong two-photon emission. If the continuum has been fixed based on optical observations of e.g., the Hβ line, then its contribution to the GALEX NUV and FUV bandpasses may be estimated (the reason this software was developed, Schirmer et al. 2016). Another application would be the observational properties of the Balmer break at 3646 Å, as a function of spectrograph resolution and dispersion (see Appendix A.3, and also Lintott et al. 2009).

4. Summary

NEBULAR is a lightweight code that synthesizes the nebular spectrum of an ideal H/He gas mix in (collision) ionization equilibrium over a wide range of densities, temperatures and wavelengths. It uses recent and extensive atomic computations by others. Its strengths are mainly on the educational side, to study the response of the spectrum and its various constituents to changes in electron temperature and density. Nonetheless, NEBULAR also has scientific applications, e.g., to determine equivalent line widths and to extrapolate fluxes in unobserved wave bands. To infer accurate physical parameters of a real, astrophysical nebula, full photoionization codes such as CLOUDY must be used.

I thank Gary Ferland, Hai Fu and William Keel for sharing their wisdom and patiently answering my questions. I am indebted to the anonymous referee, for spotting mistakes in the manuscript and for many suggestions that substantially improved this paper. Support for this work was provided by the National Aeronautics and Space Administration through Chandra award number GO4-15110X (PI: M. Schirmer) issued by the Chandra X-ray Observatory Center, which is operated by the Smithsonian Astrophysical Observatory for and on behalf of the National Aeronautics Space Administration under contract NAS8-03060.

Appendix A.: NEBULAR Example Runs

This Appendix contains some example figures and the NEBULAR syntax used to compute the data.

A.1. Extracting Atomic Data—Emission Coefficients

The data for Figure 3 can be reproduced with the following two commands:

  • 1.  
    >./nebular -r 1e13 6e15 1e11 -t 10000 -n 1 -u 2 -ko out.dat
  • 2.  
    > awk '($0!/#/) {print $2, $4+$10, $5+$11, $6+$12, $7}' out.dat > plot.dat

Figure 3.

Figure 3. Combined free-bound and free–free continuum for H i (jagged black line), He i (dashed–dotted, red), He ii (dashed, blue), and the two-photon continuum for H i (smooth black line), to be compared with Figure 4.1 in Osterbrock & Ferland (2006). Small differences between our data and that of Osterbrock & Ferland (2006) are attributed to the use of recent data from Ercolano & Storey (2006) and van Hoof et al. (2014).

Standard image High-resolution image

The first command calculates the spectrum. Option -r specifies the frequency range and step size, needed to get the result in frequency units. Option -u 2 specifies that the computations yield the emission coefficients (γfb etc.), i.e., the atomic data tabulated in e.g., Ercolano & Storey (2006), multiplied by frequency ν. Option -k suppresses the calculation of emission lines. A summary of the syntax is given in Appendix C., Table 4.

The second command line is to extract the wavelengths, the sums of free-bound and free–free emission for the three ionic species, and the hydrogen two-photon spectrum, respectively.

A.2. Calculating a Model Spectrum

Figure 4 shows a model spectrum. The difference to Figure 3 is that NEBULAR multiplied the various emission coefficients by the electronic and ionic densities. A wavelength range (as compared to a frequency range) is chosen as input, and thus the result is in wavelength units (as opposed to frequency units in the previous example).

Figure 4.

Figure 4. Total emissiion coefficient j for a hydrogen helium gas mix (top thick solid line, including the emission line series). The other three solid lines with the characteristic ionization edges represent the free-bound contributions by H i, He i and He ii. The two dashed lines display the two-photon continua (H i and He ii), and the lower dashed–dotted line the H i free–free emission.

Standard image High-resolution image

The data for Figure 4 were calculated with

  • 1.  
    >./nebular -r 300 12000 1 -t 14000 -n 100

If one were to compare this spectrum with a real observation, then it just has to be multiplied with a constant factor (effectively, integrating over the nebula's volume and folding in the luminosity distance). This would yield the observable spectral flux density, fλ(λ).

Figure 5.

Figure 5. The hydrogen Balmer break at 3646 Å, as seen by two model spectrographs with resolutions R = 2000 and R = 10,000, respectively. The confluent high-order Balmer series forms a pseudo-continuum, masking the Balmer break. The broad minimum between 3647 Å and 3649 Å is artificial, because upper levels higher than n = 99 are not available in NEBULAR.

Standard image High-resolution image

If the observed spectrum is on an arbitrary wavelength scale, then NEBULAR can resample the spectrum on the same grid:

  • 1.  
    >./nebular -i $\langle $ ASCII wavelength table $\rangle $ -t 14000 -n 100

A.3. Visualizing the Pseudo-continuum near the Balmer Break

The data for this plot can be generated by smoothing the model spectrum with a Gaussian kernel, to mimic the finite spectrograph resolution, R = λλ. The FWHM of the kernel is set to Δλ. The spectral dispersion is controlled by the wavelength step size (third numeric argument for option -r). For the R = 10,000 and R = 2000 examples, dispersions of 0.12 and 0.60 Å pix−1 are used:

  • 1.  
    >./nebular -r 3640 3670 0.60 -t 10000 -n 100 -w 1.80 -b -o R2000.dat
  • 2.  
    > ./nebular -r 3640 3670 0.12 -t 10000 -n 100 -w 0.36 -b -o R10000.dat

Options -w and -b specify the kernel width and suppress the output of header lines, respectively.

Appendix B.: Corrections to the Literature

This is a list of errors (mostly of typographical nature) found in the literature:

  • 1.  
    In Table VI of Pengelly (1964) for the He ii Pickering series, for n = 19, t' = 1 and Case B, it should read 0.39 instead of 3.39.
  • 2.  
    Pengelly & Seaton (1964) erroneously have a factor of π2 in the denominator for the Debye radius (their Equation (33)). Correct would be a single factor π. Subsequent derivations and numeric evaluations, however, are correctly calculated.
  • 3.  
    In their Equation (3.40), Brocklehurst (1971) also have a factor of π2 in the denominator for the Debye radius, and carry it over in their calculations of the collision rates. Spitzer (1956) is cited for the equation, yet in that original work the dependence on π is linear. CLOUDY (v13.03) has the same wrong dependence on π2 in the calculation of the collision rates, a bug that has been fixed in v15.
  • 4.  
    In Table 4.2 of Osterbrock & Ferland (2006) the H i Paschen-line series, the values tabulated for jPδ/jHβ actually refer to jPepsilon/jHβ. This table has been derived from Pengelly (1964), where this error is absent.
  • 5.  
    In Table 4.3 of Osterbrock & Ferland (2006) the relative intensities with respect to He iiλ4686 are mistakenly a factor of 10 too low for $n\to 2$ and T = 5000, 10,000 and 20,000 K. This table has been reproduced from Storey & Hummer (1995), where this error is absent.

Appendix C.: Appendix Tables

The tables in this appendix contain the command-line syntax for NEBULAR, an example of its numeric output, and digitized atomic data from the literature.

Table 2.  Effective Recombination Coefficients to H i 22S (Upper Half) and H i 22P (Lower Half), see also Section 2.3

  log(Ne/cm−3)
  2 3 4 5 6 7 8 9 10
T [K] ${\alpha }_{{\rm{H}}\,{\rm{I}}\,{2}^{2}{\rm{S}}}^{\mathrm{eff}}[{\mathrm{cm}}^{3}\,{{\rm{s}}}^{-1}]$
1000 3.594e−13 3.701e−13 3.891e−13 4.226e−13 4.814e−13 5.887e−13 7.959e−13 1.163e−12 1.842e−12
3000 1.843e−13 1.861e−13 1.894e−13 1.950e−13 2.047e−13 2.211e−13 2.491e−13 2.846e−13 3.091e−13
5000 1.334e−13 1.341e−13 1.354e−13 1.377e−13 1.416e−13 1.481e−13 1.592e−13 1.710e−13 1.679e−13
7500 1.020e−13 1.023e−13 1.029e−13 1.039e−13 1.057e−13 1.087e−13 1.137e−13 1.182e−13 1.101e−13
10,000 8.373e−14 8.390e−14 8.422e−14 8.477e−14 8.571e−14 8.729e−14 9.006e−14 9.210e−14 8.350e−14
12,500 7.152e−14 7.162e−14 7.180e−14 7.213e−14 7.267e−14 7.358e−14 7.525e−14 7.621e−14 6.807e−14
15,000 6.268e−14 6.274e−14 6.285e−14 6.305e−14 6.337e−14 6.392e−14 6.497e−14 6.540e−14 5.790e−14
20,000 5.059e−14 5.061e−14 5.065e−14 5.072e−14 5.083e−14 5.102e−14 5.147e−14 5.144e−14 4.513e−14
30,000 3.690e−14 3.690e−14 3.690e−14 3.689e−14 3.686e−14 3.682e−14 3.687e−14 3.665e−14 3.204e−14
T [K] ${\alpha }_{{\rm{H}}\,{\rm{I}}\,{2}^{2}{\rm{P}}}^{\mathrm{eff}}[{\mathrm{cm}}^{3}\,{{\rm{s}}}^{-1}]$
1000 1.151e−12 1.163e−12 1.187e−12 1.235e−12 1.328e−12 1.512e−12 1.912e−12 2.947e−12 5.979e−12
3000 4.854e−13 4.865e−13 4.890e−13 4.943e−13 5.049e−13 5.265e−13 5.703e−13 6.760e−13 9.467e−13
5000 3.185e−13 3.189e−13 3.197e−13 3.216e−13 3.254e−13 3.331e−13 3.489e−13 3.880e−13 4.919e−13
7500 2.251e−13 2.253e−13 2.257e−13 2.265e−13 2.281e−13 2.316e−13 2.386e−13 2.566e−13 3.080e−13
10,000 1.747e−13 1.748e−13 1.750e−13 1.755e−13 1.764e−13 1.784e−13 1.823e−13 1.926e−13 2.247e−13
12,500 1.429e−13 1.429e−13 1.430e−13 1.434e−13 1.440e−13 1.453e−13 1.478e−13 1.545e−13 1.771e−13
15,000 1.208e−13 1.209e−13 1.210e−13 1.212e−13 1.217e−13 1.226e−13 1.243e−13 1.290e−13 1.461e−13
20,000 9.220e−14 9.222e−14 9.229e−14 9.243e−14 9.272e−14 9.329e−14 9.425e−14 9.687e−14 1.080e−13
30,000 6.217e−14 6.219e−14 6.223e−14 6.231e−14 6.247e−14 6.276e−14 6.319e−14 6.427e−14 7.047e−14

Note.  Extracted and reproduced from Table 8 in Hummer & Storey (1987). The total recombination coefficient for the n = 2 level is obtained by adding the 22S and 22P values.

Download table as:  ASCIITypeset image

Table 3.  Effective Recombination Coefficients to He ii 22S (Upper Half) and He ii 22P (Lower Half)

  log(Ne/cm−3)
  2 3 4 5 6 7 8 9 10 11 12 13
T [K] ${\alpha }_{\mathrm{HeII}\,{2}^{2}{\rm{S}}}^{\mathrm{eff}}[{\mathrm{cm}}^{3}\,{{\rm{s}}}^{-1}]$
3000 8.296e−13 8.373e−13 8.552e−13 8.887e−13 9.487e−13 1.056e−12 1.250e−12 1.627e−12 2.425e−12 4.072e−12 8.155e−12 2.670e−11
5000 6.174e−13 6.207e−13 6.287e−13 6.439e−13 6.712e−13 7.189e−13 8.029e−13 9.551e−13 1.246e−12 1.737e−12 2.632e−12 5.930e−12
7500 4.859e−13 4.876e−13 4.917e−13 4.997e−13 5.140e−13 5.390e−13 5.821e−13 6.578e−13 7.949e−13 9.944e−13 1.272e−12 2.244e−12
10,000 4.091e−13 4.101e−13 4.126e−13 4.176e−13 4.265e−13 4.421e−13 4.688e−13 5.149e−13 5.962e−13 7.030e−13 8.167e−13 1.246e−12
12,500 3.572e−13 3.578e−13 3.596e−13 3.630e−13 3.691e−13 3.798e−13 3.980e−13 4.292e−13 4.863e−13 5.492e−13 5.996e−13 8.298e−13
15,000 3.190e−13 3.195e−13 3.208e−13 3.232e−13 3.277e−13 3.355e−13 3.487e−13 3.713e−13 4.103e−13 4.542e−13 4.748e−13 6.122e−13
20,000 2.659e−13 2.661e−13 2.669e−13 2.683e−13 2.710e−13 2.756e−13 2.835e−13 2.968e−13 3.197e−13 3.423e−13 3.381e−13 3.961e−13
30,000 2.036e−13 2.037e−13 2.041e−13 2.047e−13 2.059e−13 2.080e−13 2.116e−13 2.176e−13 2.281e−13 2.361e−13 2.199e−13 2.313e−13
50,000 1.430e−13 1.430e−13 1.431e−13 1.433e−13 1.437e−13 1.443e−13 1.454e−13 1.473e−13 1.508e−13 1.519e−13 1.352e−13 1.289e−13
100,000 8.524e−14 8.524e−14 8.525e−14 8.526e−14 8.529e−14 8.531e−14 8.535e−14 8.541e−14 8.584e−14 8.512e−14 7.384e−14 6.482e−14
T [K] ${\alpha }_{\mathrm{HeII}\,{2}^{2}{\rm{P}}}^{\mathrm{eff}}[{\mathrm{cm}}^{3}\,{{\rm{s}}}^{-1}]$
3000 2.830e−12 2.844e−12 2.866e−12 2.908e−12 2.995e−12 3.168e−12 3.516e−12 4.244e−12 5.888e−12 1.051e−11 2.671e−11 9.972e−11
5000 1.926e−12 1.931e−12 1.938e−12 1.953e−12 1.985e−12 2.047e−12 2.174e−12 2.433e−12 2.983e−12 4.390e−12 8.497e−12 2.206e−11
7500 1.407e−12 1.409e−12 1.412e−12 1.418e−12 1.432e−12 1.460e−12 1.516e−12 1.631e−12 1.869e−12 2.459e−12 4.036e−12 8.288e−12
10,000 1.121e−12 1.123e−12 1.124e−12 1.127e−12 1.135e−12 1.150e−12 1.181e−12 1.246e−12 1.378e−12 1.706e−12 2.551e−12 4.567e−12
12,500 9.375e−13 9.383e−13 9.392e−13 9.411e−13 9.457e−13 9.553e−13 9.753e−13 1.016e−12 1.101e−12 1.310e−12 1.846e−12 3.017e−12
15,000 8.082e−13 8.088e−13 8.093e−13 8.106e−13 8.136e−13 8.202e−13 8.340e−13 8.624e−13 9.205e−13 1.067e−12 1.442e−12 2.209e−12
20,000 6.366e−13 6.369e−13 6.371e−13 6.378e−13 6.394e−13 6.430e−13 6.507e−13 6.666e−13 6.989e−13 7.828e−13 1.001e−12 1.407e−12
30,000 4.502e−13 4.503e−13 4.504e−13 4.507e−13 4.514e−13 4.529e−13 4.563e−13 4.633e−13 4.774e−13 5.161e−13 6.232e−13 7.972e−13
50,000 2.857e−13 2.858e−13 2.858e−13 2.859e−13 2.862e−13 2.868e−13 2.880e−13 2.907e−13 2.955e−13 3.102e−13 3.570e−13 4.215e−13
100,000 1.488e−13 1.488e−13 1.488e−13 1.488e−13 1.489e−13 1.491e−13 1.495e−13 1.503e−13 1.515e−13 1.552e−13 1.720e−13 1.912e−13

Note.  Extracted and reproduced from Table 9 in Hummer & Storey (1987).

Download table as:  ASCIITypeset image

Table 4.  Command-line Arguments for NEBULAR

Args. Value Purpose
-r min, max, delta [Å or Hz] wavelength/frequency range and step size;
    the output will have frequency or wavelength units
-i input wavelength/frequency table alternative to -r; ASCII format
-t electron temperature [K]  
-n electron number density [cm−3]  
-f H+, He+, He++ ion. fractions optional; calculated internally if omitted
-o output file name optional; default: nebular_spectrum.dat
-a helium abundance ratio by parts optional; default: 0.10
-c A or B optional; Case A/B for emission lines; default: B
-w FWHM [Å or Hz] optional; FWHM of a Gaussian kernel to convolve the spectrum
-b optional; suppresses header lines if given
-k optional; suppresses emission lines if given (faster execution)
-u 0, 1, or 2 0: returns j = 1/(4π)NX Ne γ (model spectra)
    1: returns γ (atomic data)
    2: returns νγ

Download table as:  ASCIITypeset image

Table 5.  Resulting Output of NEBULAR (abridged)

ν [Hz] λ [Å] jλ jfb(H i) j2q(H i) jff(H i) ${j}_{\mathrm{nn}^{\prime} }$(H i)
6.16603e+14 4862.0 6.46661e−16 2.92421e−16 2.75241e−16 3.66144e−17 0
6.16578e+14 4862.2 6.46636e−16 2.92431e−16 2.75203e−16 3.66159e−17 0
6.16552e+14 4862.4 6.46612e−16 2.92442e−16 2.75166e−16 3.66174e−17 0
6.16527e+14 4862.6 6.46587e−16 2.92452e−16 2.75128e−16 3.66188e−17 0
6.16502e+14 4862.8 4.42298e−12 2.92463e−16 2.75090e−16 3.66203e−17 4.42234e−12
6.16476e+14 4863.0 6.46538e−16 2.92474e−16 2.75053e−16 3.66218e−17 0
6.16451e+14 4863.2 6.46514e−16 2.92484e−16 2.75015e−16 3.66233e−17 0
6.16426e+14 4863.4 6.46490e−16 2.92495e−16 2.74978e−16 3.66247e−17 0
6.16400e+14 4863.6 6.46465e−16 2.92506e−16 2.74940e−16 3.66262e−17 0
6.16375e+14 4863.8 6.46441e−16 2.92516e−16 2.74902e−16 3.66277e−17 0

Note.  The first two columns contain frequencies and wavelengths. The third column is the total spectrum, either jν or jλ. The remaining columns give the free-bound, two-photon, free–free and emission-line components for H i, respectively (Data for He i and He ii are not shown).

Download table as:  ASCIITypeset image

Footnotes

Please wait… references are loading.
10.1088/1538-3873/128/969/114001