ramjet.photometric_database.tess_target¶
Code to represent a TESS target.
Module Contents¶
Classes¶
TessTarget |
A class to represent an TESS target. Usually a star or star system. |
-
class
TessTarget[source]¶ A class to represent an TESS target. Usually a star or star system.
-
tess_data_interface¶
-
classmethod
from_tic_id(cls, tic_id: int)[source]¶ Creates a target from a TIC ID.
Parameters: tic_id – The TIC ID to create the target from. Returns: The target.
-
static
get_radius_from_gaia(gaia_source_id: int)[source]¶ Retrieves the radius of a body from Gaia.
Parameters: gaia_source_id – The Gaia source ID for the target to retrieve the radius of. Returns: The radius.
-
calculate_transiting_body_radius(self, transit_depth: float, allow_unknown_contamination_ratio: bool = False)[source]¶ Calculates the radius of a transiting body based on the target parameters and the transit depth.
Parameters: - transit_depth – The depth of the transit signal.
- allow_unknown_contamination_ratio – Whether to calculate even without a known contamination ratio.
Returns: The calculated radius of the transiting body.
-