FA-55597 / Astronomical coordinate conventions / Member archive
Logarithmic spectral index: Next logarithmic spectral channel adds instead of multiplying · case 02
The adapter reports an incorrect next wavelength while other fields remain valid.
Case contract
A discrete logarithmic spectrum uses lambda(p)=L0*b**(p-r), b a positive integer >=2 and integer p,r. Redshift by a grid factor b**k is an additive pixel shift k. Coarse bin stride s changes the multiplicative channel ratio. Output fields are defined by: wavelength = d['L0']*d['b']**(d['p']-d['r']); next_wavelength = d['L0']*d['b']**(d['p']+1-d['r']); redshifted_pixel = d['p']+d['k']; rest_pixel = d['p']-d['k']; coarse_ratio = d['b']**d['s']; channel_width = d['L0']*d['b']**(d['p']-d['r'])*(d['b']-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 | {"channel_width": 64, "coarse_ratio": 4, "next_wavelength": 66, "redshifted_pixel": 7, "rest_pixel": 3, "wavelength": 64} | {"channel_width": 64, "coarse_ratio": 4, "next_wavelength": 128, "redshifted_pixel": 7, "rest_pixel": 3, "wavelength": 64} | 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 ↗