slice_sequence

ndcube.utils.sequence.slice_sequence(cubesequence, item)[source] [edit on github]

Slice an NDCubeSequence given a slicing/index item.

Parameters
Returns

result (NDCubeSequence or NDCube) – The sliced cube sequence.