def get_trace(f, pts, dt):
    bsize = pts * dt.itemsize  # number of bytes in trace
    return np.frombuffer(f.read(bsize), dt)
A <=x=> B
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/get_trace--crossover with--dataset/ETHPy150Open chromaway/ngcccbase/ngcccbase/p2ptrade/protocol_objects.py/EOffer.matches