Analysis code for my place cell recording data