companion_relative_to_absolute_position
- breads.utils.companion_relative_to_absolute_position(star_name, comp_name, comp_sep, comp_pa, obs_date, verbose=True)[source]
Compute absolute ICRS coordinates of a substellar companion at a given date
Retrieves the host star’s coordinates (including RA, Dec, proper motion, and parallax)
Propagates to the desired date
Performs coordinate offset to the companion location
Prints out the results, in format suitable to enter into APT
- Parameters:
- star_namestr
Star name, resolvable by SIMBAD
- comp_namestr
Companion name, for display
- comp_sepastropy.units.Quantity
Separation of the companion relative to the host, for instance in arcseconds
- comp_paastropy.units.Quantity
Position angle of the companion relative to North, for instance in degrees east of north
- obs_datestr or astropy.time.Time
Observation epoch, in a format understandable by astropy.time
- verbosebool
Be more verbose in output?
- Returns:
- planet_coordastropy.coordinates.SkyCoord
Computed absolute ICRS coordinates of the companion at the specified epoch