Minimal usage example¶

import nnmt

# instantiate network
network = nnmt.models.Basic('network_params.yaml')

# calculate working point
wp = nnmt.lif.exp.working_point(network)

# print results
print('Working point:')
print(f"mean input: {wp['mean_input']}")
print(f"std input: {wp['std_input']}")
print(f"firing rates: {wp['firing_rates']}")

# save results to h5 file
network.save('microcircuit_working_point.h5')

Total running time of the script: ( 0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery