Ejemplo n.º 1
0
def all_reader4_nodata():
    os.chdir(path)
    with Timer('mdfreader {} noDataLoading mdfv4'.format(mdfreader_version)):
        x = MDFreader(r'test.mf4', noDataLoading=True)
        for s in x:
            y = x.getChannelData(s)
        x.write('x.mf4')
Ejemplo n.º 2
0
def save_reader4(output, fmt):

    x = MDFreader(r'test.mf4')
    with Timer('Save file', 'mdfreader {} mdfv4'.format(mdfreader_version),
               fmt) as timer:
        x.write(r'x.mf4')
    output.send([timer.output, timer.error])
Ejemplo n.º 3
0
def all_reader4():
    os.chdir(path)
    with Timer('mdfreader {} mdfv4'.format(mdfreader_version)):
        x = MDFreader(r'test.mf4')
        for s in x:
            y = x.getChannelData(s)
        x.write('x.mf4')
Ejemplo n.º 4
0
def save_reader3(path, output, fmt):
    os.chdir(path)
    x = MDFreader(r'test.mdf')
    with Timer('Save file', 'mdfreader {} mdfv3'.format(mdfreader_version),
               fmt) as timer:
        x.write(r'x.mdf')
    output.send([timer.output, timer.error])
Ejemplo n.º 5
0
def save_reader4_nodata(output, fmt):

    x = MDFreader(r'test.mf4', noDataLoading=True)
    with Timer('Save file',
               'mdfreader {} noDataLoading mdfv4'.format(mdfreader_version),
               fmt) as timer:
        x.write(r'x.mf4')
    output.send([timer.output, timer.error])
Ejemplo n.º 6
0
def save_reader4_compression_bcolz(path, output, fmt):
    os.chdir(path)
    x = MDFreader(r'test.mf4', compression=6)
    with Timer('Save file',
               'mdfreader {} compress bcolz6 mdfv4'.format(mdfreader_version),
               fmt) as timer:
        x.write(r'x.mf4')
    output.send([timer.output, timer.error])
Ejemplo n.º 7
0
def save_reader3_nodata(path, output, fmt):
    os.chdir(path)
    x = MDFreader(r'test.mdf', noDataLoading=True)
    with Timer('Save file',
               'mdfreader {} noDataLoading mdfv3'.format(mdfreader_version),
               fmt) as timer:
        x.write(r'x.mdf')
    output.send([timer.output, timer.error])
Ejemplo n.º 8
0
def save_reader3_compression(output, fmt):
    with Timer('Save file',
               'mdfreader {} compress mdfv3'.format(mdfreader_version),
               fmt) as outer_timer:
        x = MDFreader(r'test.mdf', compression='blosc')
        with Timer('Save file',
                   'mdfreader {} compress mdfv3'.format(mdfreader_version),
                   fmt) as timer:
            x.write(r'x.mdf')
        output.send([timer.output, timer.error])
    if outer_timer.error:
        output.send([timer.output, timer.error])
Ejemplo n.º 9
0
def save_reader3():
    os.chdir(path)
    x = MDFreader(r'test.mdf')
    with Timer('mdfreader {} mdfv3'.format(mdfreader_version)):
        x.write(r'x.mdf')
Ejemplo n.º 10
0
def save_reader3_compression_bcolz():
    os.chdir(path)
    x = MDFreader(r'test.mdf', compression=6)
    with Timer('mdfreader {} compression bcolz 6 mdfv3'.format(
            mdfreader_version)):
        x.write(r'x.mdf')
Ejemplo n.º 11
0
def save_reader3_compression():
    os.chdir(path)
    x = MDFreader(r'test.mdf', compression='blosc')
    with Timer('mdfreader {} compression mdfv3'.format(mdfreader_version)):
        x.write(r'x.mdf')
Ejemplo n.º 12
0
def save_reader3_nodata():
    os.chdir(path)
    x = MDFreader(r'test.mdf', noDataLoading=True)
    with Timer('mdfreader {} noDataLoading mdfv3'.format(mdfreader_version)):
        x.write(r'x.mdf')