Acoular 25.01 documentation

WriteH5

«  WriteWAV   ::   tprocess   ::   TimeConvolve  »

WriteH5

class acoular.tprocess.WriteH5

Bases: TimeOut

Saves time signal as *.h5 file.

save()

Saves source output to *.h5 file.

add_metadata(f5h)

Adds metadata to .h5 file.

result(num)

Python generator that saves source output to *.h5 file and yields the source output block-wise.

Parameters:
numinteger

This parameter defines the size of the blocks to be yielded (i.e. the number of samples per block).

Returns:
Samples in blocks of shape (num, num_channels).

The last block may be shorter than num. Echos the source output, but reads it from cache when available and prevents unnecessary recalculation.

«  WriteWAV   ::   tprocess   ::   TimeConvolve  »