ImageCollectionManualFITS

class snappl.imagecollection.ImageCollectionManualFITS(base_path=None, threefile=False)[source]

Bases: object

Manually specified custom images.

One version of this (constructed with threefile=True) assumes that there are three files associated with an image whose path is given as {path}:

{path}_image.fits
{path}_noise.fits
{path}_flags.fits

In addition, the threefile version assumes that the following header keywords all exist in the header of the _image.fits file:

BAND
EXPTIME
MJD
POINTING    [ this is "observation_id" ]
SCA
ZPT

(in addition to a WCS in the _image.fits header).

Methods Summary

find_images(**kwargs)

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

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

Methods Documentation

find_images(**kwargs)[source]
get_image(image_id=None, path=None, observation_id=None, band=None, sca=None, base_path=None, dbclient=None)[source]
get_image_path(observation_id, band, sca, base_path=None)[source]