extract_sub_sc class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.utility
Summary
Creates a new scopings container with all the scopings corresponding to the label space in input 1. If pin 1 is not defined, pin 0 input will be copied to the output.
available inputs: scopings_container (ScopingsContainer), label_space (LabelSpace, Scoping) (optional), collapse_labels (bool) (optional)
available outputs: scopings_container (ScopingsContainer)
Example
op = extract_sub_sc()
op = extract_sub_sc(scopings_container=my_scopings_container,label_space=my_label_space,collapse_labels=my_collapse_labels)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.utility |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
scopings_container
scopings_container
Type: LinkableInput
label_space
Label space, or scoping defining the label space (scoping location), values to keep (scoping IDs)
Type: LinkableInput
collapse_labels
If set to true (default) the input label space (scoping location) is suppressed from the output scopings container, otherwise, label space is kept.
Type: LinkableInput
Outputs
scopings_container
scopings_container
Type: LinkableOutput
Constructors
Constructor
extract_sub_sc()
Constructor
extract_sub_sc(scopings_container, label_space, collapse_labels, config)
Parameters:
scopings_container(object)label_space(object)collapse_labels(object)config(OperatorConfig)
Constructor
extract_sub_sc(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