Click or drag to resize

BlockScalingCorrection2D Class

Represents a 2D block scaling correction preprocessor for spectroscopic ensemble data. This preprocessor scales individual spectra within defined blocks by their mean intensity over a specified spectral range.
Inheritance Hierarchy
SystemObject
  Altaxo.Science.Spectroscopy.EnsembleProcessingBlockScalingCorrection2D

Namespace: Altaxo.Science.Spectroscopy.EnsembleProcessing
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class BlockScalingCorrection2D : IEnsemblePreprocessor, 
	ISingleSpectrumPreprocessor, IEquatable<BlockScalingCorrection2D>

The BlockScalingCorrection2D type exposes the following members.

Constructors
 NameDescription
Public methodBlockScalingCorrection2DInitializes a new instance of the BlockScalingCorrection2D class
Top
Properties
 NameDescription
Public propertyIndexOfDimensionToAverage Gets or initializes the index of the dimension along which the averaging is performed (0 or 1). Used to determine the number of blocks and spectra per block.
Public propertyMaximumX Gets or initializes the maximum X-value for the range over which the mean is calculated.
Public propertyMinimumX Gets or initializes the minimum X-value for the range over which the mean is calculated.
Public propertySizeOfDimension0 Gets or initializes the size of the first dimension of the block structure.
Public propertySizeOfDimension1 Gets or initializes the optional size of the second dimension of the block structure. If not set, it is inferred from the total number of rows and SizeOfDimension0.
Public propertyXIsInSpectralUnits Gets or initializes a value indicating whether the X-range values (MinimumX and MaximumX) are specified in spectral units (true) or as row indices (false).
Top
Methods
 NameDescription
Public methodExecute(Double, MatrixDouble, Int32) Executes the processor for an ensemble of spectra.
Public methodExecute(Double, Double, Int32) Executes the preprocessor on a single spectrum. In this context, block scaling correction cannot be meaningfully applied to a single spectrum. Hence, the input spectrum is returned unchanged.
Public methodExecuteForPrediction Processes the spectra for prediction. For prediction it is necessary to use the auxiliary data previously evaluated by Execute(Double, MatrixDouble, Int32), in order to apply the same treatment to the spectra.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Top
See Also