/// <summary> /// Default constructor. Set all options to none. /// </summary> public SpectralPreprocessingOptions() { _method = SpectralPreprocessingMethod.None; _detrendingOrder = -1; _ensembleScale = false; _regions = new int[0]; }
/// <summary> /// Default constructor. Set all options to none. /// </summary> public SpectralPreprocessingOptions() { _method = SpectralPreprocessingMethod.None; _detrendingOrder = -1; _ensembleScale = false; _regions = new int[0]; }
/// <summary> /// Copies all settings from another instance. /// </summary> /// <param name="from">The other instance to copy the data from.</param> public void CopyFrom(SpectralPreprocessingOptions from) { this._method = from._method; this._detrendingOrder = from._detrendingOrder; this._ensembleScale = from._ensembleScale; this._regions = (int[])from._regions.Clone(); }
public void InitializeMethod(SpectralPreprocessingMethod method) { switch (method) { case SpectralPreprocessingMethod.None: this._rbMethodNone.Checked = true; break; case SpectralPreprocessingMethod.MultiplicativeScatteringCorrection: this._rbMethodMSC.Checked = true; break; case SpectralPreprocessingMethod.StandardNormalVariate: this._rbMethodSNV.Checked = true; break; case SpectralPreprocessingMethod.FirstDerivative: this._rbMethod1stDer.Checked = true; break; case SpectralPreprocessingMethod.SecondDerivative: this._rbMethod2ndDer.Checked = true; break; } }
/// <summary> /// Copies all settings from another instance. /// </summary> /// <param name="from">The other instance to copy the data from.</param> public void CopyFrom(SpectralPreprocessingOptions from) { if (object.ReferenceEquals(this, from)) { return; } _method = from._method; _detrendingOrder = from._detrendingOrder; _ensembleScale = from._ensembleScale; _regions = (int[])from._regions.Clone(); }
public void EhView_MethodChanged(SpectralPreprocessingMethod newvalue) { _doc.Method = newvalue; }
public void InitializeMethod(SpectralPreprocessingMethod method) { switch(method) { case SpectralPreprocessingMethod.None: this._rbMethodNone.Checked = true; break; case SpectralPreprocessingMethod.MultiplicativeScatteringCorrection: this._rbMethodMSC.Checked = true; break; case SpectralPreprocessingMethod.StandardNormalVariate: this._rbMethodSNV.Checked = true; break; case SpectralPreprocessingMethod.FirstDerivative: this._rbMethod1stDer.Checked = true; break; case SpectralPreprocessingMethod.SecondDerivative: this._rbMethod2ndDer.Checked = true; break; } }
public void EhView_MethodChanged(SpectralPreprocessingMethod newvalue) { _doc.Method = newvalue; }
/// <summary> /// Copies all settings from another instance. /// </summary> /// <param name="from">The other instance to copy the data from.</param> public void CopyFrom(SpectralPreprocessingOptions from) { this._method = from._method; this._detrendingOrder = from._detrendingOrder; this._ensembleScale = from._ensembleScale; this._regions = (int[])from._regions.Clone(); }
/// <summary> /// Copies all settings from another instance. /// </summary> /// <param name="from">The other instance to copy the data from.</param> public void CopyFrom(SpectralPreprocessingOptions from) { if (object.ReferenceEquals(this, from)) return; this._method = from._method; this._detrendingOrder = from._detrendingOrder; this._ensembleScale = from._ensembleScale; this._regions = (int[])from._regions.Clone(); }