convertCoords(inputSystem,
outputSystem,
coordX,
coordY,
epoch)
| source code
|
Converts specified coordinates (given in decimal degrees) between
J2000, B1950, and Galactic.
- Parameters:
inputSystem (string) - system of the input coordinates (either "J2000",
"B1950" or "GALACTIC")
outputSystem (string) - system of the returned coordinates (either "J2000",
"B1950" or "GALACTIC")
coordX (float) - longitude coordinate in decimal degrees, e.g. R. A.
coordY (float) - latitude coordinate in decimal degrees, e.g. dec.
epoch (float) - epoch of the input coordinates
- Returns: list
- coordinates in decimal degrees in requested output system
|