make_2d_cutout

tessilator.tessilator.make_2d_cutout(file_in, phot_table, im_size=(20, 20))[source]

Makes a 2D cutout object of a target using the median time-stacked image.

Parameters:
file_inastropy.table.Table

The astropy table containing the output from the aperture photometry for a given target.

phot_tablelist

The list of fits files used to make the aperture photometry.

im_sizetuple, optional, default=(20,20)

The required size of the 2D-cutout object.

Returns:
cutoutastropy.nddata.Cutout2D

A 2D-cutout object.

ctr_pttuple

A tuple containing the X, Y position of the median time-stacked image.