def summaries(self):
length = self.summary_length<EOL>step = self.summary_step<EOL>for record_number, n_summaries, summary_data in self.summary_records():<EOL><INDENT>name_data = self.read_record(record_number + <NUM_LIT:1>)<EOL>for i in range(<NUM_LIT:0>, int(n_summaries) * step, step):<EOL><INDENT>j = self.summary_control_struct.size + i<EOL>name = name_data[i:i+step].strip()<EOL>data = summary_data[j:j+length]<EOL>values = self.summary_struct.unpack(data)<EOL>yield name, values<EOL><DEDENT><DEDENT>
Yield (name, (value, value, ...)) for each summary in the file.