Exemplo n.º 1
0
def test_XIC():
    x, y = get_chromatogram(fid, 1, 1000)
    dname = os.path.dirname(__file__)
    xicof_scidb = np.load(os.path.join(dname, 'xic_scidb.npy'))

    assert rmse(y, xicof_scidb[:, 1]) < 0.06
    plot_chromatogram(x, y)
Exemplo n.º 2
0
def test_XIC():
    x, y = get_chromatogram(fid, 1, 1000)
    dname = os.path.dirname(__file__)
    xicof_scidb = np.load(os.path.join(dname, 'xic_scidb.npy'))

    assert rmse(y, xicof_scidb[:, 1]) < 0.06
    plot_chromatogram(x, y)
Exemplo n.º 3
0
def test_BPC():
    x, y = get_chromatogram(fid, 1, 1000, np.max)

    assert y.max() > 2.5e+06
    assert y.max() < 2.6e+06
    plot_chromatogram(x, y, title='BPC for Sample')
Exemplo n.º 4
0
def test_BPC():
    x, y = get_chromatogram(fid, 1, 1000, np.max)

    assert y.max() > 2.5e+06
    assert y.max() < 2.6e+06
    plot_chromatogram(x, y, title='BPC for Sample')