Detection Functions
Function to see if a planet is detectable
- class detection.Planet(name, depth, duration, number=3)
Defines a set of parameters for planets in our solar system.
- Parameters:
name (str) – Name of the planet.
depth (int) – Transit depth in ppm.
duration (int) – Transit duration in hours.
number (int) – Number of transits.
- detectability_check()
Performs the detectability check for an array of planet data.
- Parameters:
planets_data (list) – List of tuples containing planet data in the format (name, depth, duration).
- Returns:
None. Prints the detection results on the screen.
- is_detectable(nsr, nsr_plato=34)
Determines if the planet is detectable based on the noise level.
- Parameters:
nsr (float) – Noise level of the planet transit signal at detector level.
nsr_plato (float, optional) – Threshold noise level for detection. Defaults to 34 ppm sqrt(hr).
- Returns:
‘Detectable planet’ or ‘Non-detectable planet’.
- Return type:
str
- noise_level(eta=7.1)
Calculates the noise level of the planet transit signal at detector level.
- Parameters:
eta (float, optional) – Statistical significance value adopted for PLATO. Defaults to 7.1.
- Returns:
The noise level of the planet transit signal at detector level.
- Return type:
float