ait.core.coord module

AIT Coordinate Functions

The ait.core.coord module provides various coordinate manpulation and transformation functions.

class ait.core.coord.Ellipsoid(a, b)

Bases: object

An ellipsoid is the three dimensional analogue of an ellipse, used here to approximate the geoid. See WGS84.

__init__(a, b)

Creates a new Ellipsoid with the given semimajor and semiminor axes.

ait.core.coord.cbrt(x)

Returns the cube root of x.

ait.core.coord.eci2ecef(x, y, z, gmst=None)

Converts the given ECI coordinates to ECEF at the given Greenwich Mean Sidereal Time (GMST) (defaults to now).

This code was adapted from shashwatak/satellite-js and http://ccar.colorado.edu/ASEN5070/handouts/coordsys.doc

ait.core.coord.eci2geodetic(x, y, z, gmst=None, ellipsoid=None)

Converts the given ECI coordinates to Geodetic coordinates at the given Greenwich Mean Sidereal Time (GMST) (defaults to now) and with the given ellipsoid (defaults to WGS84).

This code was adapted from shashwatak/satellite-js and http://www.celestrak.com/columns/v02n03/