FAILURE MAP
← Case archive

FA-56218 / Astronomical coordinate conventions / Member archive

Spectrograph grating coordinate: Neighboring spectral order is offset in wavelength rather than in interference order · case 03

The adapter reports an incorrect next order wavelength while other fields remain valid.

Member previewVariant 3 · 3 implementations · 6 checks per implementation

Case contract

A stipulated grating adapter supplies spacing g, signed sine of incidence a, signed sine of diffraction b, positive order m, focal length F, and separate calibration line wavelength line. Wavelength is g*(a+b)/m. A Littrow reference has b=a; supplied diffraction cosine c permits a local angular dispersion derivative. Output fields are defined by: wavelength = d['g']*(d['a']+d['b'])/d['m']; littrow_wavelength = 2*d['g']*d['a']/d['m']; angular_dispersion = d['g']*d['c']/d['m']; linear_dispersion = d['g']*d['c']/(d['m']*d['F']); inferred_diffraction_sine = d['m']*d['line']/d['g']-d['a']; next_order_wavelength = d['g']*(d['a']+d['b'])/(d['m']+1)

Why this case matters

Catalog, detector, sky-coordinate, and spectroscopy adapters must preserve the association between numeric coordinates and their declared reference conventions.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
astronomical fixture 0{"angular_dispersion": 20.333333333333332, "inferred_diffraction_sine": -0.2540983606557377, "linear_dispersion": 2.033333333333333, "littrow_wavelength": 40.666666666666664, "next_order_wavelength": 31.5, "wavelength": 30.5}{"angular_dispersion": 20.333333333333332, "inferred_diffraction_sine": -0.2540983606557377, "linear_dispersion": 2.033333333333333, "littrow_wavelength": 40.666666666666664, "next_order_wavelength": 22.875, "wavelength": 30.5}Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗