I also note that the assignment routine in your 'for ($chn=0;$chn<16384;$chn++)' loop is not (or at least not obviously) definitive: '$energy_before[$chn]' could end up empty for various values of '$chn'. E.g., if $i was greater than $calib_points (I don't know if there's anything in your surrounding code that would prevent that.) This would cause line 1148 (at the very least) to throw an 'undefined' warning.
-- Human history becomes more and more a race between education and catastrophe. -- HG Wells
In reply to Re: Spurious `undefined' values and conversion issues
by oko1
in thread Spurious `undefined' values and conversion issues
by sf_ashley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |