Re: SSW Coordinate Conversions [message #70752] |
Fri, 30 April 2010 03:24 |
Steve[5]
Messages: 10 Registered: September 2007
|
Junior Member |
|
|
Aram Panasenco wrote:
> I have been trying to do this... for a while. How can I use SolarSoft to
> convert cartesian coordinates to solar spherical coordinates and back
> (accounting for the sub-observation plane angle)? I have tried using
> functions like CNVT_COORD, HEL2ARCMIN, and others, but I just can't
> understand what the hell is it that they do (The documentation doesn't
> help. At all.)
>
> Please help
>
> ~Aram Panasenco
Working with the HI imager on STEREO data we do...
wcs=fitshead2wcs(fitsheader)
help,wcs,/struct ; coord_type is helioprojective cartesian
coord=wcs_get_coord(wcs)
gives the positions of all pixels in the image as a 2*n*m array
we can also do...
wcs=fitshead2wcs(fitsheader,system='a')
and get coordinates is celestial-equatorial
Steve
|
|
|