def METHOD_NAME(
    self,
    start_frame: Union[int, None] = None,
    end_frame: Union[int, None] = None,
    channel_indices: Union[List, None] = None,
) -> np.ndarray:
    length = self.memmap_length
    memmap_offset = self.memmap_offset
    memmap_obj = mmap.mmap(self.file.fileno(), length=length, access=mmap.ACCESS_READ, offset=memmap_offset)
    array = np.ndarray.__new__(
        np.ndarray,
        shape=self.shape,
        dtype=self.dtype,
        buffer=memmap_obj,
        order="C",
        offset=self.array_offset,
    )
    if self.time_axis == 1:
        array = array.T
    traces = array[start_frame:end_frame]
    if channel_indices is not None:
        traces = traces[:, channel_indices]
    return traces