RAMjET

ramjet.analysis.transit_vetter

Code for vetting transit candidates.

Module Contents

Classes

TransitVetter A class for vetting transit candidates.
class TransitVetter[source]

A class for vetting transit candidates.

radius_of_jupiter__solar_radii = 0.1028
is_transit_depth_for_target_physical_for_planet(self, target: TessTarget, transit_depth: float)[source]

Check if the depth of a transit is not too deep to be caused by a planet for a given target.

Parameters:
  • target – The target whose parameters should be used.
  • transit_depth – The transit depth in relative flux.
Returns:

A boolean stating if the depth is physical for a planet. False meaning the radius of transiting body is (likely) too large to be a planet.

static has_no_nearby_likely_eclipsing_binary_background_targets(target: TessTarget)[source]

Checks if the target has likely nearby targets which may be eclipsing binaries showing up as the transit.

Parameters:target – The target of interest.
Returns:Whether or not there is at least one problematic nearby target.
static has_nearby_toi_targets(target: TessTarget)[source]

Checks if the target has nearby TOI targets which are likely to be where the transit is from.

Parameters:target – The target of interest.
Returns:Whether or not there is at least one problematic nearby target.
get_maximum_physical_depth_for_planet_for_target(self, target: TessTarget, allow_missing_contamination_ratio: bool = False)[source]

Determines the maximum depth allowable for a given target for a transit to be caused by a planet.

Parameters:
  • target – The target to check for.
  • allow_missing_contamination_ratio – Allow for unknown contamination, which will then default to 0.
Returns:

The maximum relative depth allowed.