back to main page


 

The catalog


The catalog allows to build and maintain a catalog of user definedfit functions f.
The basic objects that the catalog can handle are: families and models.
A family is just a list of models, e.g. the family POLYNOMIAL couldcontain the
models 'LINEAR', 'QUADRATIC', 'CUBIC', ... and a model is just a namedfit
function.

The catalog is accessed via the item NEW of the main menu. Inside the InputForm
that is opened by NEW there are two fields: DATA and MODEL. Select the MODEL
field and open the catalog via the [CAT] menu item.

The catalog shows you the list of families. This list might be empty if you just installed
MODA or if you deleted the default catalog. New families of models can be created
via the menu item NEW. Existing family can be deleted with DEL and the name of
an existing family can be changed with EDIT.

The menu item [ > ] shows you the content of the currently selected family and changes
the menu. Now you see the list of models in the current family. Newmodels can be
created via the menu item NEW, existing models can be viewed,deleted andedited
via the menu items VIEW,DEL and EDIT. OK selects the current model and quits the
catalog.

The menu itme [ < ] brings you back to the family-level of the catalog.
 
 

The default catalog that comes with moda is (sort of) a general purpose catalog.
Other people might prefer other variants of a 'general purpose'  catalog  and still
other people might favour a more specialized catalog that is well suited to a certain
group of applications. - Feel free to send these catalogs to me, I'd be happy to
include or cite these contributions in future releases.
 


Technicalities


The catalog of models is stored in a variable named 'MDCAT' which is stored in
the current directory. This variable has the formal structure:
 

 
MDCAT { family_1 family_2 ... }
family { familyName familyContent }
familyName a string
familyContent { model_1 model_2 ... }
model { modelName modelContent }
modelName a string
modelContent algebraic object

where {} denote lists. MDCAT is simply a nested list and can be edited without
the built-in editor of moda. However, be sure that you know what you're doing.