Sigma class
This class provides functions to compute the mena value, the variance and the standard deviation of the data in an array.
Constructors
- Sigma()
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Properties
- SIGMA_NEG_ONLY ↔ int
-
Returns sigma of
matrix
by evaluating a 16x16 square at the top left of the spectrum (outside nmr diagonal)posneg
is one of SIGMA_POS_ONLY, SIGMA_NEG_ONLY, SIGMA_POS_NEG. It defines whether only positive, negative or all numbers in the region should contribute to sigma.read / write - SIGMA_POS_NEG ↔ int
-
Returns sigma of
matrix
by evaluating a 16x16 square at the top left of the spectrum (outside nmr diagonal)posneg
is one of SIGMA_POS_ONLY, SIGMA_NEG_ONLY, SIGMA_POS_NEG. It defines whether only positive, negative or all numbers in the region should contribute to sigma.read / write - SIGMA_POS_ONLY ↔ int
-
Returns sigma of
matrix
by evaluating a 16x16 square at the top left of the spectrum (outside nmr diagonal)posneg
is one of SIGMA_POS_ONLY, SIGMA_NEG_ONLY, SIGMA_POS_NEG. It defines whether only positive, negative or all numbers in the region should contribute to sigma.read / write
Static Methods
-
meanValue(
Float64List array, int ixstart int ixend) → double -
Returns the mean value of the numbers in
array
in the regionixstart, ixend
(ixend exclusive)ixstart
andixend
may be null, equivalent to the left/rightmost index. -
sigma(
Float64List array, int ixstart int ixend) → double -
Returns the standard deviation of the numbers in
array
in the regionixstart, ixend
(ixend exclusive): sigma = Sqrt(variance(arr))ixstart
andixend
may be null, equivalent to the left/rightmost index. -
sigma2D(
List< Float64List> matrix, int posneg, double ymax) → double -
variance(
Float64List array, int ixstart int ixend) → double -
Returns the variance of the numbers in
array
in the regionixstart, ixend
(ixend exclusive): variance = mean(x**2) - (mean(x))**2ixstart
andixend
may be null, equivalent to the left/rightmost index.