pytc.solver.bug_core.rank_cut¶
- pytc.solver.bug_core.rank_cut(lam, tau, rule='relative', e=None, rmin=1, max_rank=None)[source]¶
(order, r): core modes by decreasing weight and how manyrulekeeps.The weight is
|lam|(cut attau * max|lam|ortau) or, for'energy', the energy share|e|(cut attau); seetruncate_sym().- Parameters:
tau (float)
rule (str)
rmin (int)
max_rank (int | None)