mllf.file_handling.write_bias_coeff

Write bias coefficient files in the old .inp or .py style used by the simulator.

This module provides helpers to write a simple .inp or .py file with lines of the form set <param> = <value> so the existing parser can read it back.

Functions

create_variables_py_from_template(...[, ...])

Create a variables#.py file by copying a template and setting minimizeflag.

write_bias_inp_from_graph(graph, filename[, ...])

Write a .inp file from a Graph instance.

write_variables_py_from_inp(inp_path, out_path)

Convert an old-style .inp variables file into a variables.py-style file containing scalar entries that parse_new can read.