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

Summary

Create two fields (0 min 1 max) by looping over the fields container in input and taking the min/max value by component through all the fields having the same id for the label set in input (in pin 1). If no label is specified or if the specified label doesn’t exist, the operation is done over all the fields. The fields out are located on the label set in input, so their scoping are the labels ids.For each min max value, the label id for one other fields container labels is kept and returned in a scoping in pin 2 (min) and 3 (max).The field’s scoping ids of the value kept in min max are also returned in the scopings in pin 4 (min) and 5 (max). available inputs: fields_container (FieldsContainer), label (string) available outputs: field_min (Field), field_max (Field), domain_ids_min (Scoping), domain_ids_max (Scoping), scoping_ids_min (Scoping), scoping_ids_max (Scoping)

Example

Class Information

Inputs

fields_container

Type: LinkableInput

label

label name from the fields container Type: LinkableInput

Outputs

field_min

Type: LinkableOutput

field_max

Type: LinkableOutput

domain_ids_min

Type: LinkableOutput

domain_ids_max

Type: LinkableOutput

scoping_ids_min

Type: LinkableOutput

scoping_ids_max

Type: LinkableOutput

Constructors

Constructor

Constructor

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

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config