difference_image¶
-
vetpack.difference_image(tpf, t0, period, duration, ax=None)¶ Plot the median in/out transit difference image from a target pixel file.
Parameters: - tpf : ~lightkurve.TargetPixelFile
A target pixel file object.
- t0 : float
The central transit time.
- period : float
The orbital period.
- duration : float
The duration of the transit.
- 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 difference image plotted.