flopy.pest.tplarray module

class Transient2dTpl(transient2d)[source]

Bases: object

add_parameter(p)[source]

Store the parameters in a list for later substitution

get_kper_entry(kper)[source]
class Util2dTpl(chararray, name, multiplier, indexed_param)[source]

Bases: object

Class to define a two-dimensional template array for use with parameter estimation.

Parameters:
  • chararray (A Numpy ndarray of dtype 'str'.) –

  • name (The parameter type. This will be written to the control record) – as a comment.

  • indexed_param (bool) – A flag to indicated whether or not the array contains parameter names within the array itself.

get_file_entry()[source]

Convert the array into a string.

Returns:

file_entry

Return type:

str

class Util3dTpl(u3d)[source]

Bases: object

Class to define a three-dimensional template array for use with parameter estimation.

Parameters:

u3d (Util3d object) –

add_parameter(p)[source]

Fill the chararray with the parameter name.

Parameters:

p (flopy.pest.params.Params) – Parameter. Must have .idx and .name attributes

get_template_array(pakarray)[source]

Convert the package array into the appropriate template array