triqs.gfs.block_gf.BlockGf.view_selected_blocks

BlockGf.view_selected_blocks(selected_blocks)[source]

Return a new BlockGf containing views of the named blocks.

Parameters:
selected_blockssequence of str

Block names to expose. Must all exist in self.

Returns:
BlockGf

New container holding view-references to the requested blocks, in their original order.