Hostname: page-component-5db58dd55d-4jdj6 Total loading time: 0 Render date: 2026-07-08T23:31:17.005Z Has data issue: false hasContentIssue false

Amigo: A data-driven calibration of the JWST interferometer

Published online by Cambridge University Press:  29 April 2026

Louis Desdoigts*
Affiliation:
Sydney Institute for Astronomy, School of Physics, University of Sydney, Camperdown, NSW 2006, Australia Leiden Observatory, Niels Bohrweg 2, Leiden 2300RA, The Netherlands
Benjamin Pope
Affiliation:
School of Mathematical & Physical Sciences, Macquarie University, 12 Wally’s Walk, Macquarie Park, NSW 2113, Australia School of Mathematics & Physics, University of Queensland, St Lucia, QLD 4072, Australia
Max Charles
Affiliation:
Sydney Institute for Astronomy, School of Physics, University of Sydney, Camperdown, NSW 2006, Australia
Peter Tuthill
Affiliation:
Sydney Institute for Astronomy, School of Physics, University of Sydney, Camperdown, NSW 2006, Australia
Dori Blakely
Affiliation:
Department of Physics and Astronomy, University of Victoria, 3800 Finnerty Road, Elliot Building, Victoria, BC V8P 5C2, Canada NRC Herzberg Astronomy and Astrophysics, 5071 West Saanich Road, Victoria, BC V9E 2E7, Canada
Douglas Johnstone
Affiliation:
Department of Physics and Astronomy, University of Victoria, 3800 Finnerty Road, Elliot Building, Victoria, BC V8P 5C2, Canada NRC Herzberg Astronomy and Astrophysics, 5071 West Saanich Road, Victoria, BC V9E 2E7, Canada
Shrishmoy Ray
Affiliation:
School of Mathematical & Physical Sciences, Macquarie University, 12 Wally’s Walk, Macquarie Park, NSW 2113, Australia School of Mathematics & Physics, University of Queensland, St Lucia, QLD 4072, Australia
Anand Sivaramakrishnan
Affiliation:
Space Telescope Science Institute, 3700 San Martin Drive, Baltimore, MD 21218, USA Astrophysics Department, American Museum of Natural History, 79th St at CPW, New York, NY 10024, USA Department of Physics and Astronomy, Johns Hopkins University, 3701 San Martin Drive, Baltimore, MD 21218, USA
Kevin Volk
Affiliation:
Space Telescope Science Institute, 3700 San Martin Drive, Baltimore, MD 21218, USA
Jens Kammerer
Affiliation:
European Southern Observatory, Karl-Schwarzschild-Straße 2, 85748 Garching, Germany
Deepashri Thatte
Affiliation:
Space Telescope Science Institute, 3700 San Martin Drive, Baltimore, MD 21218, USA
Rachel Cooper
Affiliation:
Space Telescope Science Institute, 3700 San Martin Drive, Baltimore, MD 21218, USA
*
Corresponding author: Louis Desdoigts, Emails: desdoigts@strw.leidenuniv.nl, louis.desdoigts@sydney.edu.au.
Rights & Permissions [Opens in a new window]

Abstract

The James Webb Space Telescope (JWST) hosts a non-redundant Aperture Masking Interferometer (AMI) in its Near Infrared Imager and Slitless Spectrograph (NIRISS) instrument, providing the only dedicated interferometric facility aboard – magnitudes more precise than any interferometric experiment previously flown. However, the performance of AMI (and other high resolution approaches such as kernel phase) in recovery of structure at high contrasts has not met design expectations. A major contributing factor has been the presence of uncorrected detector systematics, notably charge migration effects in the H2RG sensor, and insufficiently accurate mask metrology. Here we present Amigo, a data-driven calibration framework and analysis pipeline that forward-models the full JWST AMI system – including its optics, detector physics, and readout electronics – using an end-to-end differentiable architecture implemented in the Jax framework and in particular exploiting the $\partial$Lux optical modelling package. Amigo directly models the generation of up-the-ramp detector reads, using an embedded neural sub-module to capture non-linear charge redistribution effects, enabling the optimal extraction of robust observables, for example kernel amplitudes and phases, while mitigating systematics such as the brighter-fatter effect. We demonstrate Amigo’s capabilities by recovering the AB Dor AC binary from commissioning data with high-precision astrometry, and detecting both HD 206893 B and the inner substellar companion HD 206893 c: a benchmark requiring contrasts approaching 10 mag at separations of only 100 mas. These results exceed outcomes from all published pipelines and re-establish AMI as a viable competitor for imaging at high contrast at the diffraction limit. Amigo is publicly available as open-source software community resource Amigo logo.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Astronomical Society of Australia
Figure 0

Figure 1. Figure 1 long description.Left panel: Schematic diagram of the 7-hole NRM projected over the primary mirror. Middle panel: The resulting PSF (i.e. interferogram) from the non-redundant mask, visualised on a square-root scale to highlight low-power features. Right panel: The power-spectrum of the PSF featuring baseline-specific regions of fringe power known in the literature as splodges that can be conveniently found by Fourier transform of the PSF. The 21 discrete non-redundant baselines are indicated by the overlaid green dots.

Figure 1

Table 1. Summary of JWST CAL 4481 observations for HD 41094, used for model calibration. All targets are point sources. Pixel well depth values have dimensionless integer units (‘digital number’ or DN), of which each count corresponds to $\sim$1.6e−$1.6 e^-$.

Figure 2

Figure 2. High level flow diagram of the AMIGO model and pipeline, showing the input and output product and shapes passed between each modular component. $n\lambda$ is the number of wavelengths modelled by the optics, ng$n_g$ is the number of groups in the data, and nints$n_{\rm ints}$ is the number of integrations. Each of these model and pipeline components are discussed in detail in their own section.

Figure 3

Figure 3. Residuals from second-order polynomial fits to ramp data, shown before (top row) and after (bottom row) applying a sine-wave-based correction for ADC integral non-linearity. The left panels plot residuals as a function of the ramp value, while the right panels show the same residuals folded over a modulo 1024 pattern, revealing periodic structure. Prior to correction, the residuals exhibit a strong sinusoidal modulation. The applied correction consists of a 1024-period sine wave with fixed amplitude, significantly reducing both the overall residual structure and the folded periodicity (bottom panels). Orange points and error bars represent binned data mean and standard error in each bin, highlighting the improved uniformity of residuals post-correction.

Figure 4

Table 2. Allowed Filters for AMI observations. Values taken from the JWST documentation. Full tabulated curves used in propagation.

Figure 5

Figure 4. Left panel: Residual between the calibrated aperture mask and its idealised undistorted counterpart, discussed in Section 3.1.2. Right panel: PSF residuals of the four primary optical effects on the PSF. Top left: Instrumental jitter, applied through a convolution with a Gaussian kernel, discussed in Section 4.1 Top right: Primary mirror aberrations, modelled using Zernike polynomials on the primary, discussed in Section 3.1.3 Bottom left: Aperture mask distortions, discussed in Section 3.1.2, modelled by applying a distortion to the coordinates over which the aperture mask is calculated. Bottom right: Fresnel defocus modelled using a Fresnel propagation algorithm, discussed in Section 3.1.4 All effects are shown for the F430M filter, using a PSF with 106$10^6$ total photons.

Figure 6

Figure 5. Flow chart of the injection of visibility signals to forwards-modelled PSFs. This demonstrates how high-resolution visibility signals can be directly injected into any PSF model provided the appropriate set of visibility basis vectors. An example binary-star signal is injected as a demonstrator.

Figure 7

Figure 6. Demonstration of the produced latent visibility basis used for model-fitting. Top panel: The normalised eigenvalues for each visibility basis vector, ordered by their impact on the PSF in the image plane. Bottom: Representative log amplitude and phase basis vectors over a range of indexes. We can see that higher basis indices have increasing spatial resolution over the OTF, with low order ones picking out the classical interferometric baselines and their conjugates. Indices above $\sim$600 start to put power outside the OTF, are un-sensed by the optical system, and are excluded from the model, but shown here to demonstrate how the basis can be restricted to inside the OTF.

Figure 8

Figure 7. Example Delay-Insensitive Subspace of Calibrated Observables (DISCO) basis vectors found from the GO 1843 observation, discussed in Section 7.3. Top panel: Normalised log amplitude and phases basis vector variances. Bottom panel: Selection of representative DISCO basis vectors. Matching with the latent visibility basis vectors, low index vectors are better constrained and have lower spatial fidelity.

Figure 9

Figure 8. Schematic diagram of the EDM architecture, showing the three major components and the embedded neural network used to capture non-linear charge migration.

Figure 10

Figure 9. Demonstration of the EDM BFE model and recovered detector parameters. Starting with the normalised input charge distribution (top left), the CNN predicts a series of distortion coefficients that are applied to a $3\times$ oversampled set of coordinates for each pixel. The distorted output pixel positions are visualised in the top middle panel. These output positions have their overlap fractions with each neighbouring pixel calculated in order to produce a set of flux conservative convolutional kernel for each pixel, shown in the top right panel. This dynamic convolution is applied to the predicted input illuminance pattern for a fixed number of time steps. The middle left panel shows the charge migration between a set of pixels around the brightest region of the PSF as charge is accumulated up the ramp. The middle right panel shows the cumulative charge migration between pixels for each individual pixel. The bottom row shows the various recovered pixel-level effects. The bottom left panel shows the recovered intra-pixel sensitivity variations, applied through a simple quadratic function. The AMIGO model only uses a $3\times$ oversample, but is visualised here with $9\times$ oversample. The bottom middle panel shows the inter-pixel sensitivity variations, ie the flat-field. The resulting distribution of sensitivities shows similar properties to the existing JWST pipeline calibrations. The bottom right panel shows the recovered quadratic non-linear gain term applied through the electronics model. Every pixel shows the expected negative gain as a function of pixel depth, in line with existing calibrations.

Figure 11

Figure 10. Recovered OPD maps from the calibration data for each filter. The top row shows the full OPD maps recovered for the F380M, F430M, and F480M filters, revealing large-scale piston, tip, and tilt terms across the segmented aperture. These low-order aberrations are expected given the off-axis sub-array placement used in AMI mode. The bottom row displays the same OPD maps with piston, tip, and tilt removed from each sub-aperture, enhancing the visibility of higher-order surface errors across individual segments. Residual aberrations at the $\sim$50–100 nm level are evident, and are consistent across wavelengths, suggesting a static contribution from optical surface figure errors or segment alignment offsets. Small differences are observed across filters, consistent with the observed Fresnel defocus discussed in Section 3.1.

Figure 12

Figure 11. Summary of AMIGO model fit diagnostics across all five dithers for the F430M calibration data. Each column corresponds to a single dither position. The top row shows the per-pixel log-likelihoods from the final fit, highlighting the location of the target PSF. The middle row displays the average residual z-score per pixel, computed by averaging the uncertainty-normalised residuals across all groups in the ramp, revealing the spatial structure of any systematic model misfit. The bottom row shows histograms of all z-scores across pixels and groups for each dither, without any averaging over the groups. A perfect fit would have a standard deviation in the z-score be 1; we recover values between 1.1 and 1.2 in all three filters, indicating a good fit that has not learnt any noise characteristics. We note that the full likelihood is described with a covariance matrix that accounts for the anti-correlation between adjacent group-reads seen in slope data. Consequently, these summary statistics are only an helpful approximation and correct performance can only be described through the likelihood.

Figure 13

Figure 12. Schematic diagram of the basic workflow of extracting the DISCOs from data.

Figure 14

Table 3. Summary of COM 1093 program observations used to test the AMIGO model. The number of photons is an estimation from the raw data, and details the number of usable photons after accounting for the 1/groups$1/\text{groups}$ fractional loss from discarding the first group of an integrations. The percentage loss of photons is also shown.

Figure 15

Table 4. Best-fit relative joint astrometry and per-filter photometry for the AB Dor C companion, showing the +/−$+/-$ 1σ$\sigma$ bounds. Reported quantities include the on-sky separation (Sep), position angle (PA), and Δ$\Delta$-magnitude in each of the F380M, F430M, and F480M filters. Results from two different fit types are compared: A joint fit in all three filters and a fit to each filter uniquely.

Figure 16

Figure 13. Summary of the fits to the AB Dor C companion. The top panels shows the log-likelihood detection maps over companion position for each filter (F380M, F430M, F480M) from a grid search over the recovered DISCOs. Each panel shows the marginalised log-likelihood surface as a function of companion offset in ΔRA$\Delta\text{RA}$ and ΔDEC$\Delta\text{DEC}$, revealing a strong and consistent peak in all filters. The greyed central region denotes the IWA masked by the interferometric null. The recovered peak likelihood location is consistent across filters, indicating the reliability of the model prediction. The bottom panels show the predictive posterior check comparing AMIGO recovered DISCO amplitudes (left) and phases (right) against the predicted values from the MCMC samples, for the three filters: Colour text, colour text, and colour text. Each panel shows individual measurements with $1\sigma$ error bars, with the top panels plotting model predictions against data and the lower panels showing residuals. The black dashed line represents the 1:1 line for a perfect model prediction. Scale factors σscale$\sigma_{\mathrm{scale}}$ are applied to the observational uncertainties with the effect of ensuring χν2≈1$\chi^2_\nu \approx 1$ during MCMC fitting and are quoted in the legend for each filter. The agreement across all filters and observables confirms both the validity of the forward model and appropriate uncertainty quantification in the recovered posterior.

Figure 17

Figure 14. Joint posterior distributions from an MCMC fit to the AB Dor C companion. Two fit types are shown: Joint – simultaneously modelling astrometry and photometry across all three filters – and per-filter fits. The parameters shown include the separation (mas), position angle (degrees), and contrasts (Δmag$\Delta\mathrm{mag}$) in the colour text, colour text, and colour text bands. The joint-fit samples are shown in black. One- and two-σ$\sigma$ credible regions are shown in dark and light shades, respectively. Strong correlation is observed between separation and position angle due to the projection geometry, while photometric parameters are weakly correlated and independently constrained in each filter. The tight constraints in both astrometry and photometry reflect the high signal-to-noise of the companion detection.

Figure 18

Table 5. Summary of GO 1843 program observations used to test the AMIGO model. The number of photons is an estimation from the raw data, and details the number of usable photons after accounting for the 1/groups$1/\text{groups}$ fractional loss from discarding the first group of an integrations. The percentage loss of photons is also shown.

Figure 19

Figure 15. Sensitivity limits derived using the Ruffio et al. (2018) method for calculating $3\sigma$ contrast upper limits as a function of angular separation, applied to the colour text, colour text, and colour text filters. The shaded regions denote the ±1σ$\pm1\sigma$ variation across azimuthal annuli. The dashed black line indicates the approximate contrast limit as calculated from Equation (11), confirming that model performance is consistent with the expected limits. The grey dotted line shows the size of a single pixel for reference. The recovered companion $3\sigma$ contour plots are shown in their respective colours but are so well constrained they only appear as single dots on the figure. These curves quantify the AMI contrast performance and establish detection limits for additional companions in the field.

Figure 20

Figure 16. Summary of the fits to the HD 206893 companions. The top two panels shows the marginalised log-likelihood surface as a function of companion offset in ΔRA$\Delta\text{RA}$ and ΔDEC$\Delta\text{DEC}$, revealing a strong and consistent peak in all filters. The top row shows the detection maps for the full data, with the GRAVITY prediction for the B companion shown as a white circle. The middle row shows the detection map after the best-fit B companions has been subtracted from the data, revealing the inner c companion being consistently detected in all three filters, with the GRAVITY prediction overlaid with a white circle. The peaks in each filter for both companions can be seen matching the expected positions. The greyed central region denotes the IWA masked by the interferometric null. The bottom panels show the predictive posterior check comparing AMIGO recovered DISCO amplitudes (left) and phases (right) against the predicted values from the MCMC samples, for the three filters: colour text, colour text, and colour text. Each panel shows individual measurements with $1\sigma$ error bars, with the top panels plotting model predictions against data and the lower panels showing residuals. The black dashed line represents the 1:1 line for a perfect model prediction. Scale factors σscale$\sigma_{\mathrm{scale}}$ are applied to the observational uncertainties in MCMC with the effect of ensuring χν2≈1$\chi^2_\nu \approx 1$ and are quoted in the legend for each filter. The agreement across filters and observables confirms the validity of the forward model and appropriate uncertainty quantification in the recovered posterior.

Figure 21

Table 6. Best-fit relative joint astrometry and per-filter photometry for the HD 206893 B companion, showing the +/−$+/-$ 1σ$\sigma$ bounds. Reported quantities include the on-sky separation (Sep), position angle (PA), and Δ$\Delta$-magnitude in each of the F380M, F430M, and F480M filters. Results from two different fit types are compared: A joint fit in all three filters and a fit to each filter uniquely.

Figure 22

Figure 17. Joint posterior distributions from an MCMC fit to the HD 206893 B companion. Two fit types are shown: Joint – simultaneously modelling astrometry and photometry across all three filters – and per-filter fits. While both companions are fit simultaneously, only the B companions samples are shown here for clarity. The parameters shown include the separation (mas), position angle (degrees), and contrasts (Δmag$\Delta\mathrm{mag}$) in the colour text, colour text, and colour text bands. The joint-fit samples are shown in black. One- and two-σ$\sigma$ credible regions are shown in dark and light shades, respectively. The tight constraints in both astrometry and photometry reflect the high signal-to-noise of the companion detection. The expected position predicted by GRAVITY orbit fits (with a precision of $\sim$1 mas) are overlaid in a black dashed line, showing strong agreement with AMI, both in each filter and in the joint-fit.

Figure 23

Table 7. Best-fit relative joint astrometry and per-filter photometry for the HD 206893 c companion, showing the +/- 1σ$\sigma$ bounds. Reported quantities include the on-sky separation (Sep), position angle (PA), and Δ$\Delta$-magnitude in each of the F380M, F430M, and F480M filters. Results from two different fit types are compared: A joint fit in all three filters and a fit to each filter uniquely.

Figure 24

Figure 18. Joint posterior distributions from an MCMC fit to the HD 206893 c companion. Two fit types are shown: Joint – simultaneously modelling astrometry and photometry across all three filters – and per-filter fits. While both companions are fit simultaneously, only the B companions samples are shown here for clarity. The parameters shown include the separation (mas), position angle (degrees), and contrasts (Δmag$\Delta\mathrm{mag}$) in the colour text, colour text, and colour text bands. The joint-fit samples are shown in black. One- and two-σ$\sigma$ credible regions are shown in dark and light shades, respectively. The degeneracy between separation and contrast inside the diffraction limit is clearly shown in the colour text filter, demonstrating how photometry can be improved with a multi-band fit. The fit to the colour text filter shows that it falls right on the border of detection, with chains becoming poorly constrained above $\sim$10 mag. The expected position predicted by GRAVITY orbit fits are overlaid in a black dashed line, showing decent agreement with AMI. Deviations between the expected and recovered positions could arise from either statistical noise or coupling to non-linear distortion arising from an imperfect calibration of the BFE, however given the relatively large astrometric uncertainty, we expect this to arise largely from low signal from the dim companion.

Figure 25

Figure 19. Sensitivity limits for HD 206893 derived using the Ruffio et al. (2018) method for calculating $3\sigma$ contrast upper limits as a function of angular separation, applied to the colour text, colour text, and colour text filters. The shaded regions denote the ±1σ$\pm1\sigma$ variation across azimuthal annuli. The dashed black line indicates the approximate contrast limit as calculated from Equation (11), confirming that model performance is consistent with the expected limits. The grey dotted line shows the size of a single pixel for reference. The recovered companion 1 and 2σ$\sigma$ contour plots are shown in their respective colours. Recovery of the dim inner companion near the IWA and inside of the diffraction limit quantifies the AMI contrast limits as well calibrated and close to the theoretical limits of performance for AMI.

Figure 26

Figure A1. Summary of AMIGO model fit diagnostics across all five dithers for the F380M calibration data. Each column corresponds to a single dither position. The top row shows the per-pixel log-likelihoods from the final fit, highlighting the location of the target PSF. The middle row displays the average residual z-score per pixel, computed by averaging the uncertainty-normalised residuals across all groups in the ramp, revealing the spatial structure of any systematic model misfit. The bottom row shows histograms of all z-scores across pixels and groups for each dither, without any averaging over the groups. A perfect fit would have a standard deviation in the z-score be 1; we recover values between 1.1 and 1.2 in all three filters, indicating a good fit that has not learnt any noise characteristics. We note that the full likelihood is described with a covariance matrix that accounts for the anti-correlation between adjacent group-reads seen in slope data. Consequently, these summary statistics are only an helpful approximation and correct performance can only be described through the likelihood.

Figure 27

Figure A2. Summary of AMIGO model fit diagnostics across all five dithers for the F480M calibration data. Each column corresponds to a single dither position. The top row shows the per-pixel log-likelihoods from the final fit, highlighting the location of the target PSF. The middle row displays the average residual z-score per pixel, computed by averaging the uncertainty-normalised residuals across all groups in the ramp, revealing the spatial structure of any systematic model misfit. The bottom row shows histograms of all z-scores across pixels and groups for each dither, without any averaging over the groups. A perfect fit would have a standard deviation in the z-score be 1; we recover values between 1.1 and 1.2 in all three filters, indicating a good fit that has not learnt any noise characteristics. We note that the full likelihood is described with a covariance matrix that accounts for the anti-correlation between adjacent group-reads seen in slope data. Consequently, these summary statistics are only an helpful approximation and correct performance can only be described through the likelihood.