Divide by another DataBundle#
Summary#
Divide a DataBundle entry using another DataBundle.
Metadata#
Import path:
modacor.modules.base_modules.divide_databundles.DivideDatabundlesSource:
src/modacor/modules/base_modules/divide_databundles.pyModule ID: DivideDatabundles
Module version: 20260927.2
Keywords: divide, normalize, databundle
Required data keys#
signal
Modifies#
signal: signal, uncertainties, units
Required arguments#
with_processing_keys
Default configuration#
{
"dividend_data_key": "signal",
"divisor_data_key": "signal",
"with_processing_keys": null
}
Argument specification#
Argument |
Type |
Required |
Default |
Dependency role |
Description |
|---|---|---|---|---|---|
|
str |
No |
signal |
- |
BaseData key to modify in the dividend DataBundle. |
|
str |
No |
signal |
- |
BaseData key to read from the divisor DataBundle. |
|
list |
Yes |
- |
- |
Two processing keys: dividend then divisor. |
References#
DOI 10.1088/0953-8984/25/38/383201
Notes#
with_processing_keys contains the dividend first and divisor second. BaseData supplies broadcasting, unit handling, and uncertainty propagation.