def test_2d():
    dic, data = ng.bruker.read(os.path.join(DATA_DIR, "bruker_2d"))
    assert dic['FILE_SIZE'] == 3686400
    assert data.shape == (600, 768)
    assert np.abs(data[0, 40].real - 28.0) <= 0.01
    assert np.abs(data[0, 40].imag - -286.0) <= 0.01
    assert np.abs(data[13, 91].real - -7279.0) <= 0.01
    assert np.abs(data[13, 91].imag - -17680.0) <= 0.01
    write_readback(dic, data)
Arguments and result passed to/from wrapped function.
dataset/ETHPy150Open jjhelmus/nmrglue/tests/test_bruker.py/test_2d--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_blockdevice.py/LogListVolumesTest.test_args_passed