Skip to content

Add a function for creating an NDCube with a single WCS from a list of images in time #336

@wtbarnes

Description

@wtbarnes

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 ndcube dependency? 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions