Click or drag to resize

RemoveZeros Class

Remove zeros at the start and the end of the spectrum, and optionally also in the middle of the spectrum. Although normally there is no problem of having those values at the start or end of the spectrum, they lead to wrong estimates of the noise level.
Inheritance Hierarchy
SystemObject
  Altaxo.Science.Spectroscopy.SanitizingRemoveZeros

Namespace: Altaxo.Science.Spectroscopy.Sanitizing
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class RemoveZeros : ISanitizer, 
	ISingleSpectrumPreprocessor, IEquatable<RemoveZeros>

The RemoveZeros type exposes the following members.

Constructors
 NameDescription
Public methodRemoveZerosInitializes a new instance of the RemoveZeros class
Top
Properties
 NameDescription
Public propertyRemoveZerosAtEndOfSpectrum If true, zeros at the end of the spectrum will be removed.
Public propertyRemoveZerosAtStartOfSpectrum If true, zeros at the start of the spectrum will be removed.
Public propertyRemoveZerosInMiddleOfSpectrum If true, zeros in the middle of the spectrum will be removed. This can happen at some instruments, if pixels cease working, or are oversaturated.
Public propertySplitIntoSeparateRegions If true, and the RemoveZerosInMiddleOfSpectrum is set to true, then the spectrum is split into to regions, at the position where zero pixels are detected.
Public propertyThresholdValue Gets the threshold value. Values in the spectrum greater than this value are considered as true measurement values, the other values are considered as candidates for fake values, that can be removed.
Top
Methods
 NameDescription
Public methodExecute Executes the processor.
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