FA-56215 / Astronomical coordinate conventions / Member archive
Spectrograph grating coordinate: Inverse grating coordinate fails to remove the incident-angle contribution · case 05
The adapter reports an incorrect inferred diffraction sine while other fields remain valid.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| astronomical fixture 0 | {"angular_dispersion": 20.666666666666668, "inferred_diffraction_sine": 0.7419354838709677, "linear_dispersion": 2.066666666666667, "littrow_wavelength": 41.333333333333336, "next_order_wavelength": 23.25, "wavelength": 31.0} | {"angular_dispersion": 20.666666666666668, "inferred_diffraction_sine": -0.25806451612903225, "linear_dispersion": 2.066666666666667, "littrow_wavelength": 41.333333333333336, "next_order_wavelength": 23.25, "wavelength": 31.0} | 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 ↗