| | | |
Offset 875, 15 lines modified | Offset 875, 15 lines modified |
875 | } | 875 | } |
876 | </style> | 876 | </style> |
877 | <section·id="Replaying-Parts-of-a-Simulation"> | 877 | <section·id="Replaying-Parts-of-a-Simulation"> |
878 | <h1>Replaying·Parts·of·a·Simulation<a·class="headerlink"·href="#Replaying-Parts-of-a-Simulation"·title="Link·to·this·heading">¶</a></h1> | 878 | <h1>Replaying·Parts·of·a·Simulation<a·class="headerlink"·href="#Replaying-Parts-of-a-Simulation"·title="Link·to·this·heading">¶</a></h1> |
879 | <p>When·simulating·a·bio-realistic·network,·cells·will·recieve·synaptic·stimulation·from·both·locally·recurrent·connections·as-well-as·feedforward·connections·from·external·inputs.·Often·when·analyzing·the·results·of·a·full·network·activity·we·would·like·to·know·the·contribution·of·only·a·subset·of·the·synaptic·activity.·For·example,·how·much·does·the·feedforward·synapses,·or·only·recurrent·synapses·between·specific·population·of·cells,·contributed·to·the·simulation·results.·Certain·techniques, | 879 | <p>When·simulating·a·bio-realistic·network,·cells·will·recieve·synaptic·stimulation·from·both·locally·recurrent·connections·as-well-as·feedforward·connections·from·external·inputs.·Often·when·analyzing·the·results·of·a·full·network·activity·we·would·like·to·know·the·contribution·of·only·a·subset·of·the·synaptic·activity.·For·example,·how·much·does·the·feedforward·synapses,·or·only·recurrent·synapses·between·specific·population·of·cells,·contributed·to·the·simulation·results.·Certain·techniques, |
880 | like·running·with·only·a·subset·of·the·full·network,·or·using·optogenetic/current-clamping·to·turn·on-off·subpoluations,·can·provide·useful·insights·but·also·not·tell·the·full·story·of·a·network·simulation.</p> | 880 | like·running·with·only·a·subset·of·the·full·network,·or·using·optogenetic/current-clamping·to·turn·on-off·subpoluations,·can·provide·useful·insights·but·also·not·tell·the·full·story·of·a·network·simulation.</p> |
881 | <p>Instead·we·can·used·the·BMTK·“replay”·input·module·to·disentangle·subsections·of·a·simulation·activity·from·the·full·network·in·BioNet/biophysically·realistic·simulations.·The·BMTK·“replay”·module·let’s·the·user·take·a·previous·simulation,·and·replay·a·simulation·but·using·only·activity·for·only·a·subset·of·the·synapses.·This·can·be·helpful·in·parameter·tuning·and·optimization,·and·for·very·large·networks·can·provide·an·efficient·manner·to·replay·small·subsets·of·a·full·network.</p> | 881 | <p>Instead·we·can·used·the·BMTK·“replay”·input·module·to·disentangle·subsections·of·a·simulation·activity·from·the·full·network·in·BioNet/biophysically·realistic·simulations.·The·BMTK·“replay”·module·let’s·the·user·take·a·previous·simulation,·and·replay·a·simulation·but·using·only·activity·for·only·a·subset·of·the·synapses.·This·can·be·helpful·in·parameter·tuning·and·optimization,·and·for·very·large·networks·can·provide·an·efficient·manner·to·replay·small·subsets·of·a·full·network.</p> |
882 | <div><p><img·alt="2c82ebb7e9174a1b97bce5f9a5ee4b52"·class="no-scaled-link"·src="_images/disconnected_sim_figure.png"·style="width:·700px;"·/></p> | 882 | <div><p><img·alt="820cffb9c914441cac7fb65ef78615f7"·class="no-scaled-link"·src="_images/disconnected_sim_figure.png"·style="width:·700px;"·/></p> |
883 | </div><div·class="nbinput·nblast·docutils·container"> | 883 | </div><div·class="nbinput·nblast·docutils·container"> |
884 | <div·class="prompt·highlight-none·notranslate"><div·class="highlight"><pre><span></span>[1]: | 884 | <div·class="prompt·highlight-none·notranslate"><div·class="highlight"><pre><span></span>[1]: |
885 | </pre></div> | 885 | </pre></div> |
886 | </div> | 886 | </div> |
887 | <div·class="input_area·highlight-ipython3·notranslate"><div·class="highlight"><pre><span></span>from·bmtk.simulator·import·bionet | 887 | <div·class="input_area·highlight-ipython3·notranslate"><div·class="highlight"><pre><span></span>from·bmtk.simulator·import·bionet |
888 | from·bmtk.analyzer.spike_trains·import·plot_raster | 888 | from·bmtk.analyzer.spike_trains·import·plot_raster |
889 | </pre></div> | 889 | </pre></div> |