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

Home » Public Forums » archive » Re: How to add several *.fit files (matrices) into one output *.fit file?
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: How to add several *.fit files (matrices) into one output *.fit file? [message #63321] Thu, 06 November 2008 08:32 Go to next message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Thu, 6 Nov 2008 07:20:10 -0800 (PST), Griffons
<griffons76@gmail.com> wrote:

> Hello Everyone,
>
> Anyone would know how to add several *.fit files (matrices) into one
> output *.fit file using IDL?
>
> Thank you.
>
> Griffons


http://idlastro.gsfc.nasa.gov/fitsio.html

READFITS to read all images and WRITEFITS to write the sum. However,
looking at your previous post, this might not be what you want. What
do you mean by adding? Summation or concatenation? I don't know the
.fit format, but if 1 file can contain many images, MRDFITS()/MWRFITS
might help you.
Re: How to add several *.fit files (matrices) into one output *.fit file? [message #63418 is a reply to message #63321] Thu, 06 November 2008 08:46 Go to previous message
Griffons is currently offline  Griffons
Messages: 15
Registered: November 2008
Junior Member
On Nov 6, 11:32 am, Wox <s...@nomail.com> wrote:
> On Thu, 6 Nov 2008 07:20:10 -0800 (PST), Griffons
>
> <griffon...@gmail.com> wrote:
>> Hello Everyone,
>
>> Anyone would know how to add several *.fit files (matrices) into one
>> output *.fit file using IDL?
>
>> Thank you.
>
>> Griffons
>
> http://idlastro.gsfc.nasa.gov/fitsio.html
>
> READFITS to read all images and WRITEFITS to write the sum. However,
> looking at your previous post, this might not be what you want. What
> do you mean by adding? Summation or concatenation? I don't know the
> .fit format, but if 1 file can contain many images, MRDFITS()/MWRFITS
> might help you.

Hello,
Thank you for your help.
I mean adding as in summation. Let say you have 20 image files in a
folder and want the output to be the sum into one file.

Griffons
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to sum matrices of "fits" images in IDL?
Next Topic: Re: solving equation consisting of points - sort of...

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

Current Time: Wed Oct 08 19:29:44 PDT 2025

Total time taken to generate the page: 0.00552 seconds