fips.Space.slice#

Space.slice(block)[source]#

Return the positions of block in index, as a slice.

Parameters:

block (str) – The name of a block; a name that is not a string is compared as one, as the space keeps it (0 is block "0").

Returns:

index[space.slice(block)] are the block’s labels.

Return type:

slice