Gauss-Hermite¶
Convolution and Integration¶
The Gauss-Hermite (GH) expansion is a standard parametrization for galaxy
emission-line kinematics, introduced by van der Marel & Franx (1993) and
Gerhard (1993). It represents a profile that departs from a pure Gaussian
through higher-order shape corrections, with \(h_3\) controlling skewness and
\(h_4\) controlling kurtosis. This document derives the closed-form pixel
integral used in integrate_gaussHermite() and
shows how the LSF convolution reduces to a simple rescaling of the shape
parameters.
The Gauss-Hermite Distribution¶
Using the probabilists’ Hermite polynomials \(\text{He}_m\), the normalised GH profile centred at \(\mu\) with width \(\sigma\) is
The first few probabilists’ Hermite polynomials are
The prefactor \(1/\sqrt{m!}\) ensures orthonormality with respect to the standard normal weight \(e^{-y^2/2}\), which guarantees that the profile integrates to 1 for any values of \(h_m\). The sum starts at \(m = 3\) because \(\text{He}_0 = 1\), \(\text{He}_1\), and \(\text{He}_2\) are absorbed into the normalisation, mean, and variance of the base Gaussian.
In unite the expansion is truncated at \(M = 4\), with free parameters
\(h_3\) and \(h_4\).
Convolution with a Gaussian LSF¶
The instrumental line spread function (LSF) is modelled as a Gaussian with width \(\sigma_\text{lsf}\). Convolving \(\mathcal{L}\) with this kernel:
Step 1 — Gaussian term. The zeroth-order term convolvs trivially:
Step 2 — Derivative identity. The probabilists’ Hermite polynomials satisfy the Rodrigues formula \(\text{He}_m(t)\,e^{-t^2/2} = (-1)^m\,d^m e^{-t^2/2}/dt^m\), from which:
Step 3 — Integration by parts. Applying the identity to each Hermite correction and integrating by parts \(m\) times (boundary terms vanish since Gaussians decay at \(\pm\infty\)):
Step 4 — Apply the identity in reverse. Converting the derivative back to a Hermite polynomial using the Rodrigues formula:
Result. The convolved distribution is again a GH profile with the same \(\mu\) but wider width \(\sigma_\text{new}\) and rescaled shape parameters:
The ratio \(r^m < 1\) suppresses higher-order moments: convolution with the LSF washes out the non-Gaussian character of the line, with stronger suppression for higher-order terms.
CDF and Pixel Integration¶
Exact pixel integration requires the cumulative distribution function (CDF) \(F(x) = \int_{-\infty}^x (\mathcal{L} * G_\text{lsf})(x')\,dx'\).
The Gaussian base term integrates directly to the standard normal CDF \(\Phi(y_\text{new})\). For each Hermite correction, the identity \(\int g(y)\,\text{He}_m(y)\,dy = -g(y)\,\text{He}_{m-1}(y) + C\) (the indefinite integral of a Gaussian-weighted Hermite polynomial reduces to the next-lower-order polynomial times the Gaussian envelope) yields:
Collecting all terms:
Each correction term in the CDF is a Gaussian envelope \(g(y)\) multiplied by a polynomial of one order lower than the corresponding PDF correction. The pixel integral over the bin \([\lambda_l, \lambda_h]\) is then simply \(F(\lambda_h) - F(\lambda_l)\).
Connection to the Code¶
In integrate_gaussHermite(), the half-variance
coordinate \(t = y/\sqrt{2}\) is used throughout so that erf can be
called directly. Translating the CDF formula for \(m = 3, 4\):
which correspond to c3 = h3 * r3 / _SQRT6 and
c4 = h4 * r3 * r / _SQRT24 in the implementation. The antiderivative
at coordinate \(y = t\sqrt{2}\) is:
and the final pixel integral is: