hogg_iau_name¶
-
pydl.pydlutils.misc.
hogg_iau_name
(ra, dec, prefix='SDSS', precision=1)[source]¶ Properly format astronomical source names to the IAU convention.
Parameters: - ra :
float
ornumpy.ndarray
Right ascencion in decimal degrees
- dec :
float
ornumpy.ndarray
Declination in decimal degrees.
- prefix :
str
, optional Add this prefix to the string, defaults to ‘SDSS’.
- precision :
int
, optional Display this many digits of precision on seconds, default 1.
Returns: - :class:`str` or :class:`list`
The IAU name for the coordinates.
Examples
>>> from pydl.pydlutils.misc import hogg_iau_name >>> hogg_iau_name(354.120375,-0.544777778) 'SDSS J233628.89-003241.2'
- ra :