utility:weighted merge fields by label
Version: 0.0.0
Description
Performs a weighted merge on fields of a fields container that share the same label value.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | fields_container | fields_container | |
| Pin 1 Required | label | string | Label identifier that should be merged. |
| Pin 2 | merged_field_support | abstract_field_support | The FieldsContainer's support that has already been merged. |
| Pin 3 | sum_merge | bool | Default is false. If true, redundant quantities are summed instead of being ignored. |
| Pin 1000 Required | weights | vector<shared_ptr<class dataProcessing::DpfTypeCollection<class dataProcessing::CPropertyField>>>, property_field | Weights to apply to each field from pin 1000 to ... |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | fields_container | fields_container |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
Scripting
Category: utility
Plugin: core
Scripting name: weighted_merge_fields_by_label
Full name: utility.weighted_merge_fields_by_label
Internal name: merge::weighted_fields_container_label
License: None
Changelog
- Version 0.0.0: Initial release.