LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp.lasp_measurement.IterRawData Class Reference

Iterate over stored blocks if the raw measurement data of a h5 file. More...

Inheritance diagram for lasp.lasp_measurement.IterRawData:

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
 

Detailed Description

Iterate over stored blocks if the raw measurement data of a h5 file.

Definition at line 96 of file lasp_measurement.py.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ __iter__()

lasp.lasp_measurement.IterRawData.__iter__ (   self)

Definition at line 140 of file lasp_measurement.py.

◆ __next__()

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.

Member Data Documentation

◆ blocksize

lasp.lasp_measurement.IterRawData.blocksize

Definition at line 116 of file lasp_measurement.py.

◆ channels

lasp.lasp_measurement.IterRawData.channels

Definition at line 118 of file lasp_measurement.py.

◆ fa

lasp.lasp_measurement.IterRawData.fa

Definition at line 111 of file lasp_measurement.py.

◆ firstblock

lasp.lasp_measurement.IterRawData.firstblock

Definition at line 123 of file lasp_measurement.py.

◆ firstblock_start_offset

lasp.lasp_measurement.IterRawData.firstblock_start_offset

Definition at line 128 of file lasp_measurement.py.

◆ i

lasp.lasp_measurement.IterRawData.i

Definition at line 112 of file lasp_measurement.py.

◆ istart

lasp.lasp_measurement.IterRawData.istart

Definition at line 120 of file lasp_measurement.py.

◆ istop

lasp.lasp_measurement.IterRawData.istop

Definition at line 121 of file lasp_measurement.py.

◆ lastblock

lasp.lasp_measurement.IterRawData.lastblock

Definition at line 124 of file lasp_measurement.py.

◆ lastblock_stop_offset

lasp.lasp_measurement.IterRawData.lastblock_stop_offset

Definition at line 136 of file lasp_measurement.py.


The documentation for this class was generated from the following file: