[AstroPy] WCS creation

Matthew Craig mcraig at mnstate.edu
Tue Nov 4 11:03:44 EST 2014


Another option not mentioned yet is astrometry.net. A blind search running on my laptop only takes about 1 sec per image if I feed it a reasonable accurate pixel scale. 

Matt Craig 

Sent from my iPhone

> On Nov 4, 2014, at 9:38 AM, Martin Beroiz <martinberoiz at gmail.com> wrote:
> 
> Thanks to all of you for your responses, I think I’ll code my own based on some of your suggestions.
> I forgot to mention that I need this to be done without human intervention, in a sort of industrial 'big data' way ;)
> 
> Thanks again, you’ve been very helpful!
> 
>> On Nov 4, 2014, at 7:47 AM, Perry Greenfield <stsci.perry at gmail.com> wrote:
>> 
>> This is something that will be possible with the generalized WCS package we are working on now (most of the fitting functionality will be in the modeling component of WCS). The initial version won't support fitting of composite models (i.e., models created from arithmetic combinations of simpler models or models pipelined together), but that is in the plans. But for the time being, you'll either need to fit the parameters yourself, or use a different package (e.g., astlib)
>> 
>> Perry
>> 
>>> On Nov 4, 2014, at 1:50 AM, Stefano Covino wrote:
>>> 
>>> 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
>>> _______________________________________________
>>> 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



More information about the AstroPy mailing list