Skip to content

Improve the example scripts #245

Description

@apdavison

The current set of example scripts covers a rather limited range of functionality, with a lot of very similar examples, many of which were written a long time ago.

We should retire some of the old examples, and write some new ones, showcasing a wider range of PyNN's current functionality. The examples should also generate (optional) plots, where appropriate.

Ideas

  • an IF neuron and an HH neuron with different levels of current injection
  • single IF neuron receiving synaptic input from a Poisson source
  • population of Izhikevich neurons, each with a different parameterization, responses to current injection
  • ditto for AdExp neurons
  • a 2D population with spatially-modulated input currents
  • a demonstration of synaptic facilitation and depression
  • a comparison of different STDP weight-dependencies
  • a demonstration of different current sources
  • Brunel
  • Vogels-Abbott CUBA/COBA benchmarks
  • a native NEST example
  • a native NEURON example
  • a demonstration of distance-dependent connectivity
  • an example of writing a new connector, e.g. giving Gabor-shaped connectivity.

Please feel free to add ideas below...

Checklist for examples

  • well commented
  • complete docstring, include usage instructions
  • has "--plot-figure" command-line option

Activity

  1. modified the milestones: 0.8.1, 0.8.0 on Aug 7, 2015
  2. modified the milestones: future, 0.8.1 on May 25, 2016
  3. modified the milestones: future, 1.0 on Apr 7, 2019
  4. HarshKhilawala commented on Jun 3, 2024

    @HarshKhilawala

    @apdavison Can we close this issue if it's resolved with a PR?

    If any of the given examples are pending, can I give it a try?

  5. HarshKhilawala commented on Jun 7, 2024

    @HarshKhilawala

    @apdavison Can you please assign this me?

  6. HarshKhilawala commented on Jun 8, 2024

    @HarshKhilawala

    @apdavison Which ones of these are already completed?

    Can you please update so I can work on remaining ones?

  7. HarshKhilawala commented on Jun 10, 2024

    @HarshKhilawala

    @apdavison Can you please update this so I don't have any blockers to be on-track?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions