median_image¶
-
vetpack.median_image(tpf, ax=None)¶ Plot the median image from a target pixel file.
Parameters: - tpf : ~lightkurve.TargetPixelFile
A target pixel file object.
- ax : ~matplotlib.axes.Axes or None, optional.
The ~matplotlib.axes.Axes object to be drawn on. If None, creates a new
FigureandAxes.
Returns: - ax : ~matplotlib.axes.Axes
An
Axesobject with the median image plotted.