def test1(self): global test_file hdf5file = test_file[:-4]+'.hdf5' elems_indxs = [('CFS_Accelerator_Pedal_Position', 0), ('SCC_Spline_Lane_Deviation', 1), ('SCC_Spline_Lane_Deviation', 3), ('VDS_Tire_Weight_On_Wheels', slice(0,4))] daq = Daq() daq.read_hd5(os.path.join('data', hdf5file)) # print(daq['VDS_Tire_Weight_On_Wheels'].frames.shape) fig = daq.plot_ts(elems_indxs, fslice(6000, None)) fig.savefig('./output/daq_plots_test.png')