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

Summary

Performs a weighted merge on fields of a fields container that share the same label value. available inputs: fields_container (FieldsContainer), label (string), merged_field_support (AbstractFieldSupport) (optional), sum_merge (bool) (optional), weights1 (PropertyField), weights2 (PropertyField) available outputs: fields_container (FieldsContainer)

Example

Class Information

Inputs

fields_container

Type: LinkableInput

label

Label identifier that should be merged. Type: LinkableInput

merged_field_support

The FieldsContainer’s support that has already been merged. Type: LinkableInput

sum_merge

Default is false. If true, redundant quantities are summed instead of being ignored. Type: LinkableInput

weights1

Weights to apply to each field from pin 1000 to … Type: LinkableInput

weights2

Weights to apply to each field from pin 1000 to … Type: LinkableInput

Outputs

fields_container

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fields_container (object)
  • label (object)
  • merged_field_support (object)
  • sum_merge (object)
  • weights1 (object)
  • weights2 (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config