get_tess_pixel_xy¶
- tessilator.tessilator.get_tess_pixel_xy(t_targets)[source]¶
Get the pixel x-y positions for all targets in a Sector/Camera/CCD mode.
For a given pair of celestial sky coordinates, this function returns table rows containing the sector, camera, CCD, and x/y position of the full-frame image fits file, so that all stars located in a given (large) fits file can be processed simultaneously. After the table is returned, the input table is joined to the input table on the source_id, to ensure this function only needs to be called once.
This function is only used if the tessilator program runs over the calibrated full-frame images - i.e., when the “all_cc” function is called.
- Parameters:
- t_targets
astropy.table.Table The input table created by the function get_gaia_data.py.
- t_targets
- Returns:
- xy_table
astropy.table.Table Output table containing the (x, y) pixel positions for each target.
- xy_table