0

有没有办法禁用 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)
4

1 回答 1

1

您可以禁用内核字典中时间戳的打印:

nest.SetKernelStatus({'print_time': False})

关于一般的输出,您可能还对使用 设置详细程度感兴趣nest.set_verbosity()。0 级显示所有消息,100 级禁止所有消息。

于 2015-12-25T18:01:51.300 回答