astrocalc.coords.translate¶
Calculations to translate coordinates across the sky
- Author
David Young
Module Contents¶
Classes¶
Translate a set of coordinates north and east by distances given in arcsecs |
API¶
- class astrocalc.coords.translate.translate(log, ra, dec, northArcsec, eastArcsec, settings=False)[source][source]¶
Bases:
objectTranslate a set of coordinates north and east by distances given in arcsecs
Key Arguments
log– loggersettings– the settings dictionary. Default Falsera– ra (decimal or sexegesimal)dec– dec (decimal or sexegesimal)northArcsec– number of arcsecs to move location to the northeastArcsec– number of arcsecs to move location to the east
… todo::
- replace shift_coordinates class in all other code
Usage
To shift a set of coordinates north and east by given distances:
# TRANSLATE COORDINATES ACROSS SKY from astrocalc.coords import translate ra, dec = translate( log=log, settings=settings, ra="14.546438", dec="-45.34232334", northArcsec=4560, eastArcsec=+967800 ).get()
Initialization