Skip to main content
Namespace: Ans.DataProcessing.operators.math

Summary

Computes the centroid of all the matching fields of a fields container at a given time or frequency, using fieldOut = field1*(1.-fact)+field2*(fact). available inputs: fields_container (FieldsContainer), time_freq (double), step (Int32) (optional), time_freq_support (TimeFreqSupport) (optional) available outputs: fields_container (FieldsContainer)

Example

Class Information

Inputs

fields_container

FieldsContainer with fields for centroid calculation Type: LinkableInput

time_freq

Time or frequency value for field selection Type: LinkableInput

step

Optional step specification Type: LinkableInput

time_freq_support

Optional TimeFreqSupport for field resolution Type: LinkableInput

Outputs

fields_container

FieldsContainer with centroid calculation results at specified time/frequency Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fields_container (object)
  • time_freq (object)
  • step (object)
  • time_freq_support (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config