make_plot¶
- tessilator.makeplots.make_plot(im_plot, clean, orig, LS_dict, scc, t_table, XY_ctr=(10, 10), XY_contam=None, p_min_thresh=0.1, p_max_thresh=50.0, Rad=1.0, SkyRad=[6.0, 8.0], targ_name='G')[source]¶
Produce a plot of tessilator results.
This module produces a 4-panel plot displaying information from the tessilator analysis. These are:1) An TESS cut-out image of the target, with aperture and sky annulus.2) A power vs period plot from the Lomb-Scargle periodogram analysis.3) A lightcurve of the normalised flux.4) The phase-folded lightcurve.- Parameters:
- im_plot
astropy.nddata.Cutout2D The cut-out image of the target
- clean
dict The modified (cleaned) lightcurve after processing
- orig
dict The original normalised lightcurve before processing.
- LS_dict
dict The dictionary of parameters calculated by the Lomb-Scargle periodogram
- scc
list, size=3 List containing the sector number, camera and CCD
- t_table
astropy.table.Table Table containing the input data for the target
- XY_ctr
tuple, optional, default=(10,10) The centroid (in pixels) of the target in the TESS image.
- XY_contam
IterableorNone, optional, default =None The pixel positions of the strongest contaminants
- p_min_thresh
float, optional, default=0.1 The shortest period calculated in the Lomb-Scargle periodogram
- p_max_thresh
float, optional, default=50. The longest period calculated in the Lomb-Scargle periodogram
- Rad
float, optional, default=1.0 The aperture radius from the aperture photometry
- SkyRad
Iterable, size=2, optional, default=[6.,8.] The inner and outer background annuli from aperture photometry
- targ_name
GorT, optional, default=G The prefix in the names of the image files are changed to either the Gaia source identifier if targ_name = G, or the target name if targ_name = T.
- im_plot
- Returns:
- Nothing returned. The plot produced is saved to file.