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
BPmag: Gaia DR3 apparent BP-band magnitude
RPmag: Gaia DR3 apparent RP-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:
- t_filename
str The file name of the table which will be checked for formatting.
- t_filename
- Returns:
- t
astropy.table.TableorNone either a ready-prepared table or nothing.
- t