scqubits.core.namedslots_array.convert_to_std_npindex¶
- scqubits.core.namedslots_array.convert_to_std_npindex(index_tuple, parameters)[source]¶
converts name-based and value-based indexing to standard numpy indexing
- Parameters:
index_tuple (
Tuple[Union[int,integer,slice,Tuple[int],List[int],Tuple[int,integer],List[integer],Any,float,complex],...]) – the indexing object to be convertedparameters (
Parameters) – records the parameters associated with the indices
- Return type:
Tuple[Union[int,integer,slice,Tuple[int],List[int],Tuple[int,integer],List[integer],Any],...]- Returns:
standard numpy index tuple