smash.SampleResult.slice#
- SampleResult.slice(end, start=0)[source]#
Slice the
SampleResultobject.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
SampleResultobject sliced according to start and end arguments.