Bug in argument clip=True
in sunkit_image.coalignment.apply_shift()
#192
Labels
clip=True
in sunkit_image.coalignment.apply_shift()
#192
Provide a general description of the issue or problem.
By default, we set
clip=True
inapply_shift()
. However, in lines 357-363 ofcoalignment.py,
it shifts the reference pixel using the x and y shifts that are just applied to the data array instead of the clipped part of the image. As a result, if the shifted data array is plotted with the new WCS, they cancel each other!!!Solution:
Either set
clip=False
and clip the Mapsequence later or useThe text was updated successfully, but these errors were encountered: