I’d like to write a notebook that explores loading and combining different calexps into a coadd to explore template behavior. The motivation is working on building templates for DIA; doing this in a Notebook helps building easy visualization and quick iteration. Where should I start?
The specific motivating case here is that the assembleCoadd.run
method expects data refs instead of exposures because it’s written assuming not everything will fit in memory. But I’d also like to directly specify the list of calexps, without separately running them through a selectFilter.
Here’s a notebook that shows my thinking and struggles.
GenerateTemplates.ipynb (1.8 MB)
The more general version of my question is how to run pipetasks from a notebook, but I understand that is not a generally available functionality yet.