CropSignal#

class ansys.sound.core.signal_utilities.CropSignal(signal=None, start_time=0.0, end_time=0.0)#

Crops a signal.

Methods

CropSignal.convert_fields_container_to_np_array(fc)

Convert a DPF fields container to a NumPy array.

CropSignal.get_output()

Get the cropped signal as a DPF fields container.

CropSignal.get_output_as_nparray()

Get the cropped signal as a NumPy array.

CropSignal.plot()

Plot the resulting signals in a single figure.

CropSignal.process()

Crop the signal.

Attributes

CropSignal.end_time

End time.

CropSignal.signal

Signal.

CropSignal.start_time

Start time.