Spectrum2D class
Computes a matrix containing a sum auf 2D Lorentz-Gauss functions (a "2D spectrum").
Constructors
-
Spectrum2D(List<
int> rows_cols, List<double> a, List<List< c, List<double> >List< w, List<double> >List< m, [ double noiseAmpl ])double> > -
c
,w
must be in the range (0, rows_cols0/1
) Computes a matrix containing a sum of two-dimensional mixed Gauss-Lorentz shapes, consisting of0
rows and1
columns.a
- shape amplitudes ,c
- shape centers, in the range 0...number rows/cols, respectivelyw
- shape widths, in the range 0...number rows/cols, respectivelym
- shape mixing factors (0 <= m <= 1). [...]
Properties
-
matrix
→ List<
Float64List> -
Returns the computed matrix with the sum of the Lorentz-Gauss functions.
read-only
- xColCoordinates → Float64List
-
Returns the "x" (column coodinate) values where the matrix was computed,
divided by the number of columns (i.e. normalized to 0.0 ... 1.0).
read-only
- yRowCoordinates → Float64List
-
Returns the "y" (row coodinate) values where the matrix was computed,
divided by the number of rows (i.e.. normalized to 0.0 ... 1.0).
read-only
- 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 Methods
-
addToM(
List< Float64List> matr1, List<Float64List> matr2) → List<Float64List> - Adds matr2 to matr1 and returns the modified matr1. The matrices must have the same number of rows and colmuns.