Skip to main content
Version: 0.0.0

Description

Computes the fitting curve using FFT filtering and cubic fitting in space (node i: x=time, y=data), with the possibility to compute the first and the second derivatives of the curve.

Inputs

This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.

time_scoping (Pin 0)

A time scoping to rescope / split the fields container given as input.

mesh_scoping (Pin 1)

A space (mesh entities) scoping (or scopings container) to rescope / split the fields container given as input.

entity_to_fit (Pin 2)

Data changing in time to be fitted.

component_number (Pin 3)

  • Required: Yes
  • Expected type(s): int32
Component number as an integer, for example ‘0’ for X-displacement, ‘1’ for Y-displacement, and so on.

first_derivative (Pin 4)

  • Required: Yes
  • Expected type(s): bool
Calculate the first derivative (bool). The default is false.

second_derivative (Pin 5)

  • Required: Yes
  • Expected type(s): bool
Calculate the second derivative (bool). The default is false.

fit_data (Pin 6)

  • Required: Yes
  • Expected type(s): bool
Calculate the fitted values (bool). The default is false

cutoff_fr (Pin 7)

Cutoff frequency.

Outputs

This table lists the output pins for this operator. Output pins provide the results of the operator’s computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.

fitted_entity_y (Pin 0)

The fitted entity is fitted using FFT along the space scoping (node i: x=time, y=data). Fitted Y is expected to be close to the input data.

first_der_dy (Pin 1)

The first derivative (dY) from the fitted Y.

second_der_d2y (Pin 2)

The second derivative (d2Y) from the fitted Y.

Configurations

This operator supports configuration options that modify its behavior.

mutex

  • Expected type(s): bool
  • Default value: false
If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

num_threads

  • Expected type(s): int32
  • Default value: 0
Number of threads to use to run in parallel

run_in_parallel

  • Expected type(s): bool
  • Default value: true
Loops are allowed to run in parallel if the value of this config is set to true.

Scripting

This operator can be accessed through scripting interfaces using these identifiers. Category: math Plugin: core Scripting name: fft_approx Full name: math.fft_approx Internal name: fft_approx License: None

Examples

These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.

Changelog

  • Version 0.0.0: Initial release.