cr.sparse.nonzero_dynamic_range

cr.sparse.nonzero_dynamic_range(x)[source]

Returns the ratio of largest and smallest non-zero values (by magnitude) in x (dB)