gte_to_sunrel¶
- nsb2.core.coordinates.gte_to_sunrel(gte_coords, sunrel_frame)[source]¶
Transform geocentric true ecliptic to Sun-relative ecliptic coordinates.
- Parameters:
gte_coords (astropy.coordinates.GeocentricTrueEcliptic) – Coordinates to transform. Must carry an
obstime.sunrel_frame (SunRelativeEclipticFrame) – Target frame.
- Returns:
The transformed coordinates.
- Return type:
- Raises:
ValueError – If
gte_coordshas noobstime, so the Sun cannot be located.