-
Notifications
You must be signed in to change notification settings - Fork 174
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
Comments
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!
Done in #580. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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])
whereconstant_i
is different for each populationi
, but I could also see doing things likeoutput = [x[0]*x[1], x[0]**2*x[1],...]
or whatever. Might be nice!The text was updated successfully, but these errors were encountered: