lightkurve.LightCurveCollection.stitch

LightCurveCollection.stitch(corrector_func=<function LightCurveCollection.<lambda>>)[source]

Stitch all light curves in the collection into a single LightCurve.

Any function passed to corrector_func will be applied to each light curve before stitching. For example, passing “lambda x: x.normalize().flatten()” will normalize and flatten each light curve before stitching.

Parameters
corrector_funcfunction

Function that accepts and returns a LightCurve. This function is applied to each light curve in the collection prior to stitching. The default is to normalize each light curve.

Returns
lcLightCurve

Stitched light curve.