table_from_table

tessilator.maketable.table_from_table(input_table, name_is_source_id=0)[source]

Generate the formatted astropy table from a pre-formatted astropy table.

Each entry needs to be in comma separated variable(.csv) format. This is the quickest way to produce the table ready for analysis, but it is important the input data is properly formatted.

Parameters:
input_tableastropy.table.Table
The columns of table must be in the following order:
  • source_id (data type: str)

  • ra (data type: float)

  • dec (data type: float)

  • parallax (data type: float)

  • Gmag (data type: float)

The column headers are not necessary.

Returns:
gaia_tableastropy.table.Table

the output table ready for further analysis