Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Once a user has defined a function it is possible to register such function it with the function factory's catalog for a given name. Registered functions can be created by name just like the built-in functions. In the following example a function is registered with the catalog and used by name when creating a new function (the sum of a gaussian with the newly registered function):

...

borderStylesolid

...

.

...

User Defined Functions

A user define new functions by either scripting them on the fly or by writing java classes.

...

  • If the function has to be used for unbinned fits and speed is an issue the analytical normalization and the gradient should be provided (the corresponding methods are part of the IModelFunction interface). Please refer to the function normalization session.
  • If the function has to be registered with the function factory's catalog an implementation of the codelet has to be provided. Please refer to the following section for more information on the codelet.