Linearization of sine wave

Apr 2013
Hello, I am currently working on a project which involves pulling data from a specific axis of a phones accelerometer and feeding that data into an algorithm that yields relevant results to the project. Currently the results are not desirable because the data pulled from the device creates a sine wave which results in non uniform output values per unit of rotation.
The graph below shows what the current input is (blue) as well as what I am needing to convert that input to (orange) before feeding it into my algorithm.

My question is: How do I linearize the original input that is creating the sine wave?
Attached is the rough data set per 5 degrees of rotation in an .xlsx.

Please let me know if anything is unclear or if more information is needed, any direction given will be appreciated.
(apologies if my syntax is incorrect)

Thanks in advance,
Your friendly neighborhood Space Ninja



Jan 2012
Assuming \(\displaystyle X\) is the input data.

\(\displaystyle \frac{2\sin^{-1}(X)}{\pi}\)
Jan 2020
Assuming \(\displaystyle X\) is the input data.

\(\displaystyle \frac{2\sin^{-1}(X)}{\pi}\)
Hello, by any chance could you please give a source or explain how you arrived at that equation. Thank you...

P.S. I am aware that this is like 7 years later... so yeah I'm not expecting any response TwT...

Thank youuuuu