Image#
- class prose.Image#
Image object containing image data and metadata
This is a Python Data Class, so that most attributes described below can be used as keyword-arguments when instantiated
Methods
__init__([data, metadata, catalogs, ...])asdict([image_dtype, low_data])copy([data])Copy of image object
cutout(coords, shape[, wcs, sources, ...])Return a cutout Image instance.
data_cutouts(sources, shape)Extract cutouts from image.
get(name)load(filepath)major_profile(source[, binn, debug])plot_catalog(name[, color, label, n])Plot catalog stars
plot_model(data[, figsize, cmap, c, contour])profile(d)save(filepath[, image_dtype, low_data])set(name, value)Set a computed value
show([cmap, ax, figsize, zscale, frame, ...])Show image data
symetric_profile(source[, binn])writeto(destination)Write image to FITS file
Attributes
catalogsCatalogs associated with the image contained in a dictionary of pandas dataframes
computedA dictionary containing any user and block-defined attributes
dataImage data
datedatetime of the observation
decDeclination as an astropy Quantity
discardWhether image as been discarded by a block
exposureExposure time as an astropy Quantity
filterFilter name
fovRA-DEC field of view of the image in degrees
headerFITS header associated with the image (optional)
jdlabelA conveniant {Telescope}_{Date}_{Object}_{Filter} string
metadataImage metadata
night_datedate of the night when night started.
originImage origin
pixel_scalePixel scale (or plate scale) as an astropy Quantity
plate_solvedReturn whether the image is plate solved.
raRight-Ascension as an astropy Quantity
shapeskycoordAstropy SkyCoord object based on header RAn, DEC.
sourcesImage sources.
wcsastropy.wcs.WCS object associated with the FITS
Image.header.