ApCorrPhase
- class jwst.extract_1d.apply_apcorr.ApCorrPhase(*args, pixphase=0.5, **kwargs)[source]
Bases:
ApCorrBaseProduce and apply aperture correction for input data with pixel phase.
- Parameters:
- *argstuple
Input arguments as defined in
ApCorrBase.- pixphasefloat, optional
Pixel phase of the input data.
- **kwargs
Additional parameters as defined in
ApCorrBase.
Attributes Summary
Methods Summary
apply(spec_table[, use_tabulated])Apply interpolated aperture correction value to source-related extraction results in-place.
Generate an approximate function for interpolating APCORR values.
tabulate_correction(spec_table)Tabulate the interpolated aperture correction value.
Attributes Documentation
- size_key = 'size'
Methods Documentation
- apply(spec_table, use_tabulated=False)[source]
Apply interpolated aperture correction value to source-related extraction results in-place.
- approximate()[source]
Generate an approximate function for interpolating APCORR values.
- Returns:
- callable
The approximation function.
- tabulate_correction(spec_table)[source]
Tabulate the interpolated aperture correction value.
Storing the values saves time when applying it later, especially if it is to be applied to multiple integrations.
Modifies
self.tabulated_correction.- Parameters:
- spec_table
FITS_rec Table of aperture corrections values from APCORR reference file.
- spec_table