Frames module

Coordinate frames definitions.

class poliastro.frames.Planes

An enumeration.

class poliastro.frames.HeliocentricEclipticJ2000(*args, copy=True, representation_type=None, differential_type=None, **kwargs)

Heliocentric ecliptic coordinates. These origin of the coordinates are the center of the sun, with the x axis pointing in the direction of the mean equinox of J2000 and the xy-plane in the plane of the ecliptic of J2000 (according to the IAU 1976/1980 obliquity model).

class poliastro.frames.HCRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.MercuryICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.VenusICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.MarsICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.JupiterICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.SaturnICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.UranusICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.NeptuneICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
class poliastro.frames.PlutoICRS(*args, copy=True, representation_type=None, differential_type=None, **kwargs)
poliastro.frames.get_frame(attractor, plane, obstime=<Time object: scale='tt' format='jyear_str' value=J2000.000>)

Returns an appropriate reference frame from an attractor and a plane.

Available planes are Earth equator (parallel to GCRS) and Earth ecliptic. The fundamental direction of both is the equinox of epoch (J2000). An obstime is needed to properly locate the attractor.

Parameters:
  • attractor (Body) – Body that serves as the center of the frame.
  • plane (Planes) – Fundamental plane of the frame.
  • obstime (Time) – Time of the frame.