[AstroPy] Astropy WCS question

Brian York york at stsci.edu
Mon Jul 21 18:47:34 EDT 2014


It looks good to me. Thank you.

On 2014/07/21 18:06 , "Michael Droettboom" <mdroe at stsci.edu> wrote:

>Brian,
>
>Would you mind looking at the following pull request to confirm it
>addresses the lack of documentation for you?
>
>https://github.com/astropy/astropy/issues/2777
>
>Mike
>
>On 07/21/2014 04:17 PM, Brian York wrote:
>> Thank you. I hadn't realized that the function existed. I will note that
>> the documentation at
>>
>> 	<http://docs.astropy.org/en/stable/wcs/index.html>
>>
>> mentions all_pix2world, wcs_world2pix, and wcs_pix2world but does not
>> mention that all_world2pix exists.
>>
>> 	-Brian
>>
>> On 2014/07/21 16:05 , "Perry Greenfield" <stsci.perry at gmail.com> wrote:
>>
>>> Actually, I meant all_world2pixŠ
>>>
>>> On Jul 21, 2014, at 4:03 PM, Perry Greenfield wrote:
>>>
>>>> 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
>>> _______________________________________________
>>> AstroPy mailing list
>>> AstroPy at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/astropy
>>>
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at scipy.org
>> http://mail.scipy.org/mailman/listinfo/astropy
>
>
>-- 
>Michael Droettboom
>Science Software Branch
>Space Telescope Science Institute
>
>http://www.droettboom.com
>
>_______________________________________________
>AstroPy mailing list
>AstroPy at scipy.org
>http://mail.scipy.org/mailman/listinfo/astropy
>





More information about the AstroPy mailing list