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_plotastropy.nddata.Cutout2D

The cut-out image of the target

cleandict

The modified (cleaned) lightcurve after processing

origdict

The original normalised lightcurve before processing.

LS_dictdict

The dictionary of parameters calculated by the Lomb-Scargle periodogram

scclist, size=3

List containing the sector number, camera and CCD

t_tableastropy.table.Table

Table containing the input data for the target

XY_ctrtuple, optional, default=(10,10)

The centroid (in pixels) of the target in the TESS image.

XY_contamIterable or None, optional, default = None

The pixel positions of the strongest contaminants

p_min_threshfloat, optional, default=0.1

The shortest period calculated in the Lomb-Scargle periodogram

p_max_threshfloat, optional, default=50.

The longest period calculated in the Lomb-Scargle periodogram

Radfloat, optional, default=1.0

The aperture radius from the aperture photometry

SkyRadIterable, size=2, optional, default=[6.,8.]

The inner and outer background annuli from aperture photometry

targ_nameG or T, 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.

Returns:
Nothing returned. The plot produced is saved to file.