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 #80334 is a reply to message #80331] Sat, 26 May 2012 08:56 Go to previous messageGo to previous message
spasoklampanas is currently offline  spasoklampanas
Messages: 8
Registered: May 2012
Junior Member
On May 26, 6:28 pm, wlandsman <wlands...@gmail.com> wrote:
> How do you know that it "didn't do the job"?    How are you determining the pixel scale?
>
>
>
>
>
>
>
> On Saturday, May 26, 2012 10:34:42 AM UTC-4, spasokl...@yahoo.com wrote:
>> 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

The cloud in the output image seems that it disappeared.No idea
why. Could that be due to the difference of the input arrays? The
dimensions are:

IMAGE_AV FLOAT = Array[2133, 1602]
IMAGE_AV_6 FLOAT = Array[250, 250]
IMAGE_HA FLOAT = Array[250, 250]

Once again, thanks a lot for your tips.
[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 13:52:42 PDT 2025

Total time taken to generate the page: 0.00192 seconds