nnmt.lif.exp.power_spectra

nnmt.lif.exp.power_spectra(network)[source]

Calcs vector of power spectra for all populations at given frequencies.

See: Eq. 18 in Bos et al. [2016].

Requires computation of nnmt.lif.exp.working_point() and nnmt.lif.exp.effective_connectivity() first.

See nnmt.lif.exp._power_spectra() for full documentation.

Parameters:
networknnmt.models.Network or child class instance.

Network with the network parameters and previously calculated results.

Returns:
np.ndarray

Power spectrum in Hz. Shape: (len(freqs), len(populations)).