Filters

A class that provides methods to apply mathematical Filters (like Butterworth and SAE filters) to a dataset object. All filters throw an InvalidOperationException when an invalid dataset is passed in as an input. An invalid dataset could be null dataset reference, dataset with either of the x or values list empty or dataset with a mismatch in the size of its x and y values list.

Declaration Syntax

public static class Filters

Table 75: Members

Method

Butterworth(Dataset2D, Quantity)

Applies Butterworth filter on the given dataset at the given cutoff frequency and returns the result as a new dataset. This is comparable to the native Butterworth filter for Solution Information tracker results. An InvalidOperationException is thrown if the inputs are incorrect. Invalid inputs comprise of an invalid dataset or a cutoff frequency out of valid range (negative or exceeding the maximum cutoff frequency possible for that dataset. The Maximum Cutoff Frequency for a particular dataset can be queried using the GetMaximumCutoffFrequency method in the Ansys.Mechanical.DataModel.Utilities.Dataset.Helpers namespace).

Method

ButterworthLSPP(Dataset2D, Quantity)

Applies Butterworth filter on the given dataset at the given cutoff frequency and returns the result as a new dataset. This is comparable to the Butterworth filter provided by LSPrePost. An InvalidOperationException is thrown if the inputs are incorrect. Invalid inputs comprise of an invalid dataset or a cutoff frequency out of valid range (negative or exceeding the maximum cutoff frequency possible for that dataset. The Maximum Cutoff Frequency for a particular dataset can be queried using the GetMaximumCutoffFrequency method in the Ansys.Mechanical.DataModel.Utilities.Dataset.Helpers namespace).

Method

SAE(Dataset2D, Quantity)

Applies SAE filter on the given dataset at the given cutoff frequency and returns the result as a new dataset. An InvalidOperationException is thrown if the inputs are incorrect. Invalid inputs comprise of an invalid dataset or a cutoff frequency out of valid range (negative or exceeding the maximum cutoff frequency possible for that dataset. The Maximum Cutoff Frequency for a particular dataset can be queried using the GetMaximumCutoffFrequency method in the Ansys.Mechanical.DataModel.Utilities.Dataset.Helpers namespace).