Analysis_Calcium_response_bef_vs_after_training.m draws plots and outputs statistical analyses for calcium responses of files listed in ROI_table_20211020.m for animals being recorded before vs after aversive training The files are available in the data folder. The script can be run on these data, plots and statistics are saved in an additional empty folder called 'outputs'.
Analysis_Calcium_response.m draws plots and outputs statistical analyses for calcium responses of files listed in ROI_table_20211020.m for naive animals. The files are available upon request and after publication.