Click or drag to resize

NonlinearFitController Class

Summary description for NonlinearFitController.
Inheritance Hierarchy
SystemObject
  Altaxo.GuiControllerBase
    Altaxo.GuiMVCANControllerEditImmutableDocBaseNonlinearFitDocument, INonlinearFitView
      Altaxo.Gui.Analysis.NonLinearFittingNonlinearFitController

Namespace: Altaxo.Gui.Analysis.NonLinearFitting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class NonlinearFitController : MVCANControllerEditImmutableDocBase<NonlinearFitDocument, INonlinearFitView>

The NonlinearFitController type exposes the following members.

Constructors
 NameDescription
Public methodNonlinearFitControllerInitializes a new instance of the NonlinearFitController class
Top
Properties
 NameDescription
Public propertyChiSquareValue Gets or sets the current chi-square value.
Public propertyCmdBoundsLoadAbsoluteLimits Gets the command for loading absolute bounds.
Public propertyCmdBoundsLoadSensibleLimits Gets the command for loading sensible bounds.
Public propertyCmdBoundsMergeAbsoluteLimits Gets the command for merging absolute bounds.
Public propertyCmdBoundsMergeSensibleLimits Gets the command for merging sensible bounds.
Public propertyCmdCopyParameterNSVCVInOneRow Gets the command for copying the fit summary in one row.
Public propertyCmdCopyParameterNV Gets the command for copying parameter names and values.
Public propertyCmdCopyParameterNVV Gets the command for copying parameter names, values, and variances.
Public propertyCmdCopyParameterV Gets the command for copying parameter values.
Public propertyCmdCopyParameterVAsCDef Gets the command for copying parameter values as C definitions.
Public propertyCmdCopyParameterWithCVM Gets the command for copying parameters with the covariance matrix.
Public propertyCmdCreateNewFitFunction Gets the command for creating a new fit function.
Public propertyCmdDoFit Gets the command for starting the fit.
Public propertyCmdDoSimplex Gets the command for starting simplex fitting.
Public propertyCmdDoSimulation Gets the command for simulation.
Public propertyCmdEvaluateChiSquare Gets the command for evaluating the chi-square value.
Public propertyCmdPasteParameterV Gets the command for pasting parameter values.
Public propertyCmdSelectFitFunction Gets the command for selecting a fit function.
Public propertyConfidenceLevel Gets or sets the confidence level.
Public propertyConfidenceLevelEnvironment Gets the environment used for confidence levels.
Public propertyFitEnsembleController Gets or sets the fit-ensemble controller.
Public propertyFitFunctionSelectionController Gets or sets the fit-function selection controller.
Public propertyGenerationIntervalController Gets or sets the controller for the generation interval.
Public propertyIsDisposed Gets a value indicating whether this controller is already disposed.
(Inherited from ControllerBase)
Public propertyModelObject Gets the model (document) that this controller manages.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected propertyNoDocumentException Gets an exception that is thrown when a controller was not initialized with a document.
(Inherited from ControllerBase)
Protected propertyNotInitializedException Gets an exception that is thrown when a controller is not properly initialized.
(Inherited from ControllerBase)
Protected propertyNoViewException Gets an exception that is thrown when a controller currently has no view.
(Inherited from ControllerBase)
Public propertyParameterController Gets or sets the parameter controller.
Public propertySelectedTab Gets or sets the currently selected tab.
Public propertyShowConfidenceBands Gets or sets a value indicating whether confidence bands are shown.
Public propertyShowUnusedDependentVariables Gets or sets a value indicating whether unused dependent variables are shown.
Public propertySimulationFromEquallySpacedInterval Gets or sets a value indicating whether simulation uses an equally spaced interval.
Public propertySimulationGenerateFromIndependentVars Gets or sets a value indicating whether simulation points are generated from the independent variables.
Public propertyUseDocumentCopy Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied, all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes cannot be reverted. Use the last option if a controller higher in the hierarchy has already made a copy of the document.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public propertyUseUnusedDependentVarsAlsoInSimulation Gets or sets a value indicating whether unused dependent variables are also used in simulation.
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if applying succeeded.
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewApply(Boolean))
Protected methodApplyEnd Helper that performs the final steps of the apply operation, optionally disposing the controller.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected methodAttachView Override this function to attach the view to the controller, either by subscribing to events of the view, or by setting the controller object on the view.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected methodCheckDocumentInitializedT Checks whether the document has been initialized and throws an exception if it is null.
(Inherited from ControllerBase)
Public methodStatic memberCreateOrReplaceFunctionPlotItems(XYPlotLayer, NonlinearFitDocument, NonlinearMinimizationResult, String, Boolean, Boolean, Double) Creates the or replace function plot items after a successful Levenberg-Marquardt-Fit.
Public methodStatic memberCreateOrReplaceFunctionPlotItems(XYPlotLayer, NonlinearFitDocument, String, Boolean, Boolean, Double, Double, Int32, MatrixDouble) Creates or replaces function plot items after a successful Levenberg-Marquardt-Fit.
Protected methodDetachView Override this function to detach the view from the controller, either by unsubscribing from events of the view or by setting the controller object on the view to null.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ControllerBase)
Public methodDispose(Boolean) Releases unmanaged and, optionally, managed resources.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public methodEhView_CopyParameterNCM Copies parameters together with the covariance matrix.
Public methodEhView_CopyParameterNSVCVInOneRow Copies the fit summary into a single row.
Public methodEhView_CopyParameterNV Copies parameter names and values.
Public methodEhView_CopyParameterNVV Copies parameter names, values, and variances.
Public methodEhView_CopyParameterV Copies parameter values to the clipboard.
Public methodEhView_CopyParameterVAsCDef Copies parameter values as C definitions.
Public methodEhView_DoFit Starts the nonlinear fit.
Public methodEhView_DoSimplex Starts simplex-based fitting.
Public methodEhView_DoSimulation Starts the simulation.
Public methodEhView_EvaluateChiSqr Evaluates the current chi-square value for the configured model.
Public methodEhView_NewFitFunction Creates a new fit function script.
Public methodEhView_PasteParameterV Pastes parameter values from the clipboard.
Public methodEhView_SelectFitFunction Selects the fit function currently chosen in the selector.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSubControllers Enumerates the sub controllers. This function is called on Dispose(Boolean) of this controller to dispose the sub controllers too. By overriding this function, there is no need to override Dispose(Boolean).
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewGetSubControllers)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize Basic initialization of the document.
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewInitialize(Boolean))
Public methodInitializeDocument Initializes the controller with the document.
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewInitializeDocument(Object))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnAfterFittingStep Performs updates after a fitting step completed.
Public methodOnPropertyChanged Raises the PropertyChanged event.
(Inherited from ControllerBase)
Public methodOnSimulation Simulates the fit on the original data rows.
Public methodOnSimulationWithInterval Simulates the fit on a generated interval.
Public methodRevert Tries to revert changes to the model, i.e. restores the original state of the model.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected methodThrowIfNotInitializedThrows an exception if the controller is not initialized with a document.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventPropertyChangedOccurs when a property value changes.
(Inherited from ControllerBase)
Top
Fields
 NameDescription
Protected field_doc The document to edit. If _useDocumentCopy is , this is a copy of the original document; otherwise, it is the original document itself.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected field_originalDoc The original document. If _useDocumentCopy is , it may have been edited by this controller.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected field_previousFitDocumentIdentifier If a fit was made, new function plot items with a new Guid identifier are created. This is the identifier of the old function plot items. The identifier is used to identify the old function plot items in the layer, and to replace them by the new items.
Protected field_useDocumentCopy If , a copy of the document is made before editing; this copy can later be used to revert the state of the document to the original state.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected field_view The GUI view of this controller.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public fieldStatic memberTabDetails Gets the tab identifier for the details page.
Public fieldStatic memberTabFit Gets the tab identifier for the fitting page.
Public fieldStatic memberTabSelection Gets the tab identifier for the selection page.
Public fieldStatic memberTabSimulation Gets the tab identifier for the simulation page.
Top
See Also