ploonetide.utils.functions.omegaAngular

ploonetide.utils.functions.omegaAngular(P: float | ndarray) float | ndarray[source]

Rotational rate given the period. Works with scalars or NumPy arrays.

Parameters:

P (ArrayLike) – Orbital/rotational period

Returns:

Rotational rate [s^-1]

Return type:

float or ndarray