unitary_field class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.utility
Summary
Takes a field and returns another field of scalars in the same location and scoping as the input field.
available inputs: field (Field, FieldsContainer)
available outputs: field (Field)
Example
op = unitary_field()
op = unitary_field(field=my_field)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.utility |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
field
field or fields container with only one field is expected
Type: LinkableInput
Outputs
field
Type: LinkableOutput
Constructors
Constructor
unitary_field()
Constructor
unitary_field(field, config)
Parameters:
field(object)config(OperatorConfig)
Constructor
unitary_field(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig