runJODLInt1DLInt2Multiple.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. from JODLInt1DLInt2 import runJODLInt1DLInt2
  2. from brian2 import units
  3. simSettleTime = 600 * units.ms
  4. # simStepSize = 0.1 * units.ms
  5. # simDuration = 150 * units.ms
  6. # inputParsNames = [
  7. # 'onePulse',
  8. # 'twoPulse',
  9. # 'threePulse',
  10. # "tenMSPulse",
  11. # "twentyMSPulse",
  12. # "thirtyMSPulse",
  13. # "fortyMSPulse",
  14. # ]
  15. # showBefore = 50 * units.ms
  16. # showAfter = 50 * units.ms
  17. # simStepSize = 0.1 * units.ms
  18. # simDuration = 450 * units.ms
  19. # inputParsNames = [
  20. # "pTShortInt20Dur10",
  21. # "pTShortInt20Dur16",
  22. # "pTShortInt33Dur10",
  23. # "pTShortInt33Dur16",
  24. # "pTShortInt33Dur20",
  25. # "pTShortInt50Dur10",
  26. # "pTShortInt50Dur16",
  27. # "pTShortInt50Dur20",
  28. # "pTShortInt100Dur10",
  29. # "pTShortInt100Dur16",
  30. # "pTShortInt100Dur20",
  31. # ]
  32. # showBefore = 100 * units.ms
  33. # showAfter = 100 * units.ms
  34. simStepSize = 0.1 * units.ms
  35. simDuration = 1500 * units.ms
  36. inputParsNames = [
  37. 'oneSecondPulse',
  38. # 'pulseTrainInt33Dur10',
  39. # 'pulseTrainInt33Dur16',
  40. # 'pulseTrainInt20Dur10',
  41. # 'pulseTrainInt20Dur16',
  42. # 'pulseTrainInt50Dur10',
  43. # 'pulseTrainInt50Dur16',
  44. # 'pulseTrainInt50Dur20',
  45. ]
  46. showBefore = 500 * units.ms
  47. showAfter = 500 * units.ms
  48. DLInt1ModelProps = "DLInt1Aynur"
  49. DLInt2ModelProps = "DLInt2Try2"
  50. DLInt1SynapsePropsE = 'DLInt1_syn_try2_e'
  51. # DLInt1SynapsePropsE = ""
  52. DLInt1SynapsePropsI = 'DLInt1_syn_try2_i'
  53. # DLInt1SynapsePropsI = ""
  54. DLInt2SynapseProps = 'DLInt2_syn_try2'
  55. # DLInt2SynapseProps = ""
  56. DLInt1DLInt2SynProps = "DLInt1_DLInt2_try1"
  57. # DLInt1DLInt2SynProps = ""
  58. for inputParsName in inputParsNames:
  59. runJODLInt1DLInt2(simStepSize, simDuration, simSettleTime,
  60. inputParsName, showBefore, showAfter,
  61. DLInt1ModelProps, DLInt2ModelProps,
  62. DLInt1SynapsePropsE, DLInt1SynapsePropsI,
  63. DLInt2SynapseProps, DLInt1DLInt2SynProps,
  64. askReplace=False
  65. )