Re: Re: Prob.: timelag calc. using sitar package

From: Nilay Bhatt <nilayb_at_email.domain.hidden>
Date: Fri, 30 Jul 2010 09:31:22 +0530 (IST)
Dear Prof. Nowak,

I am sorry to say that, it fails again with the same message!!

if i understand it correctly, the lines u introduced are already 
present in v0.8.0 .
I think the value of 'lfreq' should be assigned to 'lnavg' , if 'navg' is 
a number and not an array.
That means changing the following if-statement in sitar_lags() routine as,
-------------------------
...
...
if( lnavg == 1 )
{
    navg = ones(lfreq)*navg;
    lnavg = lfreq;
}
...
...
-----------------

or alternatively, measure the length of 'navg' after this if-statement.

i am sorry, if i have understood it wrong.

regards,
nilay


On Thu, 29 Jul 2010, Michael Nowak wrote:

>
> On Jul 29, 2010, at 2:54 AM, Nilay Bhatt wrote:
>
>> one more thing , i tried to see in sitar , where the error message is
>> being generated. and i find that in sitar_lags() routine, in the begining it tries to check the length of all the arguments to be equal or not. it fails there, possibly for 'navg' variable.
>
> Yup, you are correct.  My bad.  That was a bug on my part.  I think
> this version should do it.
>
> -Mike
>
>
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Fri Jul 30 2010 - 00:15:15 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT