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

Nest 2.10 min_delay, max_delay #403

Closed
uahic opened this issue Apr 22, 2016 · 1 comment
Closed

Nest 2.10 min_delay, max_delay #403

uahic opened this issue Apr 22, 2016 · 1 comment
Labels
Milestone

Comments

@uahic
Copy link

uahic commented Apr 22, 2016

Using the most recent pyNN version (from git) I encounter the following issues:

import pyNN.nest as sim sim.setup()

pop1 = sim.Population(1, sim.ACSource())
which works fine with nest 2.6.0 but gives in nest 2.10
`
80 kernel_delay = nest.GetKernelStatus('min_delay')
---> 81 syn_delay = nest.GetDefaults('static_synapse')['min_delay']
82 if syn_delay == numpy.inf or syn_delay > 1e300:
83 return kernel_delay

KeyError: 'min_delay'
`
Examining the defaults of nest 2.10 reveals that there is no min_delay, possibly they removed it permanently.

Setting the min_delay in setup(min_delay=0.1, max_delay=10.0, timestep=0.01) does not work either

NESTError: DictError in SetDefaults_l_D: Unused dictionary items: min_delay max_delay

Specifying it in a synapse
pop1 = sim.Population(1, sim.ACSource(), sim.StaticSynapse(min_delay=0.1))

did not work

@apdavison
Copy link
Member

At present it is not possible to create populations of current sources, i.e., the code should be:

pop1 = sim.ACSource()

not

pop1 = sim.Population(1, sim.ACSource())

If you want multiple current sources (e.g. one per neuron in a population), you have to create a list. I've created a new ticket (#407) proposing a current source array class which would behave more like a population.

@apdavison apdavison added this to the 0.8.1 milestone May 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants