C# Class NSSplash.Splash

Inheritance: ISplash
Afficher le fichier Open project: berlinguyinca/spectra-hash Class Usage Examples

Méthodes publiques

Свойство Type Description
scalingOfRelativeIntensity int

Méthodes publiques

Méthode Description
ToBase10 ( string number, int start_base ) : int
splashIt ( ISpectrum spectrum ) : string

Méthodes protégées

Méthode Description
filterSpectrum ( ISpectrum s, double basePeakPercentage ) : ISpectrum
filterSpectrum ( ISpectrum s, int topIons ) : ISpectrum
filterSpectrum ( ISpectrum s, int topIons, double basePeakPercentage ) : ISpectrum

Private Methods

Méthode Description
formatIntensity ( double number ) : string
formatMZ ( double number ) : string
getFirstBlock ( SpectrumType specType ) : string

Generates the version block

getHistoBlock ( ISpectrum spec, int nbase, int length, int binSize ) : string

calculates a histogram of the spectrum. If weighted, it sums the mz * intensities for the peaks in each bin

getSpectrumBlock ( ISpectrum spec ) : string

calculate the hash for the whole spectrum

translateBase ( string number, int initialBase, int finalBase, int fill ) : string

Translate a number in string format from one numerical base to another

Method Details

ToBase10() public static méthode

public static ToBase10 ( string number, int start_base ) : int
number string
start_base int
Résultat int

filterSpectrum() protected méthode

protected filterSpectrum ( ISpectrum s, double basePeakPercentage ) : ISpectrum
s ISpectrum
basePeakPercentage double
Résultat ISpectrum

filterSpectrum() protected méthode

protected filterSpectrum ( ISpectrum s, int topIons ) : ISpectrum
s ISpectrum
topIons int
Résultat ISpectrum

filterSpectrum() protected méthode

protected filterSpectrum ( ISpectrum s, int topIons, double basePeakPercentage ) : ISpectrum
s ISpectrum
topIons int
basePeakPercentage double
Résultat ISpectrum

splashIt() public méthode

public splashIt ( ISpectrum spectrum ) : string
spectrum ISpectrum
Résultat string

Property Details

scalingOfRelativeIntensity public_oe static_oe property

how to scale the spectrum
public static int scalingOfRelativeIntensity
Résultat int