On 10/31/2012 08:56 PM, Patrick Durrell wrote:
Hi;

      A question on how Veusz (1.16 Mac version) handles reading the
FITS header.   I have a 2D image with WCS information in the header, and
it works fine in (say) DS9, but when I try to read it in using Veusz, it
cannot make sense of the WCS info (with CRPIX1/2, CRVAL1/2, and the
related rotation matrix), and reads in pixels.     Is there any way to
change the imported pixel numbers (not the values per pixel) within
VEUSZ so that I can manually convert them to RA and DEC?

    Normally I have had no trouble with the WCS when importing a
2D FITS image  -- just this one image...

Hi - Veusz's WCS handling is too simplistic at the moment, unfortunately. It just treats the CRPIX/VAL linearly when converting to coordinates. It should use a wcs library to do it properly.

You could try opening the file in ds9, aligning it so north is to the top (Zoom->Align), and resaving it with File->Save image option. This might make the WCS Veusz compatible.

Jeremy






_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à