public List <double> GetMSXPrecursors(int spectrumNumber) { string scanheader = GetScanFilter(spectrumNumber); int msxnumber = -1; _rawConnection.GetMSXMultiplexValueFromScanNum(spectrumNumber, ref msxnumber); var matches = _msxRegex.Matches(scanheader); return((from Match match in matches select double.Parse(match.Groups[1].Value)).ToList()); }
public IEnumerable <double> GetMsxValues(int spectrumNumber) { int numberMSX = -1; _rawConnection.GetMSXMultiplexValueFromScanNum(spectrumNumber, ref numberMSX); object data = null; _rawConnection.GetFullMSOrderPrecursorDataFromScanNum(spectrumNumber, 2, ref data); for (int i = 0; i < numberMSX; i++) { //TODO } yield break; }