neat.SOVTree.get_mode_importance¶
- SOVTree.get_mode_importance(loc_arg=None, sov_data=None, importance_type='simple')[source]¶
Gives the overal importance of the SOV modes for a certain set of locations
- Parameters:
loc_arg (None or list of locations)
sov_data (None or tuple of mode matrices) – One of the keyword arguments
loc_argorsov_datamust not beNone. Ifloc_argis notNone, the importance is evaluated at these locations (seeneat.MorphTree.convert_loc_arg_to_locs()). Ifsov_datais notNone, it is a tuple of a vector of the reciprocals of the mode timescales and a matrix with the corresponding spatial mode functions.importance_type (string ('relative' or 'absolute')) – when ‘absolute’, returns an absolute measure of the importance, when ‘relative’, normalizes so that maximum importance is one. Defaults to ‘relative’.
- Returns:
the importances associated with each mode for the provided set of locations
- Return type:
np.ndarray (ndim = 1)