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. Sector: The TESS sector

    7. Camera: The TESS camera

    8. CCD: The TESS CCD number

    9. Xpos: The TESS X-pixel

    10. 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_inastropy.table.Table

The table input which will be checked for formatting.

Returns:
tastropy.table.Table or None

either a ready-prepared table or nothing.