piglot.solver.input_file_solver.write_parameters
- write_parameters(param_value: ~typing.Dict[str, float], source: str, dest: str, regex: ~typing.Callable[[str], str] = <function <lambda>>) None[source]
Write the set of parameters to the input file.
Parameters
- param_valueDict[str, float]
Collection of parameters and their values.
- sourcestr
Source input file, to be copied to the destination.
- deststr
Destination input file.
- regexCallable[[str], str], optional
Function to generate the regex for the parameter substitution. By default, uses the regex to replace “<param_name>” with the value.