analysis: initial commit of marnix's old expt 1 analysis code