3.4.7
(any)
(any
= {}
)
Distribution
:
returns the total distribution (for all parts)
Returns the isotopic distribution as an array of peaks
Array<({x: number, y: number} | {x: number, y: number, label: string, shortComposition: string, shortLabel: string, deltaNeutrons: number})>
:
Returns the isotopic distirubtion
({x: Array<number>, y: Array<number>} | {x: Array<number>, y: Array<number>, label: Array<string>, shortComposition: Array<string>, shortLabel: Array<string>, deltaNeutrons: []})
:
Returns the isotopic distribution as the sum of gaussian
(object
= {}
)
Name | Description |
---|---|
options.gaussianWidth number
(default 10 )
|
// how good should look the gaussian ? By default we take 10 times the fwhm as number of points |
options.threshold number
(default 0.00001 )
|
// minimal height to return point |
options.maxLength number
(default 1e6 )
|
// minimal height to return point |
options.maxValue number?
|
// rescale Y to reach maxValue |
options.from number?
|
// minimal x value, default to the first point - 2 |
options.to number?
|
// maximal x value, default to the last point + 2 |
options.peakWidthFct function
(default (mz)=>(this.fwhm) )
|
XY
:
isotopic distribution as an object containing 2 properties: x:[] and y:[]
(any)
(any
= {}
)
Distribution
:
returns the total distribution (for all parts)
Returns the isotopic distribution as an array of peaks
Array<({x: number, y: number} | {x: number, y: number, label: string, shortComposition: string, shortLabel: string, deltaNeutrons: number})>
:
Returns the isotopic distirubtion
({x: Array<number>, y: Array<number>} | {x: Array<number>, y: Array<number>, label: Array<string>, shortComposition: Array<string>, shortLabel: Array<string>, deltaNeutrons: []})
:
Returns the isotopic distribution as the sum of gaussian
(object
= {}
)
Name | Description |
---|---|
options.gaussianWidth number
(default 10 )
|
// how good should look the gaussian ? By default we take 10 times the fwhm as number of points |
options.threshold number
(default 0.00001 )
|
// minimal height to return point |
options.maxLength number
(default 1e6 )
|
// minimal height to return point |
options.maxValue number?
|
// rescale Y to reach maxValue |
options.from number?
|
// minimal x value, default to the first point - 2 |
options.to number?
|
// maximal x value, default to the last point + 2 |
options.peakWidthFct function
(default (mz)=>(this.fwhm) )
|
XY
:
isotopic distribution as an object containing 2 properties: x:[] and y:[]
(any)
(any
= {}
)
Distribution
:
returns the total distribution (for all parts)
Returns the isotopic distribution as an array of peaks
Array<({x: number, y: number} | {x: number, y: number, label: string, shortComposition: string, shortLabel: string, deltaNeutrons: number})>
:
Returns the isotopic distirubtion
({x: Array<number>, y: Array<number>} | {x: Array<number>, y: Array<number>, label: Array<string>, shortComposition: Array<string>, shortLabel: Array<string>, deltaNeutrons: []})
:
Returns the isotopic distribution as the sum of gaussian
(object
= {}
)
Name | Description |
---|---|
options.gaussianWidth number
(default 10 )
|
// how good should look the gaussian ? By default we take 10 times the fwhm as number of points |
options.threshold number
(default 0.00001 )
|
// minimal height to return point |
options.maxLength number
(default 1e6 )
|
// minimal height to return point |
options.maxValue number?
|
// rescale Y to reach maxValue |
options.from number?
|
// minimal x value, default to the first point - 2 |
options.to number?
|
// maximal x value, default to the last point + 2 |
options.peakWidthFct function
(default (mz)=>(this.fwhm) )
|
XY
:
isotopic distribution as an object containing 2 properties: x:[] and y:[]
(any)
(any
= {}
)
Distribution
:
returns the total distribution (for all parts)
Returns the isotopic distribution as an array of peaks
Array<({x: number, y: number} | {x: number, y: number, label: string, shortComposition: string, shortLabel: string, deltaNeutrons: number})>
:
Returns the isotopic distirubtion
({x: Array<number>, y: Array<number>} | {x: Array<number>, y: Array<number>, label: Array<string>, shortComposition: Array<string>, shortLabel: Array<string>, deltaNeutrons: []})
:
Returns the isotopic distribution as the sum of gaussian
(object
= {}
)
Name | Description |
---|---|
options.gaussianWidth number
(default 10 )
|
// how good should look the gaussian ? By default we take 10 times the fwhm as number of points |
options.threshold number
(default 0.00001 )
|
// minimal height to return point |
options.maxLength number
(default 1e6 )
|
// minimal height to return point |
options.maxValue number?
|
// rescale Y to reach maxValue |
options.from number?
|
// minimal x value, default to the first point - 2 |
options.to number?
|
// maximal x value, default to the last point + 2 |
options.peakWidthFct function
(default (mz)=>(this.fwhm) )
|
XY
:
isotopic distribution as an object containing 2 properties: x:[] and y:[]
(any)
(any
= {}
)
Distribution
:
returns the total distribution (for all parts)
Returns the isotopic distribution as an array of peaks
Array<({x: number, y: number} | {x: number, y: number, label: string, shortComposition: string, shortLabel: string, deltaNeutrons: number})>
:
Returns the isotopic distirubtion
({x: Array<number>, y: Array<number>} | {x: Array<number>, y: Array<number>, label: Array<string>, shortComposition: Array<string>, shortLabel: Array<string>, deltaNeutrons: []})
:
Returns the isotopic distribution as the sum of gaussian
(object
= {}
)
Name | Description |
---|---|
options.gaussianWidth number
(default 10 )
|
// how good should look the gaussian ? By default we take 10 times the fwhm as number of points |
options.threshold number
(default 0.00001 )
|
// minimal height to return point |
options.maxLength number
(default 1e6 )
|
// minimal height to return point |
options.maxValue number?
|
// rescale Y to reach maxValue |
options.from number?
|
// minimal x value, default to the first point - 2 |
options.to number?
|
// maximal x value, default to the last point + 2 |
options.peakWidthFct function
(default (mz)=>(this.fwhm) )
|
XY
:
isotopic distribution as an object containing 2 properties: x:[] and y:[]
A class that allows to manage isotopic distribution
(IsotopicDistributionOptions?
= {}
)
Distribution
:
returns the total distribution (for all parts)
Returns the isotopic distribution as an array of peaks
Array<({x: number, y: number} | {x: number, y: number, label: string, shortComposition: string, shortLabel: string, deltaNeutrons: number})>
:
Returns the isotopic distirubtion
({x: Array<number>, y: Array<number>} | {x: Array<number>, y: Array<number>, label: Array<string>, shortComposition: Array<string>, shortLabel: Array<string>, deltaNeutrons: []})
:
Returns the isotopic distribution as the sum of gaussian
(object
= {}
)
Name | Description |
---|---|
options.gaussianWidth number
(default 10 )
|
// how good should look the gaussian ? By default we take 10 times the fwhm as number of points |
options.threshold number
(default 0.00001 )
|
// minimal height to return point |
options.maxLength number
(default 1e6 )
|
// minimal height to return point |
options.maxValue number?
|
// rescale Y to reach maxValue |
options.from number?
|
// minimal x value, default to the first point - 2 |
options.to number?
|
// maximal x value, default to the last point + 2 |
options.peakWidthFct function
(default (mz)=>(this.fwhm) )
|
XY
:
isotopic distribution as an object containing 2 properties: x:[] and y:[]
Type: PartInfo
Internal class to deal with isotopic distribution calculations
(any
= []
)
Sort by ASCENDING x values
Distribution
:
Sort by DESCENDING y values
Distribution
:
Join x values if there are similar
(any)
(any
= Number.EPSILON
)
Calcultes informations about the isotopic composition explaining a specific mass