FunctionQDepends¶
Description¶
This fitting function is the base class for all fitting functions that have:
A range of energy transfers as their one-dimensional domain from which to take values
The magnitude of the momemtum transfer,
, as one of their attributes.
Fitting functions for QENS data depending on
There are two ways to update attribute
The user inputs a particular value.
The spectrum contains
in addition to the range of energy transfers.
Conflict may arise when both options are available. In that case, priority is given to the
User cannot override the value of attribute
if the spectrum contains a -value.User can set or update the value of of attribute
is the spectrum does not contain a -value.The value of attribute
will be updated everytime we pass a new spectrum containing a -value.The value of attribute
will be erased if we pass a new spectrum not containing a -value. In this case it is the responsibility of the user to set the appropriate value.