C# Class NSSplash.impl.AbstractSpectrum

Inheritance: ISpectrum
ファイルを表示 Open project: berlinguyinca/spectra-hash

Protected Properties

Property Type Description
ions List
type SpectrumType

Public Methods

Method Description
AbstractSpectrum ( List ions ) : System

Creates a spectrum based on a list of ions

AbstractSpectrum ( string data ) : System

Creates a new spectrum based on a string of ions

GetIons ( ) : List
ToString ( ) : string
getSortedIonsByIntensity ( bool desc = true ) : List
getSortedIonsByMZ ( bool desc = false ) : List
getSpectrumType ( ) : SpectrumType
toJSON ( ) : string

Private Methods

Method Description
toRelative ( int scale ) : List

Method Details

AbstractSpectrum() public method

Creates a spectrum based on a list of ions
public AbstractSpectrum ( List ions ) : System
ions List
return System

AbstractSpectrum() public method

Creates a new spectrum based on a string of ions
public AbstractSpectrum ( string data ) : System
data string
return System

GetIons() public abstract method

public abstract GetIons ( ) : List
return List

ToString() public method

public ToString ( ) : string
return string

getSortedIonsByIntensity() public method

public getSortedIonsByIntensity ( bool desc = true ) : List
desc bool
return List

getSortedIonsByMZ() public method

public getSortedIonsByMZ ( bool desc = false ) : List
desc bool
return List

getSpectrumType() public method

public getSpectrumType ( ) : SpectrumType
return SpectrumType

toJSON() public method

public toJSON ( ) : string
return string

Property Details

ions protected_oe property

protected List ions
return List

type protected_oe property

protected SpectrumType type
return SpectrumType