lightkurve.KeplerTargetPixelFile.get_model

KeplerTargetPixelFile.get_model(star_priors=None, **kwargs)[source]

Returns a default TPFModel object for PRF fitting.

The default model only includes one star and only allows its flux and position to change. A different set of stars can be added using the star_priors parameter.

Parameters
**kwargsdict

Arguments to be passed to the TPFModel constructor, e.g. star_priors.

Returns
modelTPFModel object

Model with appropriate defaults for this Target Pixel File.