lightkurve.KeplerTargetPixelFile.extract_prf_photometry

KeplerTargetPixelFile.extract_prf_photometry(cadences=None, parallel=True, **kwargs)[source]

Returns the results of PRF photometry applied to the pixel file.

Parameters
cadenceslist of int

Cadences to fit. If None (default) then all cadences will be fit.

parallelbool

If True, fitting cadences will be distributed across multiple cores using Python’s multiprocessing module.

**kwargsdict

Keywords to be passed to get_model() to create the TPFModel object that will be fit.

Returns
resultsPRFPhotometry object

Object that provides access to PRF-fitting photometry results and various diagnostics.