LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp.lasp_measurementset.MeasurementSet Class Reference

Group of measurements that have some correspondence to one another. More...

Inheritance diagram for lasp.lasp_measurementset.MeasurementSet:
Collaboration diagram for lasp.lasp_measurementset.MeasurementSet:

Public Member Functions

 __init__ (self, List[Measurement] mlist=[])
 Initialize a measurement set.
 
 measTimeSame (self)
 Returns True if all measurements have the same measurement time (recorded time)
 
 measSimilar (self)
 Similar means: channel metadata is the same, and the measurement time is the same.
 
 measChannelsSame (self)
 This method is used to check whether a set of measurements can be accessed in a loop, i.e.
 

Detailed Description

Group of measurements that have some correspondence to one another.

Class is used to operate on multiple measurements at once.

Definition at line 11 of file lasp_measurementset.py.

Constructor & Destructor Documentation

◆ __init__()

lasp.lasp_measurementset.MeasurementSet.__init__ (   self,
List[Measurement]   mlist = [] 
)

Initialize a measurement set.

Args: mlist: Measurement list

Definition at line 17 of file lasp_measurementset.py.

Member Function Documentation

◆ measChannelsSame()

lasp.lasp_measurementset.MeasurementSet.measChannelsSame (   self)

This method is used to check whether a set of measurements can be accessed in a loop, i.e.

for computing power spectra or sound levels on a set of measurements, simultaneously. If the channel data is the same (name, sensitivity, ...) it returns True.

Definition at line 54 of file lasp_measurementset.py.

◆ measSimilar()

lasp.lasp_measurementset.MeasurementSet.measSimilar (   self)

Similar means: channel metadata is the same, and the measurement time is the same.

It means that the recorded data is, of course, different.

Returns: True if measChannelsSame() and measTimeSame() else False

Definition at line 42 of file lasp_measurementset.py.

◆ measTimeSame()

lasp.lasp_measurementset.MeasurementSet.measTimeSame (   self)

Returns True if all measurements have the same measurement time (recorded time)

Definition at line 30 of file lasp_measurementset.py.


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