---
title: "From moving molecules to a line with a width"
description: "Count emitting molecules, normalize their velocity distribution and integrate a transparent sightline before averaging it into receiver channels."
canonical_url: "https://sandboxphysics.com/stories/molecular-line-cube/molecules-gaussian-lines-and-thin-emission/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/molecular-line-cube/molecules-gaussian-lines-and-thin-emission/"
last_modified: "2026-11-04"
---

[Molecular line cubes: space, velocity and hidden depth](https://sandboxphysics.com/stories/molecular-line-cube/)

Molecular line cubes · L1

# From moving molecules to a line with a width

Sandbox Physics · 2026-11-04

The area of a transparent emission line adds the contributions of emitting molecules along a sightline. Its width describes how those contributions are spread over velocity. Keeping area and width separate explains why a lower peak need not mean fewer molecules.

## Before you begin

Read the introductory channel-image article and be comfortable with graph axes. The Gaussian and line integral are introduced here.

## Count molecules that can make the transition

Begin with an imaginary molecule having just two energy levels. A downward transition releases one photon whose energy is the difference between the levels. Only molecules in the upper level are available for that particular spontaneous decay.

The upper-level fraction $p_u$ depends on temperature and on the degeneracies $g_u,g_l$: the numbers of states sharing each energy. Local thermodynamic equilibrium, or LTE, assigns the Boltzmann ratio below. This is an excitation assumption. Establishing it in a real cloud would require a separate comparison of collisional and radiative rates.

The Lab uses a specified two-level teaching transition at $345\,\mathrm{GHz}$, degeneracy ratio three and molecular mass 28 atomic mass units. Real CO has many rotational levels; the native-data tutorial keeps those spectroscopy inputs separate.

$$
E_u-E_l=h\nu_0,\qquad p_u=\frac{g_u e^{-h\nu_0/(kT)}}{g_l+g_u e^{-h\nu_0/(kT)}}
$$

The gap determines photon frequency. Temperature, in kelvin, and the state counts determine the emitting fraction.

Reading: Mangum & Shirley, How to Calculate Molecular Column Density, arXiv 1501.01703v4 (2017) · Leiden Atomic and Molecular Database, fixed CO data file

## Let a distribution of velocities broaden the line

A cloud can be stationary while its molecules move thermally. The component of thermal velocity along one axis is Gaussian. Most molecules are near the mean; increasingly few occupy the wings.

Use positive $v$ for recession and $v_0$ for the parcel’s mean recession speed. Normalize the profile to unit area. The number of emitters can then set the total radiation while the profile decides how to distribute it. Consequently $\phi_v$ has units of inverse velocity.

The model also prescribes an unresolved, Gaussian nonthermal dispersion $\sigma_{\rm nt}$. Convolving independent Gaussians adds their variances. This parameter describes a width; it does not generate a turbulent velocity field or identify a unique turbulent mechanism.

At 20 kelvin, the thermal dispersion of a 28-atomic-mass-unit molecule is $77.1\,\mathrm{m\,s^{-1}}$. Adding a nonthermal dispersion of $150\,\mathrm{m\,s^{-1}}$ gives $\sigma=168.6\,\mathrm{m\,s^{-1}}$. Its full width at half maximum is about $397\,\mathrm{m\,s^{-1}}$. To obtain that width, set the Gaussian to half its peak, take logarithms and subtract the two symmetric roots.

$$
\phi_v(v)=\frac{e^{-(v-v_0)^2/(2\sigma^2)}}{\sqrt{2\pi}\sigma},\quad\int\phi_v\,dv=1,\quad\sigma^2=\frac{kT}{m_{\rm mol}}+\sigma_{\rm nt}^2
$$

Adding all velocities returns unity, so broadening does not create extra photons.

$$
\mathrm{FWHM}=2\sqrt{2\ln2}\,\sigma
$$

The full width between the half-height points is approximately 2.355 standard deviations.

Reading: Mangum & Shirley, How to Calculate Molecular Column Density, arXiv 1501.01703v4 (2017)

## Add the transparent sightline

For this step, neglect absorption and set the incident background to zero. Let $A_{ul}$ be the spontaneous transition rate per upper-state molecule and $n_u$ the upper-state number density. Isotropic emission spreads the power over a full sphere of directions.

Specific intensity is power per projected area, solid angle and frequency interval. A small path segment adds $j_\nu ds$ to the specific intensity. Integrating over depth and then over frequency removes the normalized profile, leaving the upper-state column $N_u$: the number of emitting molecules per projected square metre.

This result explains why a transparent line area can constrain an emitting column. Inferring a total molecular column still requires the excitation fraction. Background absorption and opacity introduce further conditions, which the next chapter adds explicitly.

$$
j_\nu=\frac{h\nu_0 A_{ul}n_u}{4\pi}\phi_\nu,\qquad \int I_\nu\,d\nu=\frac{h\nu_0 A_{ul}N_u}{4\pi}
$$

The frequency-integrated intensity retains its per-solid-angle units. The result still refers to one viewing direction per unit solid angle.

Reading: Mangum & Shirley, How to Calculate Molecular Column Density, arXiv 1501.01703v4 (2017) · Sandbox Physics independent molecular-line science producer and reader package

## Save a channel average, then recover an area

In the low-speed radio convention, $v=c(1-\nu/\nu_0)$, so recession lowers frequency. The normalized profiles transform as $\phi_\nu=(c/\nu_0)\phi_v$. The Jacobian matters: a per-hertz profile cannot simply be reused as a per-velocity profile.

A finite receiver channel averages the transferred brightness over its interval. The stored number is still brightness. Multiplying by channel width gives the contribution to integrated brightness. Combining two equal-width channels takes their mean and doubles the new width.

For a worked example, prescribe a transparent Gaussian brightness profile with peak one kelvin and dispersion $0.250\,\mathrm{km\,s^{-1}}$. Its area is peak times $\sqrt{2\pi}\sigma$, or $0.6267\,\mathrm{K\,km\,s^{-1}}$. Double the dispersion at fixed emitting column and excitation: the peak halves while the area stays fixed. The one-kelvin peak is a supplied brightness, not a measurement of the gas temperature.

$$
\overline T_i=\frac{1}{\Delta v_i}\int_{v_i^-}^{v_i^+}T(v)\,dv,\qquad W=\sum_i\overline T_i\Delta v_i
$$

Channel widths convert the saved average brightnesses back into an integrated line.

Reading: Mangum & Shirley, How to Calculate Molecular Column Density, arXiv 1501.01703v4 (2017) · Sandbox Physics independent molecular-line science producer and reader package

## Exercises and explanations

1. Two transparent Gaussian lines have equal peaks, but the second has twice the dispersion. Do they have equal areas?

   Read the explanation

   The second area is twice as large. Broadening conserves area only when the emitting column and excitation are held fixed; fixing the peak instead changes the total emitted contribution.

2. Why does replacing $\phi_\nu$ with $\phi_v$ require a factor?

   Read the explanation

   Their integration elements differ: $|d\nu|=(\nu_0/c)dv$. Both profiles must integrate to unity, so their values transform with the reciprocal Jacobian. Their units differ as well.

## Try the prediction

### [Follow area and peak separately](https://sandboxphysics.com/labs/molecular-line-cube/)

1. Choose the transparent preset and compare sightlines. Separate changes of integrated brightness from changes of peak position.
2. Reduce rotation to zero at the same inclination. Predict which peaks align and whether the integrated image still varies from centre to edge.
3. Use the independent offline producer to compare two microscopic widths at fixed thin column. Integrate both lines in that offline exercise. The interactive material width is fixed by its presets.

[Previous: Why a velocity channel cannot select one depth](https://sandboxphysics.com/stories/molecular-line-cube/why-velocity-channels-are-not-depth-slices/) [Next: When gas obscures its own line](https://sandboxphysics.com/stories/molecular-line-cube/opacity-and-the-planck-line-source/)

## Sources and calculation scope

1. [Mangum & Shirley, How to Calculate Molecular Column Density, arXiv 1501.01703v4 (2017)](https://arxiv.org/abs/1501.01703v4)

   Fixed v4: transfer and brightness equations 13–32, partition section 7, approximations 11–14 and appendices A–C. The printed Gaussian-width power in A4/A5 is checked against the normalized profile; no blanket non-LTE solution is inherited.

2. [Leiden Atomic and Molecular Database, fixed CO data file](https://home.strw.leidenuniv.nl/~moldata/CO.html)

   Exact native table identity is checked in the optional local reader. Its 41 ground-vibrational levels and spectroscopy are separate from the own two-level Lab material; collisional rates are not solved or redistributed here.

3. [Sandbox Physics independent molecular-line science producer and reader package](https://sandboxphysics.com/stories/molecular-line-cube/materials/molecular-line-cube-reader-science-v1.zip)

   Own synthetic input, independent frequency-space/continuous-ray references and retained resolution failures. The native reader obtains exact source files locally; no observed image, native table or app/Node Engine is bundled.
