[AstroPy] WCS creation
Stefano Covino
stefano.covino at brera.inaf.it
Tue Nov 4 01:50:31 EST 2014
Hi Matt, Martin,
I see that I misunderstood what Martin meant. I use astLib to create from scratch a WCS header that later I fill with the opportune parameters. Of course this is not what Martin asks, because he mentioned information from a few stars (i.e. hot to compute the opportune parameters...).
As a matter of fact, I wrote a script to derive the astrometry for a FITS frame in a more or less automatic way. It is nothing special and far from being optimized, yet it works.
You can find it, if you like, here: https://pypi.python.org/pypi/SRPAstro.FITS/
Bye,
Stefano
Mobilis in Mobile
> Il giorno 04/nov/2014, alle ore 07:20, Matt Hilton <hiltonm at ukzn.ac.za> ha scritto:
>
> Hi Stefano, Martin, I'm afraid it doesn't, i.e., there is nothing in
> astLib to fit objects in an image to find a WCS. I use SCAMP
> (http://www.astromatic.net/software/scamp) for this sort of problem
> these days.
>
> Cheers,
> Matt.
>
>> On 04/11/14 07:57, Stefano Covino wrote:
>> Hi Martin,
>>
>> it is not part of astropy, but the astLib package (http://astlib.sourceforge.net) I think allows you to do what you need.
>>
>> Bye,
>> Stefano
>>
>>
>>
>> __________________
>>
>> Mobilis in mobile
>>
>>> Il giorno 03/nov/2014, alle ore 22:45, Martin Beroiz <martinberoiz at gmail.com> ha scritto:
>>>
>>> Hello everybody,
>>>
>>> I have an image for which I have the RA-Dec information for some sources along with the pixel location.
>>>> From that info, I want to create a WCS object with astropy preferably.
>>> Is there a simple way to do that? I read the docs for the WCS class but it seems it only manipulates WCS but won’t create one from the information on a few stars.
>>>
>>> Basically, I’m looking for a python equivalent of STARAST for IDL
>>> http://idlastro.gsfc.nasa.gov/ftp/pro/astrom/starast.pro
>>>
>>> Is there a built-in way to do this with astropy or affiliated package?
>>>
>>> Thanks for your help.
>>> M.
>>> _______________________________________________
>>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20141104/20dfb9c0/attachment.html>
More information about the AstroPy
mailing list