wrote analysis stuff for sawtooth-pockels experiment