object_coords#
- caput.astro.observer.Observer.object_coords(source, date=None, deg=False)[source]#
Calculate the RA and DEC of a source.
Gives the ICRS coordinates if no date is given (=J2000), or if a date is specified gives the CIRS coordinates at that epoch.
This also returns the apparent position, including abberation and deflection by gravitational lensing. This shifts the positions by up to 20 arcseconds.
- Parameters:
- source
_SkySourceLike skyfield.starlib.Star or skyfield.vectorlib.VectorSum or skyfield.jpllib.ChebyshevPosition body representing the source.
- date
float|None, optional Determine coordinates at this unix time. If None, use Jan 01 2000.
- degbool, optional
Return coordinates in degrees if True, radians if False (default).
- source
- Returns: