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)
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)
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')
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')