Functions

Clearing neightbourhood around planets orbit Margot’s П discriminant (masses in solar mass, axis untiless) https://en.wikipedia.org/wiki/Clearing_the_neighbourhood

Orbital radius is in AU, eccentricity is unitless, and the stellar luminosity ratio is with respect to the sun. The value returned is the mass at which the planet begins to accrete gas as well as dust, and is in units of solar masses.

Hill sphere radius for planet / moon system in AU.

The distance between the orbiting body and the sun at it’s closest approach.

Roche limit for planet / moon system in AU. Moon radius passes in AU, masses in solar mass.