About generating .h5 files using own time domain data

74 views
Skip to first unread message

afan

unread,
Oct 28, 2020, 11:00:53 PM10/28/20
to Acoular-users
Hi alls
I am using my own experimental data for beamforming. When I converted the collected time domain data into .h5 format and brought it in. The following error will be triggered: ValueError("%i channels do not fit %i mics"% (numchannels, self.steer.mics.num_mics)). 
Did I miss any steps when generating the h5 file?

Gert Herold

unread,
Oct 29, 2020, 3:17:27 AM10/29/20
to Acoular-users
This depends on the design of your h5 data structure. You have to have an array "time_data" in the h5 file, which has numsamples x numchannels entries. Also, the number (and order) of channels has to be the same as in your mic geometry, so that Acoular can map one to the other. If necessary, you can use a MaskedTimeSamples object to exclude some channels.
Reply all
Reply to author
Forward
0 new messages