Open EHT data product 2019-D01-01 at commit 27ae76aacb9067a83388395c3826012b97aac371. We will preserve three simultaneous M87 measurements, calculate their directed closure phase and fit their amplitudes and closure with a small empirical source family. Distinct fitted shapes will expose how little one triangle determines.
The file SR1_M87_2017_100_lo_hops_netcal_StokesI.csv contains actual low-band EHT-HOPS SR1 Stokes I observations of M87 on 10 April 2017. The channel frequency in its header is 227.0707 GHz. “Network-calibrated” identifies a released calibration stage; it does not say that every station’s atmospheric phase has become a known sky phase.
Our copy has 194,347 bytes. The script checks its SHA-256 against the pinned source and then checks that the three-row excerpt reproduces source lines 1272, 1274 and 1283 byte for byte, with the two header lines retained. All three rows have UTC 04.90972209 hours. The data repository places these measurements under PDDL 1.0; the tutorial reader and fitter were written independently.
AA is ALMA, AZ is the Submillimeter Telescope in Arizona, and LM is the Large Millimeter Telescope in Mexico. The rows below list UTC hour, first station, second station, eastward spatial frequency, northward spatial frequency, amplitude, phase and thermal amplitude uncertainty. Spatial frequencies are already in wavelengths. Amplitudes and uncertainties are in jansky; phases are in degrees.
The publisher stores AA to AZ, AA to LM, and AZ to LM. To walk AA to AZ to LM to AA, the AA-to-LM edge must be reversed. Conjugating its complex visibility keeps the amplitude and negates the phase. The exported spatial frequencies close to within a few thousand wavelengths, tiny beside the billion-wavelength baselines; retain that rounding residual instead of editing the published numbers.
Add the phase on AA–AZ to the phase on AZ–LM, then subtract the stored AA–LM phase. Wrapping the answer into a single cycle gives 57.7651∘. The script independently forms the three complex numbers and takes the argument of their directed product; the two calculations agree.
For high signal-to-noise ratio, a small transverse complex-noise perturbation changes a visibility phase by approximately noise divided by amplitude. Assuming independent thermal errors, add those phase variances. The minimum amplitude signal-to-noise ratio here is 12.85; the resulting closure uncertainty is 5.68545∘. Amplitude-calibration errors, correlated errors and nonclosing systematics are outside this estimate.
Φ=wrap(179.9880∘−62.7827∘−59.4402∘)=57.7651∘
The subtraction comes from the edge direction, not from which phase happens to be negative.
σΦ≃[e=1∑3(Aeσe)2]1/2=0.09923rad
Use radians in the uncertainty propagation and convert the final result to degrees. This is the high-SNR thermal approximation for this single triangle.
Use two circular Gaussian components with equal full width at half maximum w. Put the primary at the origin and a secondary with flux ratio r at displacement (dl,dm). Its separation is d; the angle ψ is measured from east toward north. Write s=w/8ln2 for the Gaussian standard deviation in radians.
A normalized circular Gaussian transforms to a Gaussian in spatial frequency. Multiplying that envelope by the two-component phasor gives the model below. The total flux F multiplies every amplitude and cancels from closure phase. A common translation also cancels from closure, so fixing the primary at the origin removes an unmeasurable position here.
All angular quantities inside the exponent are in radians. The family has five fitted quantities: separation, angle, flux ratio, common width and total flux. It is an empirical example, not an interpretation that M87 contains two such emitters.
Solve the flux analytically, then search the shapes
For a candidate shape let qe be its unit-total-flux visibility amplitude on edge e. The amplitude residual is Ae−Fqe. Divide by σe, square, and add. Differentiating this sum with respect to F gives a single linear equation and the weighted solution below. Thus the numerical search needs only the four shape parameters.
The script searches separations from ten to one hundred microarcseconds, five-degree angles, six flux ratios and five starting widths. It refines eight separated starting candidates by successively smaller coordinate steps. The output lists the search choices so it can be repeated exactly. This finite search demonstrates multiple good fits; it does not guarantee a global optimum.
F=∑eqe2/σe2∑eAeqe/σe2
The denominator is positive for a nonzero candidate. This flux is fitted within that source family; it is not an independently measured zero-baseline flux.
Q=e∑σe2(Ae−Fqe)2+σΦ2wrap(Φmodel−Φobs)2
The wrapped phase difference avoids penalizing equivalent angles on opposite sides of the cycle boundary. The expression uses the stated approximate thermal error model.
Compare the actual saved fits
One refined fit has separation 60.16μas, angle 240.00∘, flux ratio 0.596, width 23.56μas and total flux 0.67307Jy. It predicts amplitudes (0.104679,0.080008,0.516147)Jy in the stored row order, and closure 57.7359∘. Its approximate objective is 0.000575.
A distinctly different fit has separation 97.44μas, angle 230.00∘, ratio 0.592 and width 24.24μas. Its objective is 0.000681. Both fit much more closely than the stated thermal errors require. We supplied only three amplitudes and one closure angle for five free quantities, so a tiny objective is expected to leave considerable freedom.
For comparison, imposing zero closure gives a phase-only contribution of about 103.2 under this thermal approximation. The measured angle carries strong asymmetric-shape information, even though it leaves many asymmetric shapes available. Report the objective together with the parameter count: five free quantities for four data constraints.
Keep the real triangle and synthetic imaging separate
The real-data calculation never inverse-transforms the released raw station phases into an asserted sky image. It fits quantities that survive unknown station phases: amplitudes and a directed closure. A realistic image requires many triangles, more calibration information and a treatment of errors shared between measurements.
The interactive array instead uses a known synthetic finite-pixel sky and saves an independent ideal calibrator and total-power value. That controlled experiment lets us compare dirty images with two regularized inversions and the separate known source. The real triangle and synthetic image answer complementary questions: what the published measurements say, and how sparse sampling affects a reconstruction when the truth is known.
Keep the release version, original rows, station ordering, timestamp definition, frequency and uncertainty columns. Derive the directed product before adding phases. Check that every edge belongs to the same integration, propagate the stated uncertainty model and compare more than one candidate shape. Preserve the predictions as well as the fitted parameters: another baseline can then test where the candidates disagree.
Use Atmospheric phase errors and compare the raw and independently calibrated dirty images.
Check that the closure stays the same as in Crossed baselines.
Export the synthetic record. Identify its independent calibrator and total-flux fields, then compare its inputs with those of the real three-row excerpt.
Exercises with explanations
What happens if the AA–LM phase is added instead of subtracted?
Read the explanation
The sum becomes 176.6455∘, which is a different quantity and does not cancel the station phases. Write the path AA to AZ to LM to AA first; that path determines the conjugation.
Why can an arbitrarily precise fit still leave the separation uncertain?
Read the explanation
The chosen family has more free quantities than this triangle supplies constraints. Changing separation, direction, ratio and width can compensate at these three sampled frequencies. Additional frequencies are needed to separate those candidates.
The narrow-field Fourier relation and Earth-rotation synthesis, especially equations 3.180–3.200. The browser uses a spherical Earth, a single wavelength and a finite pixel sky.
Actual EHT-HOPS SR1 network-calibrated Stokes I from 10 April 2017, low band, 227.0707 GHz. The tutorial preserves the publisher CSV and selects one simultaneous AA–AZ–LM triangle. The repository licenses data under PDDL 1.0.
Fixed version of the 2019 imaging paper, DOI 10.3847/2041-8213/ab0e85. Read Figures 1, 3, 5 and 7, the station-gain equation 7, regularized imaging equation 14, and Appendix A. Figures remain with the publisher and authors; this guide links to them.