ReferenceData

class jwst.source_catalog.reference_data.ReferenceData(model, reffile_paths, aperture_ee)[source]

Bases: object

Manipulate APCORR and ABVEGAOFFSET reference file data.

These data are needed by SourceCatalogStep.

Parameters:
modelImageModel

An ImageModel of drizzled image.

reffile_pathslist of 2 str

The full path filename of the APCORR and ABVEGAOFFSET reference files.

aperture_eetuple of 3 int

The aperture encircled energies to be used for aperture photometry. The values must be 3 strictly-increasing integers. Valid values are defined in the APCORR reference files (20, 30, 40, 50, 60, 70, or 80).

Attributes Summary

abvega_offset

Offset to convert from AB to Vega magnitudes.

aperture_params

Build the aperture parameters dictionary.

Attributes Documentation

abvega_offset

Offset to convert from AB to Vega magnitudes.

Returns:
abvega_offsetfloat

The value m_AB - m_Vega.

aperture_params

Build the aperture parameters dictionary.

Returns:
paramsdict

A dictionary containing the aperture parameters (radii, aperture corrections, and background annulus inner and outer radii).