create_plot

tessilator.makeplots.create_plot(im_plot, clean, LS, scc, t_table, name_target, plot_dir, xy_ctr=(10, 10), xy_contam=None, p_min_thresh=0.1, p_max_thresh=50.0, ap_rad=1.0, sky_ann=(6.0, 8.0), nc='nc')[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

LSdict

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

name_targetstr

The name of the target

plot_dirstr

The directory to save the plots.

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

ap_radfloat, optional, default=1.0

The aperture radius from the aperture photometry

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

The inner and outer background annuli from aperture photometry

ncstr, optional, default=’nc’

Describes the type of noise correction applied to the lightcurve.

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