tra-analysis/data analysis/superscript.py
ltcptgeneral 042efb2b5a superscript.py - v 1.0.2.000
changelog:
- added data reading from folder
- nearly crashed computer reading from 20 GiB of data
2019-02-19 09:44:51 -06:00

40 lines
789 B
Python

#Titan Robotics Team 2022: Data Analysis Script
#Written by Arthur Lu & Jacob Levine
#Notes:
#setup:
__version__ = "1.0.2.000"
__changelog__ = """changelog:
1.0.2.000:
- added data reading from folder
- nearly crashed computer reading from 20 GiB of data
1.0.1.000:
- added data reading from file
- added superstructure to code
1.0.0.000:
- added import statements (revolutionary)
"""
__author__ = (
"Arthur Lu <arthurlu@ttic.edu>, "
"Jacob Levine <jlevine@ttic.edu>,"
)
import analysis
import titanlearn
import visualization
import os
import glob
#get all the data
source_dir = 'data'
file_list = glob.glob(source_dir + '/*.CSV')
data = []
for file_path in file_list:
data.append(analysis.load_csv(file_path))
#unhelpful comment
#for d in data:
# print (d)