CreateSoundField#

class ansys.sound.core.signal_utilities.CreateSoundField(data=array([], dtype=float64), sampling_frequency=44100.0, unit='Pa')#

Creates a PyAnsys Sound field.

This class creates a DPF field with correct PyAnsys Sound metadata from a vector.

Methods

CreateSoundField.convert_fields_container_to_np_array(fc)

Convert a DPF fields container to a NumPy array.

CreateSoundField.get_output()

Get the data as a DPF field.

CreateSoundField.get_output_as_nparray()

Get the data as a NumPy array.

CreateSoundField.plot()

Plot the resulting signals in a single figure.

CreateSoundField.process()

Create the PyAnsys Sound field.

Attributes

CreateSoundField.data

Get data.

CreateSoundField.sampling_frequency

Get the sampling frequency.

CreateSoundField.unit

Get the unit.