Closed benyaminmk closed 4 years ago
DataGenerator()
generator
[delta,theta,alpha,beta,gamma,time_change,has_artifact]
has_artifact
from collect_data import DataGenerator dgen = DataGenerator() while True: [delta, theta, alpha, beta, gamma, time_change, has_artifact] = dgen.next_packet()
DataGenerator
No artifact detection as first pass. Lets see how it sounds with artifacts and then judge what to do with them.
build
DataGenerator()
generator
[delta,theta,alpha,beta,gamma,time_change,has_artifact]
has_artifact
is a bool that is whether range>1250 (can optimize artifact detection)functionality
added functions
DataGenerator