Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoihiStateMonitor returns times with unit "ms" #12

Open
andrewlehr opened this issue Jul 21, 2021 · 0 comments
Open

LoihiStateMonitor returns times with unit "ms" #12

andrewlehr opened this issue Jul 21, 2021 · 0 comments

Comments

@andrewlehr
Copy link
Contributor

The LoihiStateMonitor class should strip the units (milliseconds) before returning the times, t. Otherwise one needs to import brian2 to remove the units.

In particular, define:
mon_I = LoihiStateMonitor(neuron, 'I')

After running simulation, the following should return a unitless array:
times = mon_I.t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant