[AstroPy] Astropy WCS question
Perry Greenfield
stsci.perry at gmail.com
Mon Jul 21 16:03:48 EDT 2014
I think the answer depends on distortion model you are using, but all_pix2world is probably what you want if your distortion model is one that they mention.
Perry
On Jul 21, 2014, at 3:35 PM, Brian York wrote:
> Greetings,
>
> My apologies if this has already been asked, but I did not have terribly
> good luck in searching the list archives. I'm currently working on some
> image simulation, and think that astropy.wcs might be useful to me, but
> I'm not sufficiently knowledgeable about WCS systems (or, for that matter,
> about astropy) to be sure.
>
> I have a list of sources, each with an RA, DEC, and intensity (in
> counts/s), and I have a FITS header representing my output image, with WCS
> and SIP coefficients. I know that wcs_world2pix would give me pixel
> co-ordinates in the absence of distortion, but I'm wondering if there's
> some combination of calls that can convert from (RA,DEC) to (X,Y) with the
> distortion information that I have available?
>
> Thanks,
> -Brian York
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
More information about the AstroPy
mailing list