BaseLine class
This class provides function to subtract a "baseline" from an array. The baseline is a linear function computed from the array contents. The functions are useful for measured signal showing a linear baseline distortion due to imperfections in the measurement device.
Constructors
- BaseLine()
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 Methods
-
bcLinear(
Float64List array, double offset, int nBaselinePoints) → int -
Subtracts a straight line from
array
constructed as follows: [...] -
bcOffset(
Float64List array, bool isComplex, int bcstart int bcsize) → void -
Subtracts a number from
array
which is the mean value of thearray
region defined bybcstart
andbcsize
. Ifcomplex
is true,array
is considered as a sequence ofreal, imag
pairs. In this casebcsize
must be even and is considered as the number of real points and the number of imaginary points for which the mean value is computed.