...
Two options are available:linear and logaritmic. When linear is selected the calculation is done by the regular linear method.
The slope will be computed as:
In case the logaritmic option is selected the interpolation will be performed on a table with the logaritmic values of the stages and the discharges.
...