def read_voltage(self, start, stop=None, step=1, nframes=1, chan_idx=slice(None), sample_idx=slice(None)):
    start = wrap_check_start(self.shape[0], start)
    if (stop is None):
        stop = (start + (step * nframes))
    else:
        stop = wrap_check_stop(self.shape[0], stop)
    (bstart, strt) = divmod(start, self.nprofiles_per_block)
    end = (stop - 1)
    (bend, nend) = divmod(end, self.nprofiles_per_block)
    stp = (nend + 1)
    return self._read_from_blocks(bstart, strt, bend, stp, step, chan_idx, sample_idx)
def read_voltage(self, start, stop=None, step=1, nframes=1, chan_idx=slice(None), sample_idx=slice(None)):
    start = wrap_check_start(self.shape[0], start)
    if (stop is None):
        stop = (start + (step * nframes))
    else:
        stop = wrap_check_stop(self.shape[0], stop)
    (bstart, strt) = divmod(start, self.nprofiles_per_block)
    end = (stop - 1)
    (bend, nend) = divmod(end, self.nprofiles_per_block)
    stp = (nend + 1)
    return self._read_from_blocks(bstart, strt, bend, stp, step, chan_idx, sample_idx)