def test_4d_freq_single_index_slice():
    dic, data = ng.pipe.read(NMRPIPE_4D_FREQ_1 % (1))
    assert data.shape == (4, 5)
    assert data.dtype == 'float32'
    assert data[0, 0] == 1.
    assert data[0, 1] == 1.
    assert data[1, 0] == 1.
    check_ppm_limits(dic, data, 0, [179.00, 59.00])
    check_ppm_limits(dic, data, 1, [44.70, -35.30])
    check_simple_roundtrip(dic, data)
read/write of 4D NMRPipe freq domain (single index) first slice.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/tests/test_pipe.py/test_4d_freq_single_index_slice