nnmt.binary.balanced_threshold¶
-
nnmt.binary.balanced_threshold(network, m_exp)[source]¶ Calculate threshold equal to input given expected mean activity (balance).
See
nnmt.binary._balanced_threshold()for full documentation.Parameters: - networknnmt.models.Network or child class instance.
Network with the network parameters listed in the docstring of
nnmt.binary._balanced_threshold().- m_exparray
Expected mean activity for each population.
Returns: - array
Balanced threshold for each population.