The following post was written by Steven Christe of SunPy.
A Rare Opportunity to View the Solar Corona
A solar eclipse presents a unique opportunity for us to view the solar corona or solar atmosphere. In visible light, the corona is about one million times fainter than the sun, or about as bright as the moon. Hence, the solar corona is nearly impossible to observe when the solar disk is visible. Don’t be fooled by what looks like rays extending from the Sun that you might see during the day—that is actually sunlight scattered by our earth’s atmosphere. When the moon gets right in front of the sun and blocks out the solar disk, we can then see something very different: the sun’s light scattering off of its own atmosphere! Unlike Earth’s atmosphere, the Sun’s is very dynamic and shows off the complex structure of the Sun’s magnetic field. Understanding it and its evolution is still an area of active study.
Align & Compare Photos of the Solar Eclipse using Python
This year, the United States is very lucky because a total solar eclipse crosses the entire country on August 21st. Many people will be able to see the beauty of the solar corona with their own eyes and many are likely to take photos. Many citizen science projects are have been organized to provide advice and to gather those photos including the Eclipse Megamovie Project. With so many photos likely to be taken, it will be a challenge to align them to each other to compare them.
One way to do this might be to find their relative alignment by comparing coronal structures. This might be done by cross correlation. This technique has its limitations though, what if the structures don’t match or you’d like to compare to a picture of the solar disk taken by a satellite such as the AIA imager on the Solar Dynamics Observatory which will not be in eclipse? What is required then is a determination of the absolute coordinates of your photograph. The primary coordinate system for solar observations is helioprojective coordinates. This is a coordinate system whose origin is at the center of the solar disk with the y axis aligned with the solar north pole. The units of the coordinates are angles usually expressed in arcseconds. As viewed from the earth, the sun is a little more than half a degree or 1900 arcseconds across, so the rightmost edge of the sun is at about 980 arcseconds (or half of the width of your little finger at arm’s length). The exact value varies throughout the year as the earth moves through its elliptical orbit around the sun.
We first need two important pieces of information about your photograph, namely (1) where the center of the sun is, which is the center of the helioprojective coordinates, and (2) how big is the sun, which determines how big each pixel is projected on the sky. As mentioned in a previous blog post, Python is a great language for science and astronomy. Finding the Sun is equivalent to finding a circle, and this can be done straightforwardly by first taking the derivative of the photograph by using the Sobel filter in