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

Home » Public Forums » archive » How to sum matrices of "fits" images in IDL?
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 sum matrices of "fits" images in IDL? [message #63347] Wed, 05 November 2008 06:38 Go to next message
Griffons is currently offline  Griffons
Messages: 15
Registered: November 2008
Junior Member
Hello everyone,

Anyone would know how to sum matrices of primary "*.fit" files into
one file without using the data in the matrices, only using the
headers?

Thank you.

Griffons
Re: How to sum matrices of "fits" images in IDL? [message #63419 is a reply to message #63347] Thu, 06 November 2008 08:42 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Nov 5, 9:38 am, griffon...@gmail.com wrote:
> Hello everyone,
>
> Anyone would know how to sum matrices of primary "*.fit" files into
> one file without using the data in the matrices, only using the
> headers?
>
> Thank you.
>
> Griffons

I don't think I understand what you mean... how do you expect to
calculate the sum without accessing the values? I'm imagining that you
want something like:

data1 = readfits(file1, header=head1)
data2 = readfits(file2, header=head2)
datasum = data1 + data2

-Jeremy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Read_grib under IDL 7.0
Next Topic: Re: How to add several *.fit files (matrices) into one output *.fit file?

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

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

Total time taken to generate the page: 0.00518 seconds