code to analyze images from two-photon Ca Imaging and structural imaging