Skip to main content
The following sample code illustrates how to create a simple example.
  • The examples provided below can be found within the ‘Install_Path\Motion\Document\Postprocessor API for Python.zip’ compressed file.

Create a ChartView

This example demonstrates how to create a chart view. Chart view is useful for analyzing simulation results by using a graph which is composed of data points. If you want to know more details about the OperationAPI Namespace included in this example, click the OperationAPI link.

Creating Curves

This example demonstrates how to create a curve. A graph can be added to the activated chart view. For combinations of paths(Characteristic, Component) on the curve, refer to Common Settings in Getting started with the Operation API using Python language.

Simple Math

This example demonstrates how to create a simple math. It is perform addition, subtraction and multiplication between graphs in the chart view. At least two graphs must be selected for the operation.

Transform

This example demonstrates how to create a transform. It is transform graphs through translate, align, scale, and absolute in the chart view.

Interpolation

This example demonstrates how to create a interpolation. It is interpolate graphs with the desired number of data points in the chart view.

Calculus

This example demonstrates how to create a calculus. It is integrate or differentiate graphs in the chart view.

Signal Processing

This example demonstrates how to create a signal processing. It is perform data filtering and smoothing of graphs in the chart view.

FFT

This example demonstrates how to create a fft. It is transform data in the time domain to the frequency domain by using the Fast Fourier Transformation method (FFT) in the chart view.

STFT

This example demonstrates how to create a stft. The short time furrier transformation method(STFT) can transform the data in time domain to the frequency domain. this example describes how to create the STFT.
  • The color map plot is supported through this operation.