555
575
<p>In this case the desired image scale is 2^4 x (natural scale) = 16 x 0.6 = 9.6. Now to determine the ROI coordinates,
556
576
we must first determine how large the image will be at the specified scale. AIA is normally 4096x4096, so at 1/16 its
557
577
natural resolution it will be 256x256 pixels. Since the origin is in the middle of the Sun (which here is in the middle
558
of the Sun), there top-left corner is 128 pixels up and to the left (-128, -128), and the bottom-right corner is 128 pixels down and
578
of the Sun), the top-left corner is 128 pixels up and to the left (-128, -128), and the bottom-right corner is 128 pixels down and
559
579
to the right (128, 128). Since the ROI must be specified in arcseconds, and not in pixels, we multiply by the desired imageScale: