fig1S4.py 653 B

123456789101112131415161718
  1. """Figure 1S4 Ntsr scatter plot versions of parts of fig1.py and fig3.py,
  2. use run -i fig1S4.py"""
  3. assert EXPTYPE == 'ntsrmvis'
  4. print("Calling fig1.py to generate movie plots")
  5. get_ipython().run_line_magic('run', '-i fig1.py')
  6. plt.show()
  7. fig1S4mvi = fig1[['trialis', 'rates', 'burstratios',
  8. 'meanrate', 'meanburstratio', 'spars', 'rel']]
  9. print("Calling fig3.py to generate grating plots")
  10. get_ipython().run_line_magic('run', '-i fig3.py')
  11. plt.show()
  12. fig1S4grt = fig3[['trialis', 'rates', 'burstratios',
  13. 'meanrate', 'meanburstratio', 'f1f0', 'phi']]
  14. print('Now save all the figures and the two fig1S4* dataframes')