@attr(speed='fast')
def test_1d_freq():
    """ reading/writing of 1D RNMRTK frequency domain file """
    dic, data = ng.rnmrtk.read(
        os.path.join(DATA_DIR, 'rnmrtk_1d', 'freq_1d.sec'))
    assert data.shape == (4096, )
    assert np.abs(-1726.76 - data[0]) <= 0.01
    assert np.abs(data[1] - -1702.76) <= 0.01
    assert dic['sw'][0] == 50000.0
    assert dic['sf'][0] == 125.68
    assert dic['ppm'][0] == 99.0
    write_readback(dic, data)
dataset/ETHPy150Open jjhelmus/nmrglue/tests/test_rnmrtk.py/test_1d_freq/swapped operands of `-`