These files are for a very specific use case for a friend of mine. Might be useful for others too. Who knows
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
$ python main.py -h
usage: main.py [-h] [--output OUTPUT]
(--extract EXTRACT [EXTRACT ...] | --integrate | --zero-crossing | --butt | --peaks)
input
jo's cool data analysis tool
positional arguments:
input The input file.
options:
-h, --help show this help message and exit
--output OUTPUT, -o OUTPUT
Output file. Not required and will generate a random temp file
if not given that is printed to stdout.
--extract EXTRACT [EXTRACT ...], -e EXTRACT [EXTRACT ...]
A list of column INDEXES to extract
--integrate, -i
--zero-crossing, -z
--butt, -b
--peaks, -p
Extract columns 0, 10, 30, and 81, then run the integration, zero-crossing and peak detection:
python main.py "Walk 1.csv" -o walk_1_ext.csv -e 0 10 30 81
python main.py walk_1_ext.csv -o walk_1_peaks.csv --peaks
python main.py walk_1_ext.csv -o walk_1_integrated.csv --integrate
python main.py walk_1_ext.csv -o walk_1_zero.csv --zero-crossing