modsource computes the spectrum emitted by a uniform source. The
spectrum consists of continuum emission and spectral line emission. The line
emission is computed under the assumption of local thermodynamic equilibrium
modsource takes into account the optical depth of the lines, the finite
angular resolution of the telescope, and the presence of the cosmic microwave
background (CMB) to compute the radiative transfer. Depending on the continuum
and line excitation temperatures, the lines can appear in emission or in
absorption in the synthetic spectrum. Several molecules and/or components can
be modeled at the same time. The spectra of these components are computed
separately, and then added linearly. It is a correct treatment for components
that do not overlap spectrally or spatially within the beam, or for components
with optically thin emission. However, such a treatment is not correct in the
case of spatially-overlapping components with optically thick emission. In
such cases, the intensities of the lines will be overestimated.
The components belong by default to the ``main group'' of components. The
components marked with the option
/absorption belong to the ``foreground''
group of components. For the ``main group'' components, the background used to
compute the radiative transfer is the sum of the CMB and the source continuum
emission. For the ``foreground'' components, the spectrum is computed
recursively and the background initially consists of the spectrum of the
``main group'' (that already contains the CMB and the source continuum).
The source continuum emission is assumed to be optically thin (i.e.
transparent to the CMB) and spatially uniform, to fill the beam of the
single-dish telescope or the synthesized beam of the interferometer, and to
come from a location behind the medium that contains the molecules modeled
with modsource (i.e. lines and continuum are not mixed). The assumption of a
uniform continuum emission filling the beam will produce inacurrate results in
the case of a centrally peaked continuum emission and a molecule component
with a beam filling factor smaller than 1. In such a case, the molecule should
``see'' a stronger continuum than what modsource assumes. Given that different
components may have different beam filling factors, properly taking into
account the small-scale structure of the continuum emission would not be
trivial and is beyond the scope of
Let's call the effective radiation temperature of the source continuum emission. It corresponds to the level of the ``baseline'' in the spectrum if this ``baseline'' represents the true continuum level of the source (case of, e.g., interferometric or some single-dish wobbler spectra), or the user has to assume its value if the baseline cannot be trusted and has been removed (case of, e.g., single-dish position-switching spectra). can be a frequency-dependent function.
For a component with a beam filling factor of 1, the brightness temperature of the spectrum is computed as:
where is the opacity of the transition, the excitation temperature of the transition, the temperature of the CMB, and , with the Planck constant, and the Boltzmann constant. The last term in Eq. 1 represents the subtraction of the spectrum of the off-source position in the case of single-dish observations or the spatial filtering of the uniform CMB radiation in the case of interferometric observations. This equation can be rewritten as:
For a component with an arbitrary beam filling factor, , modsource computes the spectrum as:
For components in the ``main group'' (mg), the output spectrum is:
For additional components in the ``foreground group'', the output spectrum is computed with the following recursive equation:
with varying from 1 to and . Note that this equation is correct only if all foreground components have a beam filling factor, , of 1.
By default, the final output spectrum is
or, if there is no ``foreground group'' component:
If the user selects the option
/keepcont, then the output spectrum is
in the first case and
in the second case. More details about
modsource can be found in Maret, Hily-Blant, Pety et al., Astronomy
& Astrophysics 526, A47 (2011).