Octave script to use raw electrical and streak data