in reply to Spurious `undefined' values and conversion issues
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spurious `undefined' values and conversion issues
by sf_ashley (Sexton) on May 30, 2008 at 18:45 UTC |