2021-04-05 18:02:40 +02:00
|
|
|
from rebound import Particle
|
|
|
|
|
2021-05-03 16:16:55 +02:00
|
|
|
habitable_zone_inner = 0.75
|
|
|
|
habitable_zone_outer = 1.5
|
2021-04-05 18:02:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
def is_potentially_habitable(planet: Particle):
|
|
|
|
return habitable_zone_inner <= planet.a <= habitable_zone_outer
|