May-10-2022, 09:25 PM
(This post was last modified: May-10-2022, 09:25 PM by deanhystad.)
If you just want to know the velocity at the end of your sample:
If you want a velocity for each acceleration point, I would use numpy.trapz()
https://numpy.org/doc/stable/reference/g...trapz.html
You could do this again to get a time history of displacement.
velocity += sum(acceleration) / 30000Just like you were doing for displacement.
If you want a velocity for each acceleration point, I would use numpy.trapz()
https://numpy.org/doc/stable/reference/g...trapz.html
You could do this again to get a time history of displacement.