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

Home » Public Forums » archive » How to create a reference image
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
How to create a reference image [message #89777] Wed, 03 December 2014 07:20 Go to next message
Nims is currently offline  Nims
Messages: 8
Registered: February 2014
Junior Member
Hi

I have the images of a galaxy in two wavelength bands e.g. A.fits and B.fits. A.fits is aligned to a reference image. I wish to align B.fits to the same reference image.

My problem is that I don't know how to create this reference image.

Could someone help please?

Thanks
Re: How to create a reference image [message #89791 is a reply to message #89777] Wed, 03 December 2014 12:07 Go to previous messageGo to next message
rryan%stsci.edu is currently offline  rryan%stsci.edu
Messages: 16
Registered: October 2014
Junior Member
On Wednesday, December 3, 2014 10:20:03 AM UTC-5, Nims wrote:
> Hi
>
> I have the images of a galaxy in two wavelength bands e.g. A.fits and B.fits. A.fits is aligned to a reference image. I wish to align B.fits to the same reference image.
>
> My problem is that I don't know how to create this reference image.
>
> Could someone help please?
>
> Thanks


Nims,

Ok, you're not going to like the answer. This question isn't an IDL one per se. Sure, you can use IDL to do this, but this question is so astronomy specific, you're better off asking other graduate students or postdocs at your university.

Look at hastrom.pro in the IDL user group. This will transform by bilinear interpolation an image to match the astrometry of another (I think it's bilinear. and if it is, then this is nearly the simplest and possibly worst depending on who you ask type of interpolation). This will mean you need to get the header correct. Again there are tools for that, but they are highly specific.

I'm unaware of any off-the-shelf IDL routines for you that are IDL. Again, because this isn't an IDL question, this is an astronomy one. Google the following things: astrometry.net, SWarp, or even look for tools associated with the telescope/instrument from where you got the images. I know if it's HST or Spitzer loads of tools already exist --- but are certainly not written in IDL.

Good luck,
Russell
Re: How to create a reference image [message #89828 is a reply to message #89791] Mon, 08 December 2014 03:43 Go to previous message
Nims is currently offline  Nims
Messages: 8
Registered: February 2014
Junior Member
Thank you Russell, you were a great help
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Solution Manual for Discrete Mathematics with Applications 4th Edition by Susanna S. Epp
Next Topic: Type conversion error: Unable to convert given STRING to Long.

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

Current Time: Wed Oct 08 11:32:49 PDT 2025

Total time taken to generate the page: 0.00494 seconds