ploonetide.utils.functions.hill_radius¶ ploonetide.utils.functions.hill_radius(ap: float | ndarray, ep: float | ndarray, mp: float | ndarray, M: float | ndarray) → float | ndarray[source]¶ Calculate the Hill radius of a secondary body. Works with scalars or NumPy arrays. Parameters: a (float or ndarray) – Semimajor axis of planet e (float or ndarray) – Eccentricity of planet m (float or ndarray) – Mass of planet M (float or ndarray) – Mass of star Returns: Hill radius [m]. Return type: float or ndarray