AllDoron_ForScience2020.py 578 B

12345678910111213141516171819202122232425
  1. import matplotlib as mpl
  2. mpl.use('Agg')
  3. #import matplotlib.pyplot as plt
  4. from pylab import *
  5. from numpy import *
  6. from scipy import io
  7. import os
  8. import seaborn as sns
  9. sns.set(style='ticks')
  10. # 3 sigma was chosen to fit opto protocol
  11. nsigmaON = 3.0
  12. nsigmaOFF = 3.0
  13. task = 'Figures_ONOFF_later_3typesFRHits_SimplerCode/' #output path
  14. datapath = 'ExpertS1Cells/' # input path
  15. execfile('CellCategories_3typesFRHits_SimpleCode.py')
  16. task = 'Figures3types_Naive_FRHits_SimplerCode/' #output
  17. datapath = 'NaiveS1Cells/' # input
  18. execfile('CellCategories_3typesFRHits_SimpleCode.py')