Lines Matching refs:pp_data
31 def extract_current(self, pp_data):
34 @param pp_data: Single line of powerplay data with eight comma separated
38 if pp_data[0].isdigit():
39 self.momentary_curr_list.append(float(pp_data[pp_data.index(',')+1:]
40 [:pp_data[pp_data.index(',')+1:].index(',')]))
82 pp_data = (self.ser.readline().replace('\00', '').
84 if (not pp_data.startswith('#') and (len(pp_data) > 30) and
86 self.text_file.write(current_timestamp + ',' + pp_data)
87 self.momentary_curr_list = self.extract_current(pp_data)