comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » WCS Coordinates not kept with WRITEFITS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
WCS Coordinates not kept with WRITEFITS [message #68982] Thu, 10 December 2009 06:11
Laurence is currently offline  Laurence
Messages: 2
Registered: December 2009
Junior Member
Hi,
I am writing because I have a problem while creating new fits files
and I could not find any similar topic on the web.
Basically, I simply cut a small region from a larger fit file and save
it with writefits .

im1=readfits('pp.fit',hdr)
temp1='p.fit'
imnew1=fltarr(2000,2000)
imnew1=im1(3303:3512,3095:3293)
writefits,temp1,imnew1,hdr

But in the newly created .fit file, the coordinates are off and then
wrong !
Is there a way to solve this ? (I have idl_6.0 )

Thanks,
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Full text searching of IDL code libraries?
Next Topic: Re: Vectorize procedure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:36:57 PDT 2025

Total time taken to generate the page: 0.00524 seconds