def test_from_read_data(self): prog = PlottableProgram.from_read_data(self.read_segments, self.read_sequencer_tables, self.read_adv_sequencer_table) self.assertEqual(self.segments, prog._segments) self.assertEqual(self.sequencer_tables, prog._sequence_tables) self.assertEqual(self.adv_sequencer_table, prog._advanced_sequence_table)
def read_complete_program(self) -> PlottableProgram: return PlottableProgram.from_read_data(self.read_waveforms(), self.read_sequence_tables(), self.read_advanced_sequencer_table())