gftool.beb.SpecDec.truncate

SpecDec.truncate(rcond=None)gftool.beb.SpecDec[source]

Return the truncated spectral decomposition.

Singular values smaller than rcond times the largest singular values are discarded.

Parameters
rcondfloat, rcond

Cut-off ratio for small singular values.

Returns
truncated_svdSpecDec

The truncates the spectral decomposition discarding small singular values.