CSMSL.Chemistry.IsotopicDistribution.CalculateDistribuition C# (CSharp) Метод

CalculateDistribuition() публичный Метод

public CalculateDistribuition ( string chemicalFormula, int topNPeaks = int.MaxValue, Normalization normalization = Normalization.Sum ) : MZSpectrum
chemicalFormula string
topNPeaks int
normalization Normalization
Результат MZSpectrum
        public MZSpectrum CalculateDistribuition(string chemicalFormula, int topNPeaks = int.MaxValue, Normalization normalization = Normalization.Sum)
        {
            return CalculateDistribuition(new ChemicalFormula(chemicalFormula), topNPeaks, normalization);
        }

Same methods

IsotopicDistribution::CalculateDistribuition ( ChemicalFormula formula, int topNPeaks = int.MaxValue, Normalization normalization = Normalization.Sum ) : MZSpectrum
IsotopicDistribution::CalculateDistribuition ( IChemicalFormula obj, int topNPeaks = int.MaxValue, Normalization normalization = Normalization.Sum ) : MZSpectrum

Usage Example

Пример #1
0
        public double[,] GetIsotopicDistribution(double resolution = 0.01, int numberOfIsotopes = int.MaxValue)
        {
            IsotopicDistribution id = new IsotopicDistribution(resolution);
            var spectrum            = id.CalculateDistribuition(this, numberOfIsotopes, IsotopicDistribution.Normalization.BasePeak);

            return(spectrum.ToArray());
        }
All Usage Examples Of CSMSL.Chemistry.IsotopicDistribution::CalculateDistribuition