/// <summary> /// The extent of the isolation window in m/z above the isolation window target m/z. /// The lower and upper offsets may be asymmetric about the target m/z. [PSI:MS] /// </summary> public static bool TryGetIsolationWindowUpperOffset( this IsolationWindow iw, out double offset) { CvParam p; if (iw.TryGetParam(IsolationWindowUpperOffset, out p)) { offset = p.GetDouble(); return(true); } else { offset = default(double); return(false); } }
/// <summary> /// The primary or reference m/z about which the isolation window is defined. [PSI:MS] /// </summary> public static bool TryGetIsolationWindowTargetMz( this IsolationWindow iw, out double mz) { CvParam p; if (iw.TryGetParam(IsolationWindowTargetMz, out p)) { mz = p.GetDouble(); return(true); } else { mz = default(double); return(false); } }