def test_3d_freq():
    dic, data = ng.pipe.read(NMRPIPE_3D_FREQ)
    assert data.shape == (2, 3, 8)
    assert data.dtype == 'float32'
    assert data[0, 0, 0] == 1.
    assert data[0, 0, 1] == 1.
    assert data[0, 1, 0] == 1.
    assert data[1, 0, 0] == 2.
    check_simple_roundtrip(dic, data, 1)
    check_ppm_limits(dic, data, 0, [220.00, 120.00])
    check_ppm_limits(dic, data, 1, [152.33, 45.67])
    check_ppm_limits(dic, data, 2, [54.70, -32.80])
Directivity
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/tests/test_pipe.py/test_3d_freq--crossover with--dataset/ETHPy150Open python-acoustics/python-acoustics/acoustics/directivity.py/FigureEight._directivity