Just thinking out loud about this note... and I have a couple of basic questions...
a) In your code:
push @moving, $val; next if $#moving < ($MOVES / 2); shift @moving if @moving >= $MOVES;
Can you give me a quick explanation of what the middle line is doing? I'm not familiar with the '$#' construct.
b) You also have the following in your code:
my @rounds = $EXTRA ? ( 44, 90, 100, 110, 120 ) : ( 44, 90, 120 );
It would certainly simplify my job if I knew and could specify these values (that is, 44, 90 and 120)... but in many cases, I don't KNOW those values. Is there a means to simply determine those values from the data... or should I simply create 10 'bins' for example (10, 20, 30... 110, 120) and gradually refine them until I get the 3 'real' values?
I hope these questions are clear enough. It's just that although I've been playing about with perl for 15 years or so, there are still a LOT of basic constructs and things that I don't know about...!
Thanks again
In reply to Re^2: How to Determine Stable Y-Values... or Detect an Edge..?
by ozboomer
in thread How to Determine Stable Y-Values... or Detect an Edge..?
by ozboomer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |