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

Home » Public Forums » archive » Re: to read and to save multiple fits format files at a time
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
Re: to read and to save multiple fits format files at a time [message #69982] Thu, 04 March 2010 07:23
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Mar 4, 7:41 am, sid <gunvicsi...@gmail.com> wrote:
> HI,
>    My data is in fits format, I am having 22 fits file and all the 22
> files should be subtracted by single fits file individually, and I
> should save it separately after subtraction. So please help me how to
> read all these 22 files at a single stretch and subtract all the 22
> files separately with one fits file and save the subtracted ones.
> regards
> sid

Funny, I'm working on image subtraction in IDL as well (though I have
a different setup). Probably what you want is a FOR loop, and then to
use READFITS and WRITEFITS.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New Tools for Creating, Browsing, and Reading netCDF Files
Next Topic: Re: Event handling stops for no reason?

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

Current Time: Wed Oct 08 19:30:32 PDT 2025

Total time taken to generate the page: 0.00337 seconds