Frames module

Coordinate frames definitions.

class poliastro.frames.Planes

An enumeration.

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)
class poliastro.frames.GeocentricSolarEcliptic(*args, copy=True, representation_type=None, differential_type=None, **kwargs)

This system has its X axis towards the Sun and its Z axis perpendicular to the plane of the Earth’s orbit around the Sun (positive North). This system is fixed with respect to the Earth-Sun line. It is convenient for specifying magnetospheric boundaries. It has also been widely adopted as the system for representing vector quantities in space physics databases.

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.