def get_all_mdf4_compressed(): os.chdir(path) x = MDF(r'test.mf4', compression=True) with Timer('asammdf {} compression mdfv4'.format(asammdf_version)): for i, gp in enumerate(x.groups): t = x.get_master_data(group=i) for j in range(len(gp['channels'])): y = x.get_channel_data(group=i, index=j)
def get_all_mdf4_nodata(): os.chdir(path) x = MDF(r'test.mf4', load_measured_data=False) with Timer('asammdf {} nodata mdfv4'.format(asammdf_version)): for i, gp in enumerate(x.groups): t = x.get_master_data(group=i) for j in range(len(gp['channels'])): y = x.get_channel_data(group=i, index=j)