Convert acceleration to velocity and displacement using integrate from csv file
- python
- pandas
- matplotlib
- scipy
- send2trash
- Fork or clone the project
- Open main.py
- Change
YOUR_MASS = 50
to your mass - Change
INPUT_ACCE_CSV = 'example.csv'
to your csv file - Make sure your csv file contain this header
time,ax,ay,az,aT
- Change
INPUT_AXIS = 'T'
if you want to another axis (x / y / z / T) - Change
DATA_SMOOTHING = 1
to 0 if you dont want to smooth the data - If you want to smooth the data, replace this line so that your data is more accurate
CUTOFF_FREQUENCY = 0.00355 # Adjust this value according to your requirements FILTER_ORDER = 4 # You can adjust the filter order as needed
- Run the code
- ComboGraph.py
- Run the code
This code is open-sourced software licensed under the MIT License.