452 Radio Interferometry (ALMA): The Jansky and Its Chain

The unit of flux density in radio astronomy is the jansky. An interferometer measures correlated voltages; converting these to janskys requires a source of known flux density. This subsection traces where that number comes from, using the CASA distribution, whose task implementations ship as readable Python source alongside the compiled libraries.

The flux scale

Proposition 452.1 (The flux standard is a menu).

The task setjy, which writes model flux densities into the data set, accepts eleven mutually distinct standards:

\[ \begin {array}{ll} \text {extragalactic} & \text {Baars; Perley 90; Perley-Taylor 95; Perley-Taylor 99;} \\ & \text {Perley-Butler 2010, 2013, 2017; Scaife-Heald 2012;} \\ & \text {Stevens-Reynolds 2016} \\[3pt] \text {solar system} & \text {Butler-JPL-Horizons 2010, 2012} \\ \end {array} \]
The default is ’Perley-Butler 2017’. Each is a separate scale constructed by a separate group from separate observations; the choice is a task argument.

452.1 The solar-system scale is a set of tabulated models

For standard=’Butler-JPL-Horizons 2012’ the flux density is computed from the apparent solid angle at the epoch of observation, obtained from a JPL–Horizons ephemeris, and a model brightness temperature. The source file solar_system_setjy.py lists the provenance of each body:

\[ \begin {array}{ll} \text {Venus} & \text {Butler et al.\ 2001} \\ \text {Mars} & \text {Butler et al.\ 2012} \\ \text {Uranus} & \text {Orton \& Hofstadter 2012 (modified ESA4)} \\ \text {Neptune} & \text {Orton \& Hofstadter 2012 (modified ESA3)} \\ \text {Titan} & \text {Gurwell et al.\ 2012} \\ \text {Io, Europa, Ganymede, Callisto} & \text {Butler et al.\ 2012} \\ \text {Ceres, Vesta} & \text {Mueller (private communication)} \\ \end {array} \]
Two bodies in routine use as flux calibrators have as their published provenance a private communication. The comments state that for every body but Mars the model is a text file of brightness temperature tabulated against frequency, and that bodies without a full thermophysical model are treated as uniform-temperature disks — a simplification the source itself notes may be inadequate for asteroids.

The chain closes here: the brightness temperatures were themselves established by radio observations calibrated on the flux scale of their day. The jansky is fixed by planets whose brightness is known in janskys.

Fixed decision constants

Proposition 452.2 (Hardcoded defaults in the calibration tasks).

\[ \begin {array}{lll} \text {task} & \text {parameter} & \text {default} \\ \hline \texttt {bandpass} & \texttt {minsnr} & 3.0 \\ & \texttt {minblperant} & 4 \\ & \texttt {solint / combine} & \texttt {'inf' / 'scan'} \\ \texttt {gaincal} & \texttt {minsnr} & 3.0 \\ & \texttt {refantmode} & \texttt {'flex'} \\ \texttt {polcal} & \texttt {minsnr} & 3.0 \\ \texttt {flagdata} & \texttt {timecutoff} & 4.0 \\ & \texttt {freqcutoff} & 3.0 \\ \texttt {setjy} & \texttt {standard} & \texttt {'Perley-Butler 2017'} \\ & \texttt {interpolation} & \texttt {'nearest'} \\ \texttt {tclean} & \texttt {sidelobethreshold} & 3.0 \\ & \texttt {noisethreshold} & 5.0 \\ & \texttt {lownoisethreshold} & 1.5 \\ & \texttt {robust} & 0.5 \\ & \texttt {gain} & 0.1 \\ \end {array} \]
A scan of the distribution for adjudicating constants — names matching threshold, cutoff, signal-to-noise, sigma, iteration and tolerance patterns — returns \(275\) assignments over \(48\) distinct names, of which niter (\(58\)), sigma (\(35\)), threshold (\(29\)), solint (\(22\)) and tolerance (\(16\)) are the most frequent. The realised values of minsnr are \(\{3.0, 5.0, 50.0\}\); of threshold, fourteen distinct values from \(0.0\) to \(100.0\); of minblperant, \(\{1, 4, 10\}\).

Remark 452.3 (minsnr decides what exists).

The parameter minsnr\(\,=3.0\) in gaincal and bandpass does not scale a result: it determines whether a calibration solution is written at all. Solutions below it are flagged, and the corresponding data are subsequently discarded by applycal. Together with minblperant\(\,=4\), which requires a minimum number of baselines per antenna, the pair fixes which antennas and which time intervals survive into the image.

The water vapour correction

Remark 452.4 (Coefficients set by minimising phase residuals).

The task wvrgcal converts \(183\) GHz water-vapour radiometer readings into a phase correction. Its documented parameters are not physical constants of the atmosphere but controls on a fit:

\[ \begin {array}{ll} \texttt {segsource} & \text {recompute coefficients per source} \\ \texttt {nsol} & \text {number of coefficient solutions in the observation} \\ \texttt {tie} & \text {prioritise tying the phase of these sources together} \\ \texttt {statsource} & \text {compute phase RMS on this source only} \\ \texttt {smooth} & \text {smooth the solution on this timescale} \\ \texttt {scale} & \text {multiply the entire phase correction by this factor} \\ \texttt {rseed} & \text {random seed for the fitting routine} \\ \end {array} \]
Three of these are decisive. statsource selects the source on which the phase statistics that judge the correction are computed. tie instructs the fit to make specified sources agree with one another. scale multiplies the correction by an arbitrary factor, with the documentation noting the default of \(1\) means no scaling.

The correction is therefore determined by minimising the phase residual of a chosen source, and its quality is then assessed by the phase residual. The presence of rseed records that the fit is not deterministic.

The atmosphere

Remark 452.5 (Tsys and the ATM model).

System-temperature calibration requires the atmospheric opacity, computed by the ATM library through initAtmProfile. Its inputs are ground-level pressure, temperature and relative humidity, the water-vapour scale height \(h_0\), and a choice from an enumerated list of atmosphere types returned by listAtmosphereTypes.

The task sdatmcor sets scaleht \(=2.0\) km, dp \(=10.0\) and dpm \(=1.2\) as defaults, marked in the source as initATMProfile DEFAULT. Precipitable water vapour and humidity may be supplied or left to the model. The library reports its own version as ATM-0_5_0.

The opacity used to correct \(T_{\rm sys}\) is thus a model output whose parameters — scale height, atmosphere type, water column — are chosen, and in operation are constrained by fitting to \(T_{\rm sys}\) measurements.

The loops

Proposition 452.6 (Seven feedback structures in the standard reduction).

\[ \begin {array}{ll} \text {1. Flux scale} & \text {Jy} \leftarrow \text {planet brightness model} \leftarrow \text {radio observations of planets} \\ \text {2. Bandpass} & \text {bandpass} \leftarrow \text {phase-up gaincal} \leftarrow \text {bandpass-corrected data} \\ \text {3. Tsys} & T_{\rm sys} \leftarrow \text {ATM model} \leftarrow \text {opacity constrained by } T_{\rm sys} \\ \text {4. WVR} & \text {coefficients} \leftarrow \text {phase-residual minimisation} \leftarrow \text {corrected phases} \\ \text {5. Flagging} & \text {threshold} \leftarrow \text {statistics of already-flagged data} \\ \text {6. Self-calibration} & \text {gains} \leftarrow \text {model image} \leftarrow \text {gains} \\ \text {7. Reference antenna} & \text {refant} \leftarrow \text {data quality} \leftarrow \text {refant-referenced solutions} \\ \end {array} \]

Remark 452.7 (Self-calibration is the loop made explicit).

Of the seven, self-calibration is the only one whose circularity is stated in the documentation as a feature. Antenna gains are solved against a model image derived from the data; the corrected data are then re-imaged to produce a new model; the procedure iterates. It converges, and the resulting images are demonstrably sharper.

What it converges to is a solution consistent with the model class assumed — in practice, a set of point components or a smooth brightness distribution. Structure absent from the model at the first iteration is not recovered by subsequent ones, and structure introduced by an early error is reinforced. The procedure is a fixed-point iteration whose fixed point depends on where it starts.

Remark 452.8 (The reference antenna).

Interferometric phase is defined only relative to a reference antenna: the solution has one unconstrained degree of freedom per solution interval, fixed by setting the reference antenna’s phase to zero. The reference is chosen for data quality — low flagging fraction, stable gains, central position — and gaincal exposes refantmode=’flex’, which permits the reference to change when the nominal antenna is flagged.

The quality metrics used to make the choice are computed from solutions that are themselves referenced to an antenna. There is no phase measurement prior to the choice of reference, and no quality assessment prior to a phase measurement.

The pipeline cannot exit the model.

If the true flux deviates from the assumed model: