You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SunPy
Hi all
I was just wondering if there was some way of measuring lengths in SunPy Map objects in Mm or some similar length units. For example in the following map I want to measure the length along one of the red lines marked.
will.t...@gmail.com
unread,
Jul 1, 2022, 4:04:48 PM7/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SunPy
If those red lines overlaid on your image are represented as astropy SkyCoord objects, you can use the separation method (https://docs.astropy.org/en/stable/coordinates/matchsep.html#offsets) on each SkyCoord to calculate the plane-of-sky angular separation represented by that coordinate. Given the distance to the observer that defines the frame of the image, you could then estimate the physical distance associated with each angular separation.