nengo / nengo-loihi

Run Nengo models on Intel's Loihi chip
https://www.nengo.ai/nengo-loihi/
Other
35 stars 12 forks source link

Clear probes #303

Closed hunse closed 2 years ago

hunse commented 3 years ago

Add Simulator.clear_probes.

hunse commented 2 years ago

Now fixes #271 as well. This is tested in test_probe.py::test_probe_filter_twice. I had to remove the test in emulator/test_interface.py since I changed get_probe_output to collect_probe_output, and it no longer supports being called more than once in a row (it will return an empty list the second time since there's no new data).

hunse commented 2 years ago

LGTM!