mne.minimum_norm.
compute_rank_inverse
Compute the rank of a linear inverse operator (MNE, dSPM, etc.).
inv : dict
The inverse operator.
rank : int
The rank of the inverse operator.