> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IOperationsSignalProcessingLineDataSeriesViewModel

Namespace: [VM.Operations.Post.Interfaces](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces)\
Assembly: VM.Operations.Post.dll

Represents a view model for the signalprocessing line data series.

```csharp theme={null}
public interface IOperationsSignalProcessingLineDataSeriesViewModel
```

## Examples

For an example that includes information about interfaces, see this example.
To view the examples, refer to the location of the 'Install\_Path\Motion\Document\Postprocessor API for Python.zip' file.

```python theme={null}
# IOperationsSignalProcessingLineDataSeriesViewModel.py
import sys

# Get the current file's path and set the path for external modules.
current_dir = __file__.rsplit('\\', 1)[0]
external_modules_path = current_dir + '\\..\\..\\Modules'
sys.path.append(external_modules_path)

# Import necessary modules
from OperationAPI import *

# Start the headless application interface
applicationHandler = ApplicationHandler()

# Import result file
result_file_path = get_result_file_path()

# Set array about result file
filepaths = List[str]()
filepaths.Add(result_file_path)

# Open about result files
# This will open the result file in the application.
# When the result is first opened, a Page is created and an Animation View is created on that Page.
applicationHandler.AddDocument(filepaths)

# Get Active Page
# This retrieves the currently active page in the application.
page = applicationHandler.GetActivePage()

# Creating a Chart
# Create a new Chart View on the page
# This will create a new chart view with the specified name.
chartView = page.CreateChart("Chart")

# Set array about combination of characteristic and component
curvePaths = List[str]()
curvePaths.Add(r'Displacement/Magnitude')

# Create a PlotParameters object to specify the parameters for the plot.
# Set the Entity to Plot.
# The Target is the name of the target for which you want to retrieve the curves.
# Set the paths for the curves you want to retrieve.
# This is where you specify the characteristics and components you want to plot.
parameters = PlotParameters()
parameters.Paths = curvePaths
parameters.Target = "Crank"

# Add Curves (FilePath, Curve Parameter)
# FilePath - The path of the result to access.
# parameters - The class used as a parameter of the AddCurve function.
# The instance of the curve.
curves = chartView.AddCurves(result_file_path, parameters)

# Documentation Example
# Signal Processing
# SeriesName - A list of curve names.
# FilteringType - The types of the filter are as follows.
# Order - As decreasing value, output would be more smooth.
# Cut off Frequency(Hz) (Low Cut off Frequency(Hz)) - The value of frequency1.
# High Cut off Frequency(Hz) - The value of frequency2.
filtering = chartView.CreateFiltering(curves, FilteringType.LowPass, 2, 100, 100)
filtering[0].Order = 5
if filtering[0].FilteringType == FilteringType.LowPass:
    filtering[0].CutOffFrequency = 200
elif filtering[0].FilteringType == FilteringType.HighPass:
    filtering[0].CutOffFrequency = 200
elif filtering[0].FilteringType == FilteringType.BandPass:
    filtering[0].LowCutOffFrequency = 200
    filtering[0].HighCutOffFrequency = 200
elif filtering[0].FilteringType == FilteringType.BandStop:
    filtering[0].LowCutOffFrequency = 200
    filtering[0].HighCutOffFrequency = 200

# Signal Processing - Smoothing
# SeriesName - A list of curve names.
# SmoothingType - The types of the sommthing are as follows.
# PointsOfWindow - The number of points for window.
# PolyOrder - The value of polyOrder.
smoothing = chartView.CreateSmoothing(curves, SmoothingType.MovingWindowAveraging, 2, 2)
if smoothing[0].SmoothingType == SmoothingType.MovingWindowAveraging:
    smoothing[0].PointsOfWindow = 4
elif smoothing[0].SmoothingType == SmoothingType.SavitzkyGloay:
    smoothing[0].PointsOfWindow = 4
    smoothing[0].PolynomialOrder = 3

# Signal Processing - FrequencyWeighting
# SeriesName - # SeriesName - A list of curve names.
# WeightingType - The types of the weighting are as follows.
# AxisType - The types of the axis are as follows. chartView.CreateFrequencyWeighting(series, WeightingType.AWeighting, FrequencyAxisType.X)
frequencyWeight = chartView.CreateFrequencyWeighting(curves, WeightingType.AWeighting, FrequencyAxisType.X)
frequencyWeight[0].WeightingType = WeightingType.BWeighting
frequencyWeight[0].FrequencyAxisType = FrequencyAxisType.Y

# Close the Pages
page.Close()

# Close the Document
applicationHandler.CloseDocument(result_file_path)
```

## Properties

### CutOffFrequency

Gets or sets the value of the cut-off frequency.

```csharp theme={null}
double CutOffFrequency { get; set; }
```

#### Property Value

double

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the value of the cut-off frequency.

### FilteringType

Gets or sets the filtering type of signal processing.

```csharp theme={null}
FilteringType FilteringType { get; set; }
```

#### Property Value

FilteringType

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the filtering type of signal processing.
The supported types are:
<ul><li>LowPass</li><li>HighPass</li><li>BandPass</li><li>BandStop</li></ul>

### FrequencyAxisType

Gets or sets the type of frequency axis.

```csharp theme={null}
FrequencyAxisType FrequencyAxisType { get; set; }
```

#### Property Value

FrequencyAxisType

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the type of frequency axis.
The supported types are:
<ul><li>X</li><li>Y</li></ul>

### HighCutOffFrequency

Gets or sets the value of the high cut-off frequency.

```csharp theme={null}
double HighCutOffFrequency { get; set; }
```

#### Property Value

double

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the value of the high cut-off frequency.

### LowCutOffFrequency

Gets or sets the value of the low cut-off frequency.

```csharp theme={null}
double LowCutOffFrequency { get; set; }
```

#### Property Value

double

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the value of the low cut-off frequency.

### Order

Gets or sets the order of the filter, which represents the points of the window.

```csharp theme={null}
int Order { get; set; }
```

#### Property Value

int

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the order of the filter, which determines the points of the window.

### PointsOfWindow

Gets or sets the points of the window.

```csharp theme={null}
int PointsOfWindow { get; set; }
```

#### Property Value

int

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the points of the window.

### PolynomialOrder

Gets or sets the value of the polynomial order.

```csharp theme={null}
int PolynomialOrder { get; set; }
```

#### Property Value

int

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the value of the polynomial order.

### SignalProcessingType

Gets or sets the type of signal processing.

```csharp theme={null}
SignalProcessingType SignalProcessingType { get; set; }
```

#### Property Value

SignalProcessingType

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the type of signal processing.
The supported types are:
<ul><li>Filtering</li><li>Smoothing</li><li>FrequencyWeighting</li></ul>

### SmoothingType

Gets or sets the type of smoothing.

```csharp theme={null}
SmoothingType SmoothingType { get; set; }
```

#### Property Value

SmoothingType

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the type of smoothing.
The supported types are:
<ul><li>MovingWindowAveraging</li><li>SavitzkyGloay</li></ul>

### WeightingType

Gets or sets the type of weighting.

```csharp theme={null}
WeightingType WeightingType { get; set; }
```

#### Property Value

WeightingType

#### Examples

For an example that includes this property, see the [Interface IOperationsSignalProcessingLineDataSeriesViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/lib/VM.Operations.Post.Interfaces.IOperationsSignalProcessingLineDataSeriesViewModel.md).

#### Remarks

Use this property to specify or retrieve the type of weighting.
The supported types are:
<ul><li>AWeighting</li><li>BWeighting</li><li>CWeighting</li></ul>
