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

Home » Public Forums » archive » Re: Calculate the mean of many images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Calculate the mean of many images [message #63635 is a reply to message #63623] Sun, 16 November 2008 23:13 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Nov 16, 7:35 pm, Bulrush <Wasit.Weat...@gmail.com> wrote:
...
>
> Seems like I got lost between the codes. the mean I got with avg[wh]
> is all zero. Here is my code. Thanks for your help.
...
>   mask = (QA EQ 0.00) AND (finite(Data) EQ 1) OR (QA EQ 1.00) AND
> (finite(Data) EQ 1)

So, does MASK select the pixels you want?

Also, you'd better make the order of operations explicit with
parentheses. You may or may not be getting what you expect.

> I am also wondering what does += means?

A += B ; is the same as
A = A + B

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and sqlite
Next Topic: A Simple IDL Manifesto

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

Current Time: Sat Oct 11 02:44:34 PDT 2025

Total time taken to generate the page: 0.47959 seconds