ApCorrRadial
- class jwst.extract_1d.apply_apcorr.ApCorrRadial(input_model, apcorr_table, location=None)[source]
Bases:
ApCorrBaseAperture correction class for spectra produced from an extraction aperture radius.
- Parameters:
- input_model
JwstDataModel Input data model used to determine matching parameters.
- apcorr_table
FITS_rec Aperture correction table data from APCORR reference file.
- locationtuple or None, optional
Reference location (RA, Dec) used to calculate the pixel scale used in converting values in arcsec to pixels. Default is None, however, if the input reference data contains size/radius data in units of arcsecs, a location is required.
- input_model
Methods Summary
apply(spec_table)Apply interpolated aperture correction to extraction results in-place.
Implement the approximation method.
find_apcorr_func(iwave, radius_ifu)Interpolate aperture correction onto a specific wavelength and radius.
match_wavelengths(wavelength_ifu)Interpolate aperture correction and radial size onto input wavelengths.
Methods Documentation
- apply(spec_table)[source]
Apply interpolated aperture correction to extraction results in-place.
- Parameters:
- spec_table
FITS_rec Table of aperture corrections values from apcorr reference file.
- spec_table
- approximate()[source]
Implement the approximation method.
Has no effect for this class. The base class requires that it be implemented, but the equivalent functionality for this class is performed in
find_apcorr_func().