ImageCollectionOU2024

class snappl.imagecollection.ImageCollectionOU2024(base_path=None)[source]

Bases: object

Collection of OpenUnivers 2024 FITS images.

Attributes Summary

base_path

Methods Summary

find_images([subset, path, mjd_min, ...])

get_image([image_id, path, observation_id, ...])

Return a OpenUniverse2024FITSImage based on specifications.

get_image_path(observation_id, band, sca[, ...])

Return the absolute path to the desired OU2024 FITS image.

Attributes Documentation

base_path

Methods Documentation

find_images(subset=None, path=None, mjd_min=None, mjd_max=None, ra=None, dec=None, band=None, exptime_min=None, exptime_max=None, sca=None)[source]
get_image(image_id=None, path=None, observation_id=None, band=None, sca=None, base_path=None, dbclient=None)[source]

Return a OpenUniverse2024FITSImage based on specifications.

If you specify all of path, observation_id, band, and sca, they must be consistent.

If you just give path, then observation_id, band, and sca will be read from the header.

If you give observation_id, band, and sca, but not path, it will use get_image_path to find the image.

NOTE: in the ou2024 files, “observation_id” is called “pointing” and is an int. In snappl, to match what will come from Roman, we use observation_id, and make it a string (even though it’s composed of characters [0-9], it’s a string in the Roman headers).

get_image_path(observation_id, band, sca, base_path=None)[source]

Return the absolute path to the desired OU2024 FITS image.

See ImageCollection.get_image_path for documentation.