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:

    1. source_id: name of the Gaia DR3 source identifier

    2. ra: right ascension

    3. dec: declination

    4. parallax: parallax

    5. Gmag: Gaia DR3 apparent G-band magnitude

    6. BPmag: Gaia DR3 apparent BP-band magnitude

    7. RPmag: Gaia DR3 apparent RP-band magnitude

    8. Sector: The TESS sector

    9. Camera: The TESS camera

    10. CCD: The TESS CCD number

    11. Xpos: The TESS X-pixel

    12. 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_filenamestr

The file name of the table which will be checked for formatting.

Returns:
tastropy.table.Table or None

either a ready-prepared table or nothing.