CSMSL.Chemistry.MassExtensions.ToMass C# (CSharp) 메소드

ToMass() 공개 정적인 메소드

Converts the object that has a m/z into a mass value based on the charge state
public static ToMass ( this mz, int charge, int c13Isotope ) : double
mz this
charge int
c13Isotope int
리턴 double
        public static double ToMass(this IMass mz, int charge, int c13Isotope = 0)
        {
            return Mass.MassFromMz(mz.MonoisotopicMass + c13Isotope*Constants.C13C12Difference, charge);
        }