def init_from_pickle(self, pkFile):
    f = open(pkFile, 'rb')
    data = pk.load(f)
    f.close()
    self.subj_data = data
    self.trial_data = self.preprocess(self.subj_data)
    self.totalTrials = len(self.trial_data)
def init_from_pickle(self, pkFile):
    f = open(pkFile, 'rb')
    data = pk.load(f)
    f.close()
    self.subj_data = data
    self.trial_data = self.preprocess(self.subj_data)
    self.totalTrials = len(self.trial_data)