FA-56233 / Astronomical coordinate conventions / Member archive
Occultation shadow coordinate: Star-to-shadow coordinate reverses the moving shadow subtraction · case 03
The adapter reports an incorrect relative star while other fields remain valid.
Case contract
A reduced occultation shadow travels with signed nonzero velocity v along x. Star coordinate xs is fixed, shadow center starts x0 at epoch t0, and positive half-chord h is supplied. Closest longitudinal crossing is t0+(xs-x0)/v; contacts are ordered using absolute transit duration. Output fields are defined by: crossing_epoch = d['t0']+(d['xs']-d['x0'])/d['v']; shadow_center = d['x0']+d['v']*(d['t']-d['t0']); relative_star = d['xs']-d['x0']-d['v']*(d['t']-d['t0']); first_contact = d['t0']+(d['xs']-d['x0'])/d['v']-abs(d['h']/d['v']); last_contact = d['t0']+(d['xs']-d['x0'])/d['v']+abs(d['h']/d['v']); duration = 2*abs(d['h']/d['v'])
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 | {"crossing_epoch": 109.0, "duration": 6.0, "first_contact": 106.0, "last_contact": 112.0, "relative_star": 28, "shadow_center": 14} | {"crossing_epoch": 109.0, "duration": 6.0, "first_contact": 106.0, "last_contact": 112.0, "relative_star": 8, "shadow_center": 14} | 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 ↗