Skip to content

Refactor calibrate.register to use reproject #112

@nabobalis

Description

@nabobalis

In GitLab by @wtbarnes on Mar 12, 2022, 10:54

Currently, register (which mimics the usual aiaprep workflow) using sunpy.map.GenericMap.rotate to rotate, scale, and translate the image.
Instead, we should just use reproject to reproject the level 1 image into a WCS which has the desired scale (specified using CDELT) and orientation (specified using the PC matrix) and puts the center of the sun at the center of the pixel grid (in the case of a full-disk image).

This would also resolve #112.

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