The WCS package provides functions to parse World Coordinate System (WCS) coordinates for solar images as well as convert between various solar coordinate systems. The solar coordinates supported are
- Helioprojective-Cartesian (HPC): The most often used solar coordinate
- system. Describes positions on the Sun as angles measured from the center of the solar disk (usually in arcseconds) using cartesian coordinates (X, Y)
- Helioprojective-Radial (HPR): Describes positions on the Sun using angles,
- similar to HPC, but uses a radial coordinate (rho, psi) system centered on solar disk where psi is measured in the counter clock wise direction.
- Heliocentric-Cartesian (HCC): The same as HPC but with positions expressed
- in true (deprojected) physical distances instead of angles on the celestial sphere.
- Heliocentric-Radial (HCR): The same as HPR but with rho expressed in
- true (deprojected) physical distances instead of angles on the celestial sphere.
- Stonyhurst-Heliographic (HG): Expressed positions on the Sun using
- longitude and latitude on the solar sphere but with the origin which is at the intersection of the solar equator and the central meridian as seen from Earth. This means that the coordinate system remains fixed with respect to Earth while the Sun rotates underneath it.
- Carrington-Heliographic (HG): Carrington longitude is offset
- from Stonyhurst longitude by a time-dependent scalar value, L0. At the start of each Carrington rotation, L0 = 360, and steadily decreases until it reaches L0 = 0, at which point the next Carrington rotation starts.
- b0: Tilt of the solar North rotational axis toward the observer
- (helio- graphic latitude of the observer). Note that SOLAR_B0, HGLT_OBS, and CRLT_OBS are all synonyms.
- l0: Carrington longitude of central meridian as seen from Earth.
- dsun_meters: Distance between observer and the Sun. Default is 1 AU.
- rsun_meters: Radius of the Sun in meters. Default is 6.955e8 meters. This valued is stored locally in this module and can be modified if necessary.
||Calculate the pixel indices for a given data coordinate.|
||Convert from Heliocentric-Cartesian (HCC) (given in meters) to Stonyhurst Heliographic coordinates (HG) given in degrees, with radial output in meters.|
||Convert Heliocentric-Cartesian (HCC) to angular Helioprojective-Cartesian (HPC) coordinates (in degrees).|
||Convert from Stonyhurst Heliographic coordinates (given in degrees) to Heliocentric-Cartesian coordinates (given in meters).|
||Convert from Heliographic coordinates (HG) to Helioprojective-Cartesian (HPC).|
||Converts from Helioprojective-Cartesian (HPC) coordinates into Heliocentric-Cartesian (HCC) coordinates.|
||Convert from Helioprojective-Cartesian (HPC) to Heliographic coordinates (HG) in degrees.|
||Calculate the data coordinate for particular pixel indices.|
||Apply a coordinate transform to coordinates.|
||Returns the center of the image in data coordinates.|
||Applies the gnomonic (TAN) projection to intermediate relative coordinates.|