test_table_large_sectors¶
- tessilator.tessilator.test_table_large_sectors(t_filename)[source]¶
Check if the input file needs modifying at all.
|If running the tessilator for a whole sector, read the input file and if the format is ready for analysis, make a couple of adjustments, then simply pass the file.
For a straight pass, the columns must be ordered in two ways. Either:exactly set out with the following columns:
source_id: name of the Gaia DR3 source identifier
ra: right ascension
dec: declination
parallax: parallax
Gmag: Gaia DR3 apparent G-band magnitude
Sector: The TESS sector
Camera: The TESS camera
CCD: The TESS CCD number
Xpos: The TESS X-pixel
Ypos: The TESS Y-pixel
The same, but with a preceding column entitled “name”, which refers to a target identifier name. This can be any string.
In any other case, None is returned and other functions are used to get the table into the correct format.- Parameters:
- table_in
astropy.table.Table The table input which will be checked for formatting.
- table_in
- Returns:
- t
astropy.table.TableorNone either a ready-prepared table or nothing.
- t