pars#

class pars(location=None, validate=True, die=True, update=True, **kwargs)[source]#

Function for getting default parameters.

Parameters:
  • location (str) – the location to use for the parameters; use ‘test’ for a simple test set of parameters

  • validate (bool) – whether to perform validation on the parameters

  • die (bool) – whether to raise an exception if validation fails

  • update (bool) – whether to update values during validation

  • kwargs (dict) – custom parameter values

Example::

pars = fp.pars(location=’senegal’)