nnmt.lif.exp.transfer_function¶
-
nnmt.lif.exp.
transfer_function
(network, freqs=None, method='shift', synaptic_filter=True)[source]¶ Calculates the transfer function for each population for given frequencies.
Requires the computation of
nnmt.lif.exp.mean_input()
andnnmt.lif.exp.std_input()
first.See
nnmt.lif.exp._transfer_function()
for full documentation.Parameters: - networknnmt.create.Network or child class instance.
Network with the parameters listed in
nnmt.lif.exp._transfer_function()
.- freqsnp.ndarray
Frequencies for which transfer function should be calculated. You can use this if you do not want to use the networks analysis_params.
- method{‘shift’, ‘taylor’}
Method used to calculate the transfer function. Default is ‘shift’.
- synaptic_filterbool
Whether an additional synaptic low pass filter is to be used or not. Default is True.
Returns: - ureg.Quantity(np.array, ‘hertz/millivolt’):
Transfer functions for each population with the following shape: (number of frequencies, number of populations)