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

Home » Public Forums » archive » Re: change pixel scale
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: change pixel scale [message #80336 is a reply to message #80335] Sat, 26 May 2012 07:34 Go to previous messageGo to previous message
spasoklampanas is currently offline  spasoklampanas
Messages: 8
Registered: May 2012
Junior Member
On May 26, 5:01 pm, wlandsman <wlands...@gmail.com> wrote:
> On Saturday, May 26, 2012 7:46:20 AM UTC-4, spasokl...@yahoo.com wrote:
>> Hi
>
>>     I have some fits files (astronomy images) that have a different
>> pixel scale. How is it possible to bring them on the same pixel scale?
>> The given routine of degrade is not suitable, since it degrades the
>> image resolution by a factor of two, which is not my case.
>
>>       Thanks a lot.
>
> Try hastrom.pro
>
> http://idlastro.gsfc.nasa.gov/ftp/pro/astrom/hastrom.pro

I have tried this script using the following:

fits_read, 'L1780_IR.fits', image_Ha,hdr
fits_read, 'L1780_Av.fits', image_Av,hdr2


HASTROM, image_Av, hdr2, image_Av_6, newhdr, hdr

writefits,'Av_6_2mass.fits',image_Av_6,newhdr

end


But it didn't do the job. Is there any other way to use the script?
I mean another calling sequence?
Thanx a lot
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: help with mathematics
Next Topic: save a map in a pdf or eps file

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

Current Time: Wed Oct 08 15:56:10 PDT 2025

Total time taken to generate the page: 0.00409 seconds