[AstroPy] Handling IRAF at ccmap astrometry solution with Astropy

Laurent MICHEL laurent.michel at astro.unistra.fr
Fri Mar 27 05:49:42 EDT 2020


Hi,

Thank you for your reply.
Unfortunately, my projection contains a non linear component (legendre 
polynoms).
I'll try anyway.

LM

Le 25/03/2020 à 16:15, JJ Kavelaars a écrit :
> Hi,
> 
> If you have access to IRAF you can use the ccsetwcs to put the ccmap 
> database version of the WCS into the FITS header:
> 
> http://iraf.noao.edu/scripts/irafhelp?ccsetwcs
> 
> Then astropy will understand the WCS.  But that will only provide the 
> linear components.
> 
> JJ
> 
> 
>> On Mar 25, 2020, at 2:56 AM, Laurent MICHEL 
>> <laurent.michel at astro.unistra.fr 
>> <mailto:laurent.michel at astro.unistra.fr>> wrote:
>>
>> Dear Astropy,
>>
>> In the project I'm working on (SVOM), I have to resolve image 
>> astrometry with parameters given as IRAF at ccmap input files (*.db).
>> I've pasted a sample below.
>> As I'm not an IRAF user and my application is Python based, I would 
>> like to know whether someone in the community would have some 
>> experience with handling such coordinate transformations with AstroPy 
>> or some associate package.
>>
>> Regards
>> LM
>>
>>> beginfirst
>>> xrefmean1006.983846153846
>>> yrefmean1295.986153846154
>>> lngmean51.92749369230773
>>> latmean46.71962446153846
>>> pixsystemlogical
>>> coosystemj2000
>>> projectiontan
>>> lngref51.92764538984333
>>> latref46.71980701217847
>>> lngunitsdegrees
>>> latunitsdegrees
>>> xpixref1006.538812424377
>>> ypixref1296.240113815674
>>> geometrygeneral
>>> functionlegendre
>>> xishift785.057480503327
>>> etashift-1011.192209060798
>>> xmag0.780016468878781
>>> ymag0.7800388866873553
>>> xrotation180.0054358489221
>>> yrotation0.003364033436420988
>>> wcsxirms0.03777045679395438
>>> wcsetarms0.04621390005594472
>>> xirms0.02446609811977102
>>> etarms0.03292506146030702
>>> surface111
>>> 2.2.
>>> 2.2.
>>> 2.2.
>>> 0.0.
>>> 1.1.
>>> 2048.2048.
>>> 1.1.
>>> 2048.2048.
>>> -14.02246741249724-211.9665257906808
>>> -798.3468523017050.07577120489887789
>>> 0.04687505246502031798.3697991484097
>>> surface214
>>> 2.2.
>>> 3.3.
>>> 3.3.
>>> 2.2.
>>> 1.1.
>>> 2048.2048.
>>> 1.1.
>>> 2048.2048.
>>> 0.01209115687180025-0.01371667420039151
>>> -0.0015959343777583620.01973382792045219
>>> 0.01870940742458613-0.03495580079513902
>>> -0.046826851928371270.05029843125259523
>>> 0.02206659476379174-0.06407294737100595
>>> 0.09651497861498953-0.103465418301487
>>> # Fri 10:57:09 13-Mar-2020
>>
>>
>>
>> -- 
>> ---- Laurent MICHEL              Tel  (33 0) 3 68 85 24 37
>>     Observatoire de Strasbourg  Fax  (33 0) 3 68 85 24 32
>>     11 Rue de l'Universite      Mail laurent.michel at astro.unistra.fr 
>> <mailto:laurent.michel at astro.unistra.fr>
>>     67000 Strasbourg (France)   Web http://astro.u-strasbg.fr/~michel
>> ---
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at python.org <mailto:AstroPy at python.org>
>> https://mail.python.org/mailman/listinfo/astropy
> 
> 
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org
> https://mail.python.org/mailman/listinfo/astropy
> 

-- 
---- Laurent MICHEL              Tel  (33 0) 3 68 85 24 37
      Observatoire de Strasbourg  Fax  (33 0) 3 68 85 24 32
      11 Rue de l'Universite      Mail laurent.michel at astro.unistra.fr
      67000 Strasbourg (France)   Web  http://astro.u-strasbg.fr/~michel
---


More information about the AstroPy mailing list