triqs_modest.embedding.Embedding.drop

Embedding.drop()

Dispatched C++ function(s).

[1] (imp_idx: int)
  -> Embedding

Remove an impurity from the embedding table \(\psi\).

Remove the impurity imp_idx, map the corresponding \(\alpha\) blocks to -1 (i.e. no longer connected to an impurity) and relabel the other impurities with a number > imp_idx.

Parameters:
imp_idxint

Index of the impurity to remove from the table \(\psi\).

Returns:
Embedding

New embedding with the updated \(\psi\) map.