GrismObject
- class stdatamodels.jwst.transforms.GrismObject(sid=None, order_bounding=None, sky_centroid=None, partial_order=None, waverange=None, sky_bbox_ll=None, sky_bbox_lr=None, sky_bbox_ur=None, sky_bbox_ul=None, xcentroid=None, ycentroid=None, is_extended=None, isophotal_abmag=None)
Bases:
GrismObjectGrism Objects identified from a direct image catalog and segment map.
Notes
The object bounding box is computed from the segmentation map, using the min and max wavelength for each of the orders that are available. The order_bounding member is a dictionary of bounding boxes for the object keyed by order
ra and dec are the sky ra and dec of the center of the object as measured from the non-dispersed image.
order_bounding is stored as a lookup dictionary per order and contains the object x,y bounding location on the grism image GrismObject(order_bounding={“+1”:((xmin,xmax),(ymin,ymax)),”+2”:((2,3),(2,3))})
Create a new GrismObject.
- Parameters:
- sidint
Source identified
- order_boundingdict{order: tuple}
Contains the object x,y bounding locations on the image keyed on spectral order
- sky_centroid
astropy.coordinates.SkyCoord RA and Dec of the center of the object
- partial_orderbool
True if the order is only partially contained on the image
- waverangelist
Wavelength range for the order
- sky_bbox_ll
astropy.coordinates.SkyCoord Lower left corner of the minimum bounding box
- sky_bbox_lr
astropy.coordinates.SkyCoord Lower right corder of the minimum bounding box
- sky_bbox_ur
astropy.coordinates.SkyCoord Upper right corner of the minimum bounding box
- sky_bbox_ul
astropy.coordinates.SkyCoord Upper left corner of the minimum bounding box
- xcentroid, ycentroidfloat
The x, y center of object in pixels
- is_extendedbool
True if marked as extended in the source catalog
- isophotal_abmagfloat
The isophotal_abmag from the source catalog
- Returns:
- GrismObject
A new GrismObject instance.