dpest.utils.facparmax#

dpest.utils.facparmax.facparmax(pst_path, new_value)[source]#

Updates the FACPARMAX parameter in a PEST control (.pst) file.

FACPARMAX specifies the maximum factor by which parameters can change during optimization. This function allows you to set FACPARMAX to any float value greater than 1.0.

Required Arguments:#

  • pst_path (str):

    Path to the .pst file to modify

  • new_value (float):

    New value for FACPARMAX (must be greater than 1.0)

Returns:#

  • None

Example:#

Set FACPARMAX to 2.0:

 from dpest.utils import facparmax

facparmax("PEST_CONTROL.pst", 2.0)