Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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
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
Thank you Russell, you were a great help