https://github.com/NikVard/memstim-hh
Tip revision: 45068319614cc7f64e2e022af696841ecb589828 authored by NikVard on 15 September 2023, 16:15:46 UTC
[REVISION] added scripts with proper names for figure generation
[REVISION] added scripts with proper names for figure generation
Tip revision: 4506831
filter_equations.py
"""
--------------------------------------------------------------------------------
Date: 11/10/2021
@author: Nikolaos Vardalakis
--------------------------------------------------------------------------------
Implementation Notes
--------------------------------------------------------------------------------
| 1: The simplest (dumbest) way to get the firing rate of a population of neurons is to low-pass filter the spikes it produces. Thus, we will be using a neuron group as a real-time exponential filter to get the firing rate; this implementation is condoned by @adam and @mstimberg here: https://brian.discourse.group/t/how-can-i-get-the-population-firing-rate-from-a-spiking-hh-network-during-simulation/496
| 2: A demo of this approach is shown in the jupyter notebook 'feedback.ipynb'
"""
# Spikes-2-Rates
firing_rate_filter_eqs = '''
dY/dt = -Y/tauFR : 1/second
drive = Y/Hz : 1
'''
