> ## 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 IOperationsFFTLineDataSeriesViewModel

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

Represents a view model for the fft line data series.

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

## Properties

### End

Gets or sets the end time for using FFT on the target data series.

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

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

#### Examples

The following example demonstrates how to use the `End` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ()
curvePaths.Add(r'Displacement/Magnitude')
curvePaths.Add(r'Acceleration/Magnitude')
# Set a Curve Parameter
parameters = PlotParameters()
parameters.Paths = curvePaths
parameters.Target = "BD_001"
curves = chart.AddCurves(filepath, parameters)
fft = chart.CreateFFT(curves, FFTType.Magnitude, FFTWindowType.Rectangular, ScaleType.Original, 128, 0, 1.0);
fft.End = 1;
```

#### Remarks

Use this property to specify or retrieve the end time for performing FFT on the target data series.

### FFTScaleType

Gets or sets the scale type of FFT.

```csharp theme={null}
ScaleType FFTScaleType { get; set; }
```

#### Property Value

ScaleType

#### Examples

The following example demonstrates how to use the `FFTScaleType` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ()
curvePaths.Add(r'Displacement/Magnitude')
curvePaths.Add(r'Acceleration/Magnitude')
# Set a Curve Parameter
parameters = PlotParameters()
parameters.Paths = curvePaths
parameters.Target = "BD_001"
curves = chart.AddCurves(filepath, parameters)
fft = chart.CreateFFT(curves, FFTType.Magnitude, FFTWindowType.Rectangular, ScaleType.Original, 128, 0, 1.0);
fft.FFTScaleType = ScaleType.Decibel;
```

#### Remarks

Use this property to specify or retrieve the scale type for FFT.
The supported types are:
<ul><li>Decibel</li><li>Logarithm</li><li>Original</li></ul>

### FFTType

Gets or sets the type of FFT.

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

#### Property Value

FFTType

#### Examples

The following example demonstrates how to use the `FFTType` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ()
curvePaths.Add(r'Displacement/Magnitude')
curvePaths.Add(r'Acceleration/Magnitude')
# Set a Curve Parameter
parameters = PlotParameters()
parameters.Paths = curvePaths
parameters.Target = "BD_001"
curves = chart.AddCurves(filepath, parameters)
fft = chart.CreateFFT(curves, FFTType.Magnitude, FFTWindowType.Rectangular, ScaleType.Original, 128, 0, 1.0);
fft.FFTType = FFTType.Phase;
```

#### Remarks

Use this property to specify or retrieve the type of FFT.
The supported types are:
<ul><li>Magnitude</li><li>Phase</li></ul>

### FFTWindowType

Gets or sets the window type of FFT.

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

#### Property Value

FFTWindowType

#### Examples

The following example demonstrates how to use the `FFTWindowType` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ()
curvePaths.Add(r'Displacement/Magnitude')
curvePaths.Add(r'Acceleration/Magnitude')
# Set a Curve Parameter
parameters = PlotParameters()
parameters.Paths = curvePaths
parameters.Target = "BD_001"
curves = chart.AddCurves(filepath, parameters)
fft = chart.CreateFFT(curves, FFTType.Magnitude, FFTWindowType.Rectangular, ScaleType.Original, 128, 0, 1.0);
fft.FFTWindowType = FFTWindowType.Triangular;
```

#### Remarks

Use this property to specify or retrieve the window type for FFT.
The supported types are:
<ul><li>Bartlett</li><li>BlackMan</li><li>Hamming</li><li>Hanning</li><li>None</li><li>Rectangular</li><li>Triangular</li><li>Welch</li></ul>

### SelectedPoints

Gets or sets the number of data points for FFT.

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

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Examples

The following example demonstrates how to use the `SelectedPoints` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ()
curvePaths.Add(r'Displacement/Magnitude')
curvePaths.Add(r'Acceleration/Magnitude')
# Set a Curve Parameter
parameters = PlotParameters()
parameters.Paths = curvePaths
parameters.Target = "BD_001"
curves = chart.AddCurves(filepath, parameters)
fft = chart.CreateFFT(curves, FFTType.Magnitude, FFTWindowType.Rectangular, ScaleType.Original, 128, 0, 1.0);
fft.SelectedPoints = 512;
```

#### Remarks

Use this property to specify or retrieve the number of data points to be used for FFT.

### Start

Gets or sets the start time for using FFT on the target data series.

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

#### Property Value

[double](https://learn.microsoft.com/dotnet/api/system.double)

#### Examples

The following example demonstrates how to use the `Start` property:

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ()
curvePaths.Add(r'Displacement/Magnitude')
curvePaths.Add(r'Acceleration/Magnitude')
# Set a Curve Parameter
parameters = PlotParameters()
parameters.Paths = curvePaths
parameters.Target = "BD_001"
curves = chart.AddCurves(filepath, parameters)
fft = chart.CreateFFT(curves, FFTType.Magnitude, FFTWindowType.Rectangular, ScaleType.Original, 128, 0, 1.0);
fft.Start = 0.01;
```

#### Remarks

Use this property to specify or retrieve the start time for performing FFT on the target data series.
