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) |
# 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) |
# 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. |