Formula-based Calculation allows you to operate math, multivariate and neigbourhood functions on one or multiple grids. It also allows you to make queries (using the 'if-then-else' function). In fact all the functions from PCRaster can be used in this modeltype. For a description of the PCRaster functions we advise you to look in the PCRaster Manual.
You can add this modeltype with right click at a composite model or project and select 'Add Model' and the select the Formula Based Function. Learn more about how to add models. To change the name of the model, type a name in the Properties window or in the Project Explorer. Open the window of the model by double clicking on the model in the Project Explorer, both windows look like the figure below. The numbers correspond with the steps to implement the response curve.
User interface for the Fomula-based functions. The numbers correspond with the steps to implement the response curve.
To determine the response curve, the following steps have to be executed:
The following PCRaster functions are often used: '*' '**' or '^' '-' '+' '/' Exp() max() min() If then function: For more information, see the PCRaster Manual. |
HABITAT uses a point '.' as a deliminator.
Note that x-values outside the range of the class division will result in a no-data value. Combining a no-data value with one of the input variables will also result in a no-data value. Therefore, it is very important to always check the range of the class division.
To List of contents
HABITATDOC:To top of page