PhotCTEAPI
- class acstools.acsphotcte.PhotCTEAPI
Bases:
object
Convenience class for handling queries to ACS Photometric CTE API.
Attributes Summary
CTE corrected magnitudes
Computed CTE corrections
Methods Summary
correct_photometry
([radius, ytransfers, ...])Get the CTE corrected FLT photometry.
Attributes Documentation
- corrected_magnitudes
CTE corrected magnitudes
- cte_corrections
Computed CTE corrections
Methods Documentation
- correct_photometry(radius=None, ytransfers=None, mjd=None, local_skys=None, fluxes=None)
Get the CTE corrected FLT photometry.
- Parameters:
radius ({3, 5}) – Aperture radius used to extract photometry.
ytransfers (float, list) – Number of row transfers. For chip 2 on WFC, this is the Y value. For chip 1, it is
2048 - Y
.mjd (float) – MJD date of the observation.
local_sky (float, list) – Local sky background for each source in units of electrons.
fluxes (float, list) – Computed source flux, in electrons, for 3 or 5 pixel apertures.
- Returns:
corrected_magnitudes – If the query is successful it returns the CTE corrected magnitudes for the sources. Otherwise, it returns
None
.- Return type: