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:
- target
astropy.table.Table The astropy table containing the output from the aperture photometry for a given target.
- fits_files
list The list of fits files used to make the aperture photometry
- im_size
tuple, optional, default=(21,21) The required size of the 2D-cutout object
- target
- Returns:
- cutout
astropy.nddata.Cutout2D A 2D-cutout object
- XY_ctr
tuple A tuple containing the X, Y position of the median time-stacked image.
- cutout