def get_data(self): # Gets the result from the SVM model p = Predictor(self.filePath) # Gets the result using the SVM model p.assess_func() #store result self.result = p.result_data self.data = p.raw_data #store raw data self.channelName = p.header #store electrodes information for the GUI self.eegLength = len( p.raw_data) / 256 #gets the length of the eeg in seconds self.bad = p.bad # Bad channels in the EEG self.powers = p.powers # power of different waves in the eeg