uvex_transients.surveys.footprints.utils#
Building blocks for the ~mocpy.MOC generators behind ~uvex_transients.surveys.footprints.base.SurveyFootprint.
Every generator here follows the registry contract generator(*, max_order, **params) -> MOC
(see ~uvex_transients.surveys.footprints.base.SurveyFootprint.generator): a download helper
(download_file_cached), DS9 region files (fetch_and_generate_MOC_from_URL), and simple
analytic shapes (all_sky_MOC, dec_band_MOC, union_of_galactic_boxes_MOC).
Functions
|
Registry-contract generator for an unrestricted, all-sky footprint. |
|
Convert parsed DS9 regions into a single ~mocpy.MOC. |
|
Registry-contract generator for a declination band covering every right ascension. |
|
Download a file, reusing astropy's on-disk cache when possible. |
|
Download a DS9 region file and convert it to a ~mocpy.MOC. |
|
Build a box bounded by constant Galactic longitude and latitude. |
|
Registry-contract generator for the union of several galactic_box_MOC boxes. |