Astrometry (craftutils.astrometry)¶
Convenience functions for astrometric purposes.
Functions¶
-
craftutils.astrometry.cat_columns(cat, f: str | None =
None)
- craftutils.astrometry.load_catalogue(cat_name: str, cat: str, ...)
- craftutils.astrometry.correct_gaia_to_epoch(gaia_cat, ...)
- craftutils.astrometry.generate_astrometry_indices(cat_name, ...)
- craftutils.astrometry.attempt_skycoord(coord)
- craftutils.astrometry.coord_string(coord: SkyCoord)
- craftutils.astrometry.calculate_error_ellipse(frb: str | dict, ...)
Calculates the parameters of the uncertainty ellipse of an FRB, for use in plotting. :param frb: Either a string specifying the FRB, which must have a corresponding .yaml file in /param/FRBs, or a
dictionary containing the same information.
- craftutils.astrometry.offset_astrometry(...)
Offsets the astrometric solution of a fits HDU by the specified amounts. :param hdu: Astropy HDU object to be offset. :param offset_ra: Amount to offset Right Ascension by, in degrees. :param offset_dec: Amount to offset Declination by, in degrees. :param output: String specifying the output directory. :return:
- craftutils.astrometry.find_nearest(coord: SkyCoord, search_coords)
- craftutils.astrometry.sanitise_coord(cat: Table, dec_col: str)
- craftutils.astrometry.match_catalogs(...)