ToDecibels¶
Convert the given quantity to decibels.
Version 1.2.2
Ports/Properties¶
data¶
Data to process.
source_measure¶
Source measure. Since power values are squared, the conversion formula accounts for that. 'auto' will map to 'amplitude' if the chunk has a Metadata.quantity property that is NOT QuantityNames.power, otherwise it will map to 'power'.
replace_zeros¶
Replace zeros with the smallest possible value (epsilon) to avoid taking the logarithm of zero which would result in -inf.
verbose¶
Print warnings if the input is not annotated as expected.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.