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

Passing in a list to add_output of network arrays #562

Closed
studywolf opened this issue Nov 27, 2014 · 1 comment
Closed

Passing in a list to add_output of network arrays #562

studywolf opened this issue Nov 27, 2014 · 1 comment

Comments

@studywolf
Copy link
Collaborator

It would be cool to be able to pass in a list of functions to the network array, so that a bunch of different signals could be calculated and accessed from the same output connection.

This came up because I wanted something like output = (x[0] + constant_i) * x[1]) where constant_i is different for each population i, but I could also see doing things like output = [x[0]*x[1], x[0]**2*x[1],...] or whatever. Might be nice!

@studywolf studywolf added this to the Wish list milestone Nov 27, 2014
studywolf added a commit that referenced this issue Dec 9, 2014
Allows a list of functions to be passed in to the ensemble_array
add_output function, so that different functions can be calculated
off of the different ensembles.

Also added a test.

Addresses #562.
studywolf added a commit that referenced this issue Feb 11, 2015
Allows a list of functions to be passed in to the ensemble_array
add_output function, so that different functions can be calculated
off of the different ensembles.

Also added a test.

Addresses #562.
studywolf added a commit that referenced this issue Feb 17, 2015
Allows a list of functions to be passed in to the ensemble_array
add_output function, so that different functions can be calculated
off of the different ensembles.

Also added a test.

Addresses #562.
studywolf added a commit that referenced this issue Mar 2, 2015
Allows a list of functions to be passed in to the EnsembleArray
add_output function, so that different functions can be calculated
off of the different ensembles.

Also added a test.

Addresses #562.

Thanks to Sean Aubin for fixing some PEP8 errors!
@tbekolay
Copy link
Member

tbekolay commented Mar 4, 2015

Done in #580.

@tbekolay tbekolay closed this as completed Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants