## Frequency response function

The basics of how to develop, test, and use models.
plasticity
Posts: 12
Joined: Fri Oct 19, 2018 3:09 pm

### Frequency response function

Hi

I am new to NEURON. Does it have a means for calculating the frequency response function between input (injected curren) and output (membrane potential) sites for subthreshold stimuli using a linear model?

Thank you!

ted
Posts: 5651
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

### Re: Frequency response function

Does it have a means for calculating the frequency response function between input (injected curren) and output (membrane potential) sites for subthreshold stimuli using a linear model?
I don't think your question has an answer. What does it mean to talk about the frequency of a cell's response to a subthreshold input? By definition, a subthreshold input elicits no spikes. If a stimulus fails to make a cell fire spikes, how can one speak of the frequency of the stimulated cell's response? Besides, if the cell fires no spikes, then none of that cell's targets will ever know that it received an input.

plasticity
Posts: 12
Joined: Fri Oct 19, 2018 3:09 pm

### Re: Frequency response function

Ted

Subthreshold systems are often described by linearized equations. At steady state they will oscillating at the driving frequency of the input current. No spikes are produced. The Fourier transform of the response is called the frequency response of the system.

ted
Posts: 5651
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

### Re: Frequency response function

An interesting example of miscommunication. I've been thinking a lot about spiking networks lately, so I'm "stuck on spikes"--when I think of a cell's "frequency response" to an input, or the "output" that it might generate in response to an input, what comes to mind is F-I curves, and that implies spiking. So much for that.

NEURON's Impedance class will do what you want. In particular, you'll want to use it to compute transfer impedance. Read about the Impedance class in the Programmer's Reference, and especially the details about its compute() method.

NEURON has a GUI tool that can be used to compute impedances. Very nice for interactive use, especially with anatomically complex models, as a way to tune up ones intuition. For a tutorial on how to use it, download
https://www.neuron.yale.edu/ftp/neuron/ ... course.zip
unzip it, then
cd course/impedance_class
and finally use a web browser to examine impedance_class.html

If you have a model that does not play nicely with Impedance.compute(), you might find it useful to use izap--see
https://www.neuron.yale.edu/ftp/ted/neuron/izap.zip

plasticity
Posts: 12
Joined: Fri Oct 19, 2018 3:09 pm

### Re: Frequency response function

Thanks Ted

I will be taking a look very soon. This is great!

Yep, I figured you had spikes on your mind hence my gentle nudge back toward the subthreshold and linear systems.