A moment for Moments

When dealing with spectral line data cubes, we will often use moments as simple descriptions of the emission in the data set. This is an aid to understanding what is happening inside the three dimensional data volume of the cube. Let’s set up a little formalism. Consider the spectral line data cube to be a map of emission on the sky, with two spatial coordinates and one spectral coordinate. Since moments only make sense when dealing with spectral line data, let us further assume that the spectral coordinate is a line-of-sight velocity calculated from the Doppler formula. Thus our cube is . A single spectrum at position will be denoted , dropping the spatial coordinate for brevity.

If we look at a spectrum of a line, it will have a form like the figure below. Example spectrum The line looks roughly like a Gaussian and the “jitter” seen off the line is instrumental noise (say, around km/s). A compact way of describing the line would be to fit a Gaussian curve to it and simply describe the curve in terms of the three parameters of the fit, namely

The three fit parameters are , the amplitude of the line, which is the centre of the line, and which is a measurements of the line width. These are annotated in the figure below. The value will have units of the -axis (here Kelvin). The line centre () and line width () will have the units of the -axis (here km/s).
Example spectrum While we can fit this line, the non-linear regression of a Gaussian can be unstable and line profiles can also be messier, so we use moments as a separate, complementary approach.

The idea for moments is to use sums over the emission line to estimate the parameters. We define the zeroth moment (or the zeroth-order moment) as

This is the area under the curve, which we approximate as the sum of the spectrum over the velocity channels in the line. Velocity channels are the discrete samples in the spectrum. They each have an associated width $\delta v$ which is taken to be uniform in our applications, though analogous moments in optical data can have varying channel widths. Because we are (approximately) integrating the spectrum, is often called the integrated intensity.

Note that the sum over channels with the line in them is necessarily well defined. In noisy data, how can we determine where the line ends and the noise begins? There are many techniques for doing so. In the case of the integrated intensity, we don’t worry too much because the noise fluctuations should be around $T=0$ so we add roughly positive and negative contributions. This makes the estimate of $M_0$ a little noisier but should not change its value. The default behaviour is to sum over the entire spectrum, but this can be improved by masking, which means ignoring data which is likely to be only noise.

The first moment is defined as

This formulation should look somewhat familiar: it looks a lot like a one-dimensional centre-of-mass calculation. Indeed, the first moment is a measure of the centre-of-emission over the line. We therefore call this the velocity centroid. Note the normalization by the integrated intensity so that the resulting units of are in units of the line-of-sight velocity . For a Gaussian line profile and no noise, in the spectrum figure above. We use this as an approximation, but again, the noise will cause there to be some errors in this estimator. Masking will limit this uncertainty.

The final moment we usually consider is second moment:

This is an estimate of the variance of around the line centroid . Practically, we use the estimator for the line centroid. We use this estimator as a measurement of the line width, .

From here, we define higher order moments though we use them rarely:

We have special names for and . We call the skewness since for a symmetric line profile; if the line profile has long tail for ; and for . We define the kurtosis as since for a Gaussian line. Then the kurtosis is less than zero if the line width has narrow tails with respect to the Gaussian and is more centrally concentrated. The kurtosis is larger than zero if the line has broad tails.

You may note that we have not made an estimator of the amplitude . Usually, this value is taken as the maximum of the spectrum over the line:

which also provides an estimate of the centroid

where means the velocity channel at which the maximum is found (more details here.

Caveats:

  • Remember that moment can be more susceptible to instrumental noise than Gaussian fits in estimating the parameters of the line.
  • Masking is essential for higher order moments and dramatically improves all moments, but there is a risk that the masking will clip out real line emission, biasing the moment estimators.
  • Moment estimators are defined for all line profiles, not just Gaussians. However, the values must be interpreted with care. For example, if there are two velocity components(i.e., the line is well described by a sum of two Gaussians), the velocity dispersion will represent the separation between the Gaussians.
Written on May 5, 2016