aiaa#

Classes for importing AIAA Array Benchmarks.

These classes allow importing data from HDF5 files following the specifications of the AIAA microphone array methods benchmarking effort: https://www-docs.b-tu.de/fg-akustik/public/veroeffentlichungen/ArrayMethodsFileFormatsR2P4Release.pdf .

The classes are derived from according Acoular classes so that they can be used directly within the framework.

Examples#

>>> micgeom = MicAIAABenchmark(file='some_benchmarkdata.h5')
>>> timedata = TimeSamplesAIAABenchmark(file='some_benchmarkdata.h5')

TimeSamplesAIAABenchmark

Container for AIAA benchmark data in *.h5 format.

TriggerAIAABenchmark

Container for tacho data in *.h5 format.

CsmAIAABenchmark

Class to load the CSM that is stored in AIAA Benchmark HDF5 file.

MicAIAABenchmark

Provides the geometric arrangement of microphones in the array.

class acoular.aiaa.aiaa.TimeSamplesAIAABenchmark#

Bases: TimeSamples

Container for AIAA benchmark data in *.h5 format.

This class loads measured data from h5 files in AIAA benchmark format and and provides information about this data. Objects of this class behave similar to TimeSamples objects.

class acoular.aiaa.aiaa.TriggerAIAABenchmark#

Bases: TimeSamplesAIAABenchmark

Container for tacho data in *.h5 format.

This class loads tacho data from h5 files as specified in “Microphone Array Benchmark b11: Rotating Point Sources” (https://doi.org/10.14279/depositonce-8460) and and provides information about this data.

class acoular.aiaa.aiaa.CsmAIAABenchmark#

Bases: PowerSpectraImport

Class to load the CSM that is stored in AIAA Benchmark HDF5 file.

file = Union(None, File(filter=['*.h5'], exists=True), desc='name of data file')#

Full name of the .h5 file with data

basename = Property( #

Basename of the .h5 file with data, is set automatically.

num_channels = Property()#

number of channels

h5f = Instance(H5FileBase, transient=True)#

HDF5 file object

digest = Property(depends_on=['basename', '_csmsum'])#

A unique identifier for the CSM importer, based on its properties. (read-only)

fftfreq()#

Return the Discrete Fourier Transform sample frequencies.

Returns:
ndarray

Array of length block_size/2+1 containing the sample frequencies.

class acoular.aiaa.aiaa.MicAIAABenchmark#

Bases: MicGeom

Provides the geometric arrangement of microphones in the array.

In contrast to standard Acoular microphone geometries, the AIAA benchmark format includes the array geometry as metadata in the file containing the measurement data.

file = Union( #

Name of the .h5-file from which to read the data.