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

Iterate over blocks of data, scaled with sensitivity and integer scaling between 0 and 1. More...

Inheritance diagram for lasp.lasp_measurement.IterData:
Collaboration diagram for lasp.lasp_measurement.IterData:

Public Member Functions

 __init__ (self, fa, channels, sensitivity, **kwargs)
 Initialize a BlockIter object.
 
 __next__ (self)
 Return the next block.
 
- Public Member Functions inherited from lasp.lasp_measurement.IterRawData
 __iter__ (self)
 

Public Attributes

 sens
 
- Public Attributes inherited from lasp.lasp_measurement.IterRawData
 fa
 
 i
 
 blocksize
 
 channels
 
 istart
 
 istop
 
 firstblock
 
 lastblock
 
 firstblock_start_offset
 
 lastblock_stop_offset
 

Detailed Description

Iterate over blocks of data, scaled with sensitivity and integer scaling between 0 and 1.

Definition at line 169 of file lasp_measurement.py.

Constructor & Destructor Documentation

◆ __init__()

lasp.lasp_measurement.IterData.__init__ (   self,
  f,
  channels,
  kwargs,
**  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 from lasp.lasp_measurement.IterRawData.

Definition at line 174 of file lasp_measurement.py.

Member Function Documentation

◆ __next__()

lasp.lasp_measurement.IterData.__next__ (   self)

Return the next block.

Reimplemented from lasp.lasp_measurement.IterRawData.

Definition at line 179 of file lasp_measurement.py.

Member Data Documentation

◆ sens

lasp.lasp_measurement.IterData.sens

Definition at line 176 of file lasp_measurement.py.


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