get_gaia_data¶
- tessilator.maketable.get_gaia_data(gaia_table, name_is_source_id=0)[source]¶
Reads the input table and returns a table in the correct format for TESSilator.
The table must be in comma-separated variable format, in either of these 3 ways:1) A table with a single column containing the source identifier* note that this is the preferred method since the target identified in the Gaia query is unambiguously the same as the input value.2) A table with sky-coordinates in either the ‘icrs’ (default),’galactic’, or ‘ecliptic’ system.* note this is slower because of the time required to run the Vizier query.3) A table with all 5 columns already made.- Parameters:
- gaia_table
astropy.table.Table The input table
- name_is_source_id
bool, optional, default=0 If the input table has 5 columns, this provides the choice to set the name column equal to “source_id” (=1), or to find a common target identifier (=0)
- gaia_table