Coon.Compass.TagQuant.QuantPeak.QuantPeak C# (CSharp) Method

QuantPeak() public method

public QuantPeak ( TagInformation tag, IPeak peak, double injectionTime, CSMSL.Spectral.MsnDataScan scan, double noise, bool isNoiseCapped = false ) : CSMSL.Spectral
tag TagInformation
peak IPeak
injectionTime double
scan CSMSL.Spectral.MsnDataScan
noise double
isNoiseCapped bool
return CSMSL.Spectral
        public QuantPeak(TagInformation tag, IPeak peak, double injectionTime, MsnDataScan scan, double noise = 0, bool isNoiseCapped = false)
        {
            Tag = tag;
            if (peak == null)
            {
                RawIntensity = 0;
                MZ = 0;
            }
            else
            {
                RawIntensity = peak.Y;
                MZ = peak.X;
            }
            //DataScan = scan;
            InjectionTime = injectionTime;
            Noise = noise;
            IsNoisedCapped = isNoiseCapped;
        }
QuantPeak