quail icon indicating copy to clipboard operation
quail copied to clipboard

feature request: custom analysis function

Open andrewheusser opened this issue 8 years ago • 3 comments

With our current model, I think it would be pretty easy to support custom list-wise analyses. For instance, the user could do something like this:

custom_analysis = lambda lst: [item+1 for item in lst]
pyr.analyze(pyro, analysis='custom', analysis_function=custom_analysis)

admittedly a stupid custom analysis but you get the point..think this would be desirable?

andrewheusser avatar Apr 06 '17 13:04 andrewheusser

Yeah, I like it. I'd love to foster a community of users/developers where we could have a "analysis zoo" of interesting functions that could be plugged into our toolbox. After releasing, we could be good citizens (lead by example) and release a few examples into the zoo.

jeremymanning avatar Apr 06 '17 13:04 jeremymanning

I'm thinking this will be a v2 feature

andrewheusser avatar Apr 28 '17 13:04 andrewheusser

👍 we don't want users to have too much freedom, or they might "get ideas"

jeremymanning avatar Apr 28 '17 13:04 jeremymanning