On Jul 28, 2010, at 8:22 AM, Nilay Bhatt wrote: > i am trying to calculate timelag between lightcurves from two diff. energy bands for one XMM-Newton data set. > I give the following command at isis prompt and it quits with > following error message. > ----------------------- > isis> (lag,dlag,g,dg) = sitar_lags(aflo1,apsd1,apsd2,acpd,npsd1,npsd2); > Inconsistent array sizes > Stack Underflow Error > ----------------------- > here, i have not supplied one "optional" variable (navg - no. of averaged segments). > now if I supply that optional variable too, i will still get the same > error. > > i dont know how to get around it. Pl. help. I'll need a little more help to figure this out. Run isis as: unix%> isis -g you'll get a little more debug info that way, like the line in the code that actually causes the problem. Also, it would be good to know the lengths of the arrays in the input, to see that they are indeed all the same length. Could be a bug in my code, or that something got off in the set up, but there's not enough to go on at the moment. So, send me the info, and we'll work from there. Cheers, 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: unsubscribeReceived on Wed Jul 28 2010 - 10:07:49 EDT
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT