"""A variety of utility functions for generating the synthetic data. Also defines the EIC and Scan namedtuple()'s
Author: Chris Jurich <cjurich2@huskers.unl.edu>
Date: 2024-02-26
"""
importos
importos
importnumpyasnp
importnumpyasnp
frompathlibimportPath
frompathlibimportPath
...
@@ -9,23 +14,31 @@ from psims.mzml.writer import MzMLWriter
...
@@ -9,23 +14,31 @@ from psims.mzml.writer import MzMLWriter
np.random.seed(100)
np.random.seed(100)
EIC=namedtuple("EIC","name mzs rts its")
EIC=namedtuple("EIC","name mzs rts its")
EIC.__doc__="Data holder that defines a single extracted ion chromatogram. Works with ClassEIC objects. Has a str() name as well as arrays for mzs, rts and its."