SkyObject

class jwst.lib.catalog_utils.SkyObject(label=None, xcentroid=None, ycentroid=None, sky_centroid=None, isophotal_abmag=None, isophotal_abmag_err=None, sky_bbox_ll=None, sky_bbox_lr=None, sky_bbox_ul=None, sky_bbox_ur=None, is_extended=None)[source]

Bases: SkyObject

Sky Object container for WFSS catalog information.

This is a convenience object for storing the catalog information as a named tuple. The object has explicit fields to guard for changing column locations in the catalog file that’s read. Callers should validate for the minimum fields they require. This is currently populated for the minimum information needed by the WFSS modes in nircam and niriss.

Parameters:
labelint

Source identified.

xcentroidfloat

X center of object in pixels.

ycentroidfloat

Y center of object in pixels.

sky_centroidSkyCoord

RA and dec of the center of the object.

isophotal_abmagfloat

AB Magnitude of object.

isophotal_abmag_errfloat

Error on the AB magnitude.

sky_bbox_llSkyCoord

Lower left corner of the minimum bounding box.

sky_bbox_lrSkyCoord

Lower right corder of the minimum bounding box.

sky_bbox_ulSkyCoord

Upper left corner of the minimum bounding box.

sky_bbox_urSkyCoord

Upper right corner of the minimum bounding box.

is_extendedbool

Flag indicating if the object is extended.

Create a new instance of SkyObject.