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

Any int or float cell or connection parameter should be replaceable by a RandomDistribution object, or by a list/array of ints/floats #4

Closed
apdavison opened this issue May 21, 2013 · 4 comments
Labels
Milestone

Comments

@apdavison
Copy link
Member

To allow easy specification of neuronal diversity, we should allow specification of int/float parameters using a pyNN.random.RandomDistribution object. The value for an individual cell/connection would be picked from this distribution.


Imported from Trac ticket:4

Opened: 2007-04-24 13:15:54
Last modified: 2010-12-09 20:59:03
Component: unspecified
Priority: major
Owner: Pierre
Reporter: apdavison

@apdavison
Copy link
Member Author

apdavison wrote on 2007-11-06 00:06:47:

This can currently be done quite easily using the rset() method, so although it's a nice idea, it's far from urgent.

@apdavison
Copy link
Member Author

Pierre wrote on 2008-01-18 00:03:41:

Now implemented for all the connector objects. Weights and Delays can be passed either as int/float or RandomDistribution objects. We need therefore to harmonize their conversions according to the simulators. Same with cell parameters. rset() will do the job, but we have to better check the conversion when the argument is a random distribution object

@apdavison
Copy link
Member Author

apdavison wrote on 2010-03-02 11:16:42:

similarly, it should be possible to use an array/list of values, as in tset().

@apdavison
Copy link
Member Author

Implemented in the parameter_space branch, now merged to master, will be released in PyNN 0.8. Note that Population.tset() and Population.rset() deprecated. Population.set() now accepts RandomDistribution objects or arrays as parameter values.

apdavison pushed a commit that referenced this issue Mar 8, 2017
Merge latest PyNN into NML2 fork
apdavison added a commit that referenced this issue Nov 4, 2021
Update file headers and remove unused imports
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

1 participant