astrocalc.coords.translate module¶
Calculations to translate coordinates across the sky
Author : David Young
- 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:
```python # 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