Skip to content

Commit

Permalink
use crop within submap
Browse files Browse the repository at this point in the history
  • Loading branch information
hayesla committed May 8, 2024
1 parent 5d701ed commit 0dfe9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunpy/map/mapbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ def _parse_submap_quantity_input(self, bottom_left, top_right, width, height):

top_left = u.Quantity([top_right[0], bottom_left[1]])
bottom_right = u.Quantity([bottom_left[0], top_right[1]])
# this is a gross way I have done ot

return self.wcs.pixel_to_world(*bottom_left), self.wcs.pixel_to_world(*top_left), self.wcs.pixel_to_world(*top_right), self.wcs.pixel_to_world(*bottom_right)

@_parse_submap_input.register(SkyCoord)
Expand Down

0 comments on commit 0dfe9fd

Please sign in to comment.