TSOPhotometryStep

class jwst.tso_photometry.TSOPhotometryStep(name=None, parent=None, config_file=None, _validate_kwds=True, **kws)[source]

Bases: JwstStep

Perform circular aperture photometry on imaging Time Series Observations (TSO).

Create a Step instance.

Parameters:
namestr

The name of the Step instance. Used in logging messages and in cache filenames. If not provided, one will be generated based on the class name.

parentStep

The parent step of this step. Used to determine a fully-qualified name for this step, and to determine the mode in which to run this step.

config_filestr or pathlib.Path

The path to the config file that this step was initialized with. Use to determine relative path names of other config files.

_validate_kwdsbool

Validate given kws against specs/config.

**kwsdict

Additional parameters to set. These will be set as member variables on the new Step instance.

Attributes Summary

class_alias

reference_file_types

spec

Methods Summary

process(input_data)

Do the TSO photometry processing.

Attributes Documentation

class_alias = 'tso_photometry'
reference_file_types: ClassVar = ['gain']
spec = '\n        save_catalog = boolean(default=False)  # Save exposure-level catalog\n        radius = float(default=3.0) # Aperture radius in pixels\n        radius_inner = float(default=4.0) # Background annulus inner radius in pixels\n        radius_outer = float(default=5.0) # Background annulus outer radius in pixels\n        centroid_source = boolean(default=True)  # Centroid source before photometry\n        search_box_width = integer(default=41)  # Box width for initial source search; must be odd.\n        fit_box_width = integer(default=11)  # Box width for centroid fit; must be odd.\n        moving_centroid = boolean(default=False)  # Fit centroid values for each integration\n    '

Methods Documentation

process(input_data)[source]

Do the TSO photometry processing.

Parameters:
input_datastr or CubeModel

Filename for a FITS image, or a CubeModel.

Returns:
catalogQTable

Astropy QTable (Quantity Table) containing the source photometry.