LASP 1.0
Library for Acoustic Signal Processing
|
Iterate over stored blocks if the raw measurement data of a h5 file. More...
Public Member Functions | |
__init__ (self, f, channels, **kwargs) | |
Initialize a BlockIter object. | |
__iter__ (self) | |
__next__ (self) | |
Return the next block. | |
Public Attributes | |
fa | |
i | |
blocksize | |
channels | |
istart | |
istop | |
firstblock | |
lastblock | |
firstblock_start_offset | |
lastblock_stop_offset | |
Iterate over stored blocks if the raw measurement data of a h5 file.
Definition at line 96 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.__init__ | ( | self, | |
f, | |||
channels, | |||
** | kwargs | ||
) |
Initialize a BlockIter object.
Args: f: Audio dataset in the h5 file, accessed as f['audio'] channels: list of channel indices to use istart: index of first sample istop: index of last sample (not including istop)
Reimplemented in lasp.lasp_measurement.IterData.
Definition at line 99 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.__iter__ | ( | self | ) |
Definition at line 140 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.__next__ | ( | self | ) |
Return the next block.
Reimplemented in lasp.lasp_measurement.IterData.
Definition at line 143 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.blocksize |
Definition at line 116 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.channels |
Definition at line 118 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.fa |
Definition at line 111 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.firstblock |
Definition at line 123 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.firstblock_start_offset |
Definition at line 128 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.i |
Definition at line 112 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.istart |
Definition at line 120 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.istop |
Definition at line 121 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.lastblock |
Definition at line 124 of file lasp_measurement.py.
lasp.lasp_measurement.IterRawData.lastblock_stop_offset |
Definition at line 136 of file lasp_measurement.py.