@attr(speed='slow')
def test_4d():
    # since this is a fake 4D with no procpar we need to explicitly
    # provide the shape and trace ordering parameters
    dic, data = ng.varian.read_fid(os.path.join(DATA_DIR, "agilent_4d/fid"),
                                   shape=(8, 12, 16, 1400), torder='r')
    assert data.shape == (8, 12, 16, 1400)
    assert np.abs(data[0, 1, 2, 3].real - 395.11) <= 0.01
    assert np.abs(data[0, 1, 2, 3].imag - 52.72) <= 0.01
    assert np.abs(data[3, 10, 11, 18].real - 51.81) <= 0.01
    assert np.abs(data[3, 10, 11, 18].imag - 16.01) <= 0.01
    write_fid_readback(dic, data, (8, 12, 16, 1400), 'r')
{% get_hit_count for [object] within [ex: "hours=1,minutes=30"] as [var] %}
dataset/ETHPy150Open jjhelmus/nmrglue/tests/test_agilent.py/test_4d--crossover with--dataset/ETHPy150Open thornomad/django-hitcount/tests/test_template_tags.py/TemplateTagGetHitCountTests.test_within_multiple_time_args_as_var