Ejemplo n.º 1
0
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)
Ejemplo n.º 2
0
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)