Module

Coordinates

Methods

# static getGalacticLatitudeFromEquatorial(coords, epoch)

Galactic latitude from equatorial coordinates. See AA p.94
Parameters:
Name Type Description
coords EquatorialCoordinates The equatorial coordinates (in degrees)
epoch JulianDay The epoch (default = J2000)

View Source coordinates/equatorial2galactic.ts, line 34

# static getGalacticLongitudeFromEquatorial(coords, epoch)

Galactic longitude from equatorial coordinates. See AA p.94
Parameters:
Name Type Description
coords EquatorialCoordinates The equatorial coordinates (in degrees)
epoch JulianDay The epoch (default = J2000)

View Source coordinates/equatorial2galactic.ts, line 15

# static transformEquatorialToGalactic(coords, epoch)

Transform equatorial coordinates to galactic coordinates.
Parameters:
Name Type Description
coords EquatorialCoordinates The equatorial coordinates (in degrees)
epoch Degree The epoch of the equatorial coordinates. By default, J2000.

View Source coordinates/equatorial2galactic.ts, line 50