nnmt.lif.exp._sensitivity_measure_all_eigenmodes

nnmt.lif.exp._sensitivity_measure_all_eigenmodes(effective_connectivity, analysis_frequencies, margin=1e-05)[source]

Calculates the _sensitivity_measure() for each eigenmode.

Identifies the frequency which is closest to complex(1,0) for each eigenvalue trajectory and evaluates the sensitivity measure, as well as its projections on the direction that influences the amplitude and the direction that influences the frequency are calculated.

The results are stored in a dictionary with the eigenvalue index as key and the calculated quantities as values.

Parameters:
effective_connectivitynp.ndarray

Effective connectivity matrix.

analysis_frequenciesnp.ndarray

Analysis frequencies in Hz.

marginfloat

Maximal allowed distance between the eigenvalues of the effective connectivity matrix at two subsequent frequencies.

Returns:
dict

Dictionary of dictionaries containing the sensitivity measure results. The dictionary keys are the eigenvalue indices.