Fuller discussion of how this works with the fitting frameworks is described here.
Wrapper class for Composite Fitting Function
Called when creating an instance
It should not be called directly
Parameters: |
|
---|
Constrain all parameters according local names in expressions.
Parameters: | expressions – string of expressions |
---|
get function specified by name, such as “LinearBackground” for the only LinearBackground function or “Gaussian1” for the second Gaussian function.
Parameters: | name – name specifying the function |
---|
Fix all parameters with the given local name. Every member function must have a parameter of this name.
Parameters: | name – name of parameter |
---|
Return composite function, equal to self, but with every composite function within replaced by its list of functions, so having a pure list of functions. This makes it possible to index and iterate all the functions and use tieAll() and untieAll(). Not to be used with a mixture of product and sum composite functions, because the arithmetic may no longer be correct. The return value is not independent of self.
get composite parameter name of parameter of given name of member function of given index
get index of function specified by name, such as “LinearBackground” for the only LinearBackground function or “Gaussian1” for the second Gaussian function.
Parameters: | name – name specifying the function |
---|
get value of parameter of specified name
Parameters: | name – name of parameter |
---|
intialise composite function of named type. E.g. “ProductFunction” This function would be protected in c++ and should not be called directly except by __init__() functions of this class and subclasses.
Parameters: |
|
---|
For each member function, tie the parameter of the given name to the parameter of that name in the first member function. The named parameter must occur in all the member functions.
Parameters: | name – name of parameter |
---|
Unconstrain all parameters of given local name.
Parameters: | name – local name of parameter |
---|
Untie all parameters with the given local name. Every member function must have a parameter of this name.
Parameters: | name – local name of parameter |
---|
Wrapper class for Convolution Fitting Function
Called when creating an instance
It should not be called directly.
Parameters: |
|
---|
Wrapper class for Fitting Function
Called when creating an instance
Parameters: |
|
---|
Add constraints
Parameters: | expressions – string of tie expressions |
---|
Fix a parameter.
Parameters: | name – name of parameter to be fixed |
---|
Fix all parameters.
Free a parameter from tie or constraint
Parameters: | name – name of parameter to be freed |
---|
Return the underlying IFunction object
Get the name of the parameter of given index
Parameters: | index – index of parameter |
---|
Return the name of the function
Plot the function
Parameters: | workspace – workspace upon whose x values the function is plotted. |
---|
Add ties.
Parameters: |
|
---|
Remove constraints from a parameter
Parameters: | name – name of parameter to be unconstrained |
---|
Remove tie from parameter.
Parameters: | name – name of parameter to be untied |
---|
Remove ties from all parameters.
alias of _IFunction1DWrapperCreator
Wrapper class for Multidomain Fitting Function
Called when creating an instance
It should not be called directly
Parameters: |
|
---|
Return number of domains
Wrapper class for Product Fitting Function
Called when creating an instance
It should not be called directly.
Parameters: |
|
---|