def test_2d_freq_lowmem():
    dic, data = ng.pipe.read_lowmem(NMRPIPE_2D_FREQ)
    assert data.shape == (2, 8)
    assert data.dtype == 'float32'
    assert data[0, 0] == 1.
    assert data[0, 1] == 2.
    assert data[1, 0] == 1.
    check_simple_roundtrip(dic, data, lowmem=True)
    check_ppm_limits(dic, data, 0, [179.00, 99.00])
    check_ppm_limits(dic, data, 1, [54.70, -32.80])
lowmem read/write of 2D NMRPipe frequency domain file.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/tests/test_pipe.py/test_2d_freq_lowmem