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

Classes

class  IterData
 Iterate over blocks of data, scaled with sensitivity and integer scaling between 0 and 1. More...
 
class  IterRawData
 Iterate over stored blocks if the raw measurement data of a h5 file. More...
 
class  Measurement
 Provides access to measurement data stored in the h5 measurement file format. More...
 

Functions

 getSampWidth (dtype)
 Returns the width of a single sample in bytes.
 
 scaleBlockSens (block, sens)
 Scale a block of raw data to return raw acoustic pressure data.
 

Function Documentation

◆ getSampWidth()

lasp.lasp_measurement.getSampWidth (   dtype)

Returns the width of a single sample in bytes.

Args: dtype: numpy dtype

Returns: Size of a sample in bytes (int)

Definition at line 59 of file lasp_measurement.py.

◆ scaleBlockSens()

lasp.lasp_measurement.scaleBlockSens (   block,
  sens 
)

Scale a block of raw data to return raw acoustic pressure data.

Args: block: block of raw data with integer data type sens: array of sensitivity coeficients for each channel.

Definition at line 78 of file lasp_measurement.py.