Introduction
Developer Guide
Index
Normalise ROI.
Fill in missing .start/.stop, also deal with negative values, which are treated as offsets from the end.
.start/.stop
.step parameter is left unchanged.
.step
Example
np.s_[:3, 4: ], (10, 20) => np.s_[0:3, 4:20] np.s_[:3, :-3], (10, 20) => np.s_[0:3, 0:17]