def sky_to_ring(Xs, Ys, i_deg, phi_deg):

    i = np.pi * i_deg / 180.
    phi = np.pi * phi_deg / 180.

    Xr = ((np.cos(phi) * Xs) + (np.sin(phi) * Ys))
    Yr = ((np.sin(phi) * Xs) - (np.cos(phi) * Ys)) / np.sin(i)
    Rr = np.sqrt((Xr*Xr) + (Yr*Yr))

    return(Xr, Yr, Rr)
Temporary ending routine
dataset/ETHPy150Open mkenworthy/exorings/exorings.py/sky_to_ring--crossover with--dataset/ETHPy150Open Diastro/Zeek/src/server.py/ending