<div dir="ltr">I second the idea. I think it is a common pattern (at lest for me) to create a notebook to perform an analysis and then to process a series of datasets for comparison.<div><br></div><div>Right now I create several notebook copies manually, but as Jake says, it quickly becomes tricky once you want to tweak the analysis (either you modify N notebooks or re-create the N copies).</div>

<div><br></div><div>Some sort of parametrization of the notebooks would be useful, and using the widget infrastructure seems a sensible idea.</div><div><br></div><div>Antonio</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Fri, Apr 4, 2014 at 9:01 AM, Jacob Biesinger <span dir="ltr"><<a href="mailto:jake.biesinger@gmail.com" target="_blank">jake.biesinger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hi!<div><br></div><div>I don't follow this list very closely but had an idea I thought worth sharing.  I'm not sure if this is the right list to share to but here goes:</div><div><br></div><div>I find myself creating notebooks as reports on different datasets and parameters.  There are a few global variables listed at the top and after the code munging phase is complete, I make duplicates of the notebook, only changing the global variables and rerunning all the cells.  This quickly becomes unmanageable.  Additional notebooks are hard to maintain and tweak whereas maintaining a single notebook means I have to rerun the report for every tweak. I also can't compare reports without copying notebooks.</div>



<div><br></div><div>What if we had a way to specify "report parameters", global variables you can modify using a widget interface (dropdown, slider, input box, etc but tied to multiple cells or possibly the whole notebook) and a caching mechanism to store notebook contents for each combination of report parameters? I'm imagining quickly switching the dataset for a series of graphs I'm looking at and having the graphs already cached for the ones I've looked at, or having the report run for any new combinations.</div>



<div><br></div><div>I suppose I could open multiple tabs on the same report to simulate some of this though it seems the autosaves would conflict.</div><div><br></div><div>Thanks for listening!</div><div><div>--<br>Jake Biesinger<br>



Graduate Student<br>Xie Lab, UC Irvine<br></div>
</div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>