hnn_core.hnn_io.write_network_configuration#
- hnn_core.hnn_io.write_network_configuration(net, output, overwrite=True)[source]#
Writes network configuration to a json file.
Writes network configurations as a hierarchical json similar to the Network object’s structure. Outputs recorded during simulation such as currents and voltages are not saved due to size.
- Parameters:
- netNetwork
hnn-core Network object
- outputstr, Path, or StringIO
Path or buffer to write outputs
- overwritebool
Overwrite file if it exists. Default: True
- Returns:
- None