CONVERT REAL CURVE TO DB¶
Converts a real-valued (linear) pressure or amplitude curve to decibels (dB) by applying a 20·log10 transformation, with an optional pressure scaling factor applied before conversion. Use this worker whenever NVH or acoustic workflows require a linear signal curve to be expressed in the dB domain.
When to use¶
Classification: process.
Tagged: acoustic, curve_transform, dB, decibel, linear_to_db, log10, nvh, pressure.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve | curve | vector | — | Input real-valued (linear scale) curve, typically a pressure or amplitude vs. frequency/time vector, to be converted to dB; leave unconnected only if the worker is used in a chain where the curve is injected programmatically. | |
| Pressure SF | pressure_s_f | scalar | — | Scalar pressure reference / scaling factor applied to the curve values before the dB conversion (e.g. 2×10⁻⁵ Pa for standard SPL reference); leave as default (null) to apply no scaling. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_todb_output_1 | curve_todb_output_1 | vector | Output curve with Y-axis values expressed in decibels (dB), computed as 20·log10(scaled_input); X-axis is preserved unchanged from the input curve. |
Disciplines¶
- data.curve.transform
- data.signal_processing
- engineering.nvh
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_todb
Auto-generated from transformation schema. Worker id: curve_todb. Schema hash: 7f488f0b345d. Hand-curated docs in workerexamples/ override this page when present.