smash.SampleResult.slice#

SampleResult.slice(end, start=0)[source]#

Slice the SampleResult object.

The attribute arrays are sliced along a user-specified start and end index.

Parameters:
endint

The end index of the slice.

startint, default 0

The start index of the slice. Must be lower than end.

Returns:
resSampleResult

The SampleResult object sliced according to start and end arguments.