有没有办法禁用NEST生成的输出:
...
94 %: network time: 38604.0 ms, realtime factor: 2.1404
94 %: network time: 38605.0 ms, realtime factor: 2.1404
94 %: network time: 38606.0 ms, realtime factor: 2.1403
94 %: network time: 38607.0 ms, realtime factor: 2.1405
94 %: network time: 38608.0 ms, realtime factor: 2.1404
94 %: network time: 38609.0 ms, realtime factor: 2.1404
由nest.Simulate()
生成?
for t in range(int(Tsim/10000.)):
nest.Simulate(Tsim)
答案 0 :(得分:0)
您可以在内核字典中禁用时间戳的打印:
nest.SetKernelStatus({'print_time': False})
关于一般的输出,您可能也有兴趣使用nest.set_verbosity()
设置详细程度。级别0显示所有消息,100级全部显示。