are you saying that my sin / cos calcuation, e.g.:
angle_rads[:, 0::2] = np.sin(angle_rads[:, 0::2])
is wrong or that the initial values in angle_rads are wrong?
As mentioned, the tests for get_angles ran fine.
If tests for the get_angles function ran fine, the problem seems to be in the sin / cos calcuation. Check that you pass different columns of the angle_rads matrix as arguments to sine and cosine functions. Each column provides values for a single curve.
Please, remove the code from your post. That’s against the rules.
I’m having the same problem and I don’t quite understand what you’re saying. I’m passing the columns of angle rads to the sin and cos functions using 0::2 for both, when I try messing with them I get shape errors or steps backward, any help would be greatly appreciated.
edit, the only thing that responds with the same “sum of square pairs must = …” is -1::1