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

Summary

Converts an input fields container of a given unit to another unit. available inputs: fields_container (FieldsContainer), unit_name (string) available outputs: fields_container (FieldsContainer)

Example

Class Information

Inputs

fields_container

Type: LinkableInput

unit_name

unit as a string, ex ‘m’ for meter, ‘Pa’ for pascal,… Type: LinkableInput

Outputs

fields_container

FieldsContainer with converted units (inplace operation) Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fields_container (object)
  • unit_name (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config