2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
cmf.fit_retention_curve Namespace Reference

Detailed Description

Fits cmf retention curves objects into a measured pF curve

Created on 07.10.2009

@author: philkraf

Functions

 fit_bc (pF, theta, count=1, verbose=False)
 
 fit_vgm (pF, theta, fit_m=False, fit_theta_r=False, count=1, verbose=False)
 

Function Documentation

◆ fit_bc()

fit_bc ( pF,
theta,
count = 1,
verbose = False )
Fits the vanGenuchten Mualem retention curve into measured soilphysics values
:param pF: A sequence of pF values
:param theta: A sequence of the volumetric water content in l water/l soil at the respective pF value
:param count: Times to repeat the minimization to avoid local minima
:param verbose: If True: Print the values in between
:return: (Retentioncurve, RMSE)

◆ fit_vgm()

fit_vgm ( pF,
theta,
fit_m = False,
fit_theta_r = False,
count = 1,
verbose = False )
Fits the vanGenuchten Mualem retention curve into measured soilphysics values
:param pF: A sequence of pF values
:param theta: A sequence of the volumetric water content in l water/l soil at the respective pF value
:param fit_m: If True, the retention curve is fitted with a variable m (deprecated by vanGenuchten)
:param fit_theta_r:  If True, the retention curve is fitted using a theta_r (kind of deprecated by vanGenuchten)
:param count: Times to repeat the minimization to avoid local minima
:param verbose: If True: Print the values in between
:return: (Retentioncurve, RMSE)