loupe.slice# class loupe.slice(x, slc)[source]# Return a slice of the input array. Parameters: x (array_like) – Input array slc (slice) – Python slice object Returns: out – Slice of x Return type: Function Notes array.__getitem__() is aliased to slice, allowng slices to be created using the familiar Python [] notation.