- 5,197
- 38
I have the function:
x(\phi) = \left[(\phi - \phi_0)\frac{72~000}{360^\circ} + x_0\right]~\textrm{mod}~72~000
and I'm wondering how to invert it in order to get \phi(x)? Also, the modulus operator is not exactly what I'm looking for here, because if x goes below 0, I want it to wrap around so that -1 \longrightarrow 71~999, and -2 \longrightarrow 71~998 etc. How do I express that mathematically?
Finally, the angle \phi is restricted between values that cover a range < 360 degrees, leading me to believe this function should be one-to-one. \phi_0 also lies in this range. x_0 is arbitrary but should be between 0 and 71999.
EDIT: I should also mention that x is in the set of integers (which I guess means that step sizes in \phi of less than 18 arsec don't occur).
x(\phi) = \left[(\phi - \phi_0)\frac{72~000}{360^\circ} + x_0\right]~\textrm{mod}~72~000
and I'm wondering how to invert it in order to get \phi(x)? Also, the modulus operator is not exactly what I'm looking for here, because if x goes below 0, I want it to wrap around so that -1 \longrightarrow 71~999, and -2 \longrightarrow 71~998 etc. How do I express that mathematically?
Finally, the angle \phi is restricted between values that cover a range < 360 degrees, leading me to believe this function should be one-to-one. \phi_0 also lies in this range. x_0 is arbitrary but should be between 0 and 71999.
EDIT: I should also mention that x is in the set of integers (which I guess means that step sizes in \phi of less than 18 arsec don't occur).
Last edited: