Beispiel #1
0
def circular_velocity(k, a):
    """Circular velocity for a given body (k) and semimajor axis (a)."""
    return circular_velocity_fast(k.to_value(u_km3s2), a.to_value(
        u.km)) * u_kms
Beispiel #2
0
def circular_velocity(k, a):
    """Compute circular velocity for a given body (k) and semimajor axis (a).

    """
    return circular_velocity_fast(k.to(u.km3s2).value, a.to(u.km).value) * u.kms
Beispiel #3
0
def circular_velocity(k, a):
    """Circular velocity for a given body (k) and semimajor axis (a)."""
    return circular_velocity_fast(k.to(u_au3s2).value,
                                  a.to(u.au).value) * u_aus