Page 1 of 1

Rotate Experimental Data Through Python API

Posted: Tue Jul 13, 2021 7:55 am
by ahenry
Hello,
I have quite a few .trc files that I would like to rotate such that they properly align with the OpenSim global coordinate system. I am aware that I can load experimental data into the GUI and manually transform that data such that it aligns with the GCS. I am wondering if there are any functions in the API that I could use to rotate multiple .trc files rather than rotating them manually in the GUI. I did some digging in the Doxygen documentation but did not find any functions.
Thanks,

Re: Rotate Experimental Data Through Python API

Posted: Wed Jul 14, 2021 8:14 am
by ahenry
Update: I ended up just writing a custom script to rotate my trc files.

Re: Rotate Experimental Data Through Python API

Posted: Wed Dec 08, 2021 4:32 pm
by vigneshrk
Hello Aaron,

Hope you are well. Sorry but did you use any OpenSim functions to rotate the trc file? If alright with you, would you be able to share how you did it?

Thanks,
Vignesh