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

SciUnit interface for the Potjans2014 model #532

Merged
merged 2 commits into from
Nov 23, 2017
Merged

SciUnit interface for the Potjans2014 model #532

merged 2 commits into from
Nov 23, 2017

Conversation

lungsi
Copy link
Contributor

@lungsi lungsi commented Oct 14, 2017

I have made two changes:

  1. in plotting.py I have added
    import matplotlib matplotlib.use('Agg')

  2. I have created a validation_microcircuit.py which contains the class Potjans2014Microcircuit. The class is mostly based on microcircuit.py with some modifications. To use it with sciunit you just need to uncomment lines 27-28 and 33-34 and comment line 36.

  3. To use just
    from validation_microcircuit import Potjans2014Microcircuit as pm
    model = pm()
    model.produce_spiketrain()

@coveralls
Copy link

Coverage Status

Coverage decreased (-11.8%) to 42.347% when pulling 016edd3 on lungsi:validation into 3e336ef on NeuralEnsemble:master.

@apdavison apdavison merged commit bc4e016 into NeuralEnsemble:master Nov 23, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants