Register External Fits
To use HyperStudy with a custom Python fit, it must be registered.
Register External Fits in HyperStudy
- From the menu bar, click .
-
Add an external fit.
- Click Add External Fit.
- In the Add dialog, enter a label for the Fit and click OK.
- In the Path column, enter the location of the external fit to be registered.
- Click Close to exit the external fit registration.
Register External Fits by Editing the Preferences File
Register external optimizers in the *BeginExternalFitDefaults() section of the preferences_study.mvw file.
Register myfit.py in the Preferences File
In this example, the myfit.py executable is added to the list of registered external fits.
*BeginExternalFitDefaults()
*RegisterExternalFit(“myFit”, "C:/My_SQPOptimizer/myfit.py")
*EndExternalFitDefaults()