Coordinate and astrometric transforms¶
Coordinate singular-domain exclusions¶
Status: verified
Coordinate functions expose physically undefined bases and angular singularities instead of inventing finite surrogate gradients.
Scope¶
Cartesian origin, coincident observer/star geometry, spherical poles, and zenith/nadir/horizon observing geometry documented by public transforms.
Conventions¶
AD-vs-FD contracts apply to interior regular-domain probes
non-finite derivatives at undefined geometries are explicit exclusions
forward values alone are not evidence of a valid inference gradient
Sources¶
source — the nine interior gradient contracts and enumerated singular exclusions. Locator:
Confirmed findings A-006 and A-007; Tests and reproductions
Code & validation¶
code:
src/jaxstro/coords.py::cartesian_to_sphericalcode:
src/jaxstro/coords.py::compute_parallaxcode:
src/jaxstro/coords.py::zenith_parallacticvalidation:
tests/unit/test_coords.py::TestSingularDomainContracts::test_cartesian_spherical_origin_has_no_finite_angular_jacobianvalidation:
tests/unit/test_coords.py::TestSingularDomainContracts::test_coincident_star_has_no_finite_parallax_gradientvalidation:
tests/validation/test_coords_grad_audit.py::test_public_coordinate_gradient_contract
IAU 1958 Galactic coordinates expressed in ICRS¶
Status: verified
A fixed orthogonal rotation maps IAU 1958 Galactic directions to ICRS and its transpose supplies the inverse transformation.
Scope¶
The Galactic/ICRS rotation coefficients and the public galactic_to_equatorial and equatorial_to_galactic functions.
Conventions¶
the Galactic system is IAU 1958; ICRS is the equatorial realization
public spherical inputs and outputs are degrees
longitude derivatives at a coordinate pole are not physical tangent-plane derivatives
Sources¶
source — the IAU 1958 to ICRS convention and rotation coefficients. Locator:
SOFA routine iauG2icrs and Galactic-coordinate-system notes
Code & validation¶
code:
src/jaxstro/coords.py::_GALACTIC_TO_ICRScode:
src/jaxstro/coords.py::galactic_to_equatorialcode:
src/jaxstro/coords.py::equatorial_to_galacticvalidation:
tests/unit/test_coords.py::TestGalacticEquatorial::test_galactic_centervalidation:
tests/unit/test_coords.py::TestGalacticEquatorial::test_north_galactic_polevalidation:
tests/unit/test_coords.py::TestGalacticEquatorial::test_roundtrip_galactic_equatorialvalidation:
tests/validation/test_coords_grad_audit.py::test_public_coordinate_gradient_contract
Explicit sky-tangent and proper-motion frames¶
Status: verified
Cluster-frame positions and velocities are rotated through an explicit ICRS tangent center and projected onto each star’s local RA-star/Dec basis.
Scope¶
sky_tangent and compute_proper_motions on their documented regular domains.
Conventions¶
positions are parsecs and velocities are kilometres per second
sky centers and roll angle are explicit degrees
proper motions are milliarcseconds per Julian year
the old implicit global x/y-as-RA/Dec interpretation is retired
Sources¶
source — the verified frame-ownership correction and eager wide-field warning contract. Locator:
Confirmed findings A-002 and A-003
Code & validation¶
code:
src/jaxstro/coords.py::sky_tangentcode:
src/jaxstro/coords.py::compute_proper_motionscode:
src/jaxstro/astrometry.py::K_PROPER_MOTIONvalidation:
tests/unit/test_coords.py::TestSkyTangent::test_large_field_warns_eagerlyvalidation:
tests/unit/test_coords.py::TestProperMotions::test_off_axis_uses_local_equatorial_basisvalidation:
tests/unit/test_astrometry.py::TestProperMotionConstant::test_k_proper_motion_derivationvalidation:
tests/validation/test_coords_grad_audit.py::test_public_coordinate_gradient_contract