-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Co-aligning a stack of images to a common WCS is a common task. We should have a function that, given a target WCS, reprojects a list of images to that target WCS and adds an additional axis to that WCS corresponding to the time dimension. Without performing interpolation, this time axis will, generally speaking, be irregularly spaced (even at the nominal AIA cadence, not accounting for dropouts and/or small deviations) and as such the resulting WCS will have to be a non-FITS WCS. This example gallery entry illustrates how to deal with this case with a wavelength axis, but this can be straightforwardly adapted to deal with the time case.
Things to decide:
- What is the input data structure? List of Maps? Sequence? An NDCube sequence?
- Do we want an
ndcubedependency? If not what should this return? - Should this return a MapSequence instead? There would be no time axis in that case.
See also sunpy/sunpy#7676 for a similar issue about creating an example gallery entry for this kind of workflow.