XtractDenoiser#

class ansys.sound.core.xtract.XtractDenoiser(input_signal=None, input_parameters=None)#

Provides signal denoising using the Xtract algorithm.

Class instantiation takes the following parameters.

Parameters:
input_signalFieldsContainer | Field, default: None

One or more signals to denoise as a DPF fields container or field. When inputting a fields container, each signal (each field of the fields container) is processed individually.

input_parametersXtractDenoiserParametersm, default: None

Structure that contains the parameters of the algorithm:

  • Noise PSD (Field): Power spectral density of the noise

This structure is of the XtractDenoiserParameters type. For more information, see this class.

Methods

XtractDenoiser.convert_fields_container_to_np_array(fc)

Convert a DPF fields container to a NumPy array.

XtractDenoiser.get_output()

Get the output of the denoising.

XtractDenoiser.get_output_as_nparray()

Get the output of the denoising as NumPy arrays.

XtractDenoiser.plot()

Plot signals.

XtractDenoiser.process()

Apply denoising.

Attributes