Skip to content

← spectral package

ContinuousWaveletTransform

Calculate a spectrogram (periodogram) of the given data using the Continuous Wavelet Transform (CWT).

The node will compute a new data array with a typically coarser time axis than the original data, and an additional frequency axis, thus yielding an estimate how the spectral content in the data changes over time. This node is most commonly applied to segmented data, i.e., following a Segmentation node -- in this case, it will compute a time/frequency representation for each segment in the data. The node can also be used on continuous data to yield the time-frequency representation for the data, but this can only be applied to a whole recording at once (i.e., non-streaming), and it will not work on streaming continuous (unsegmented) data. The covered frequency range can be controlled (indirectly) by adjusting the scale range parameter. The output of this node is complex if a complex wavelet was used, and real-valued otherwise. More Info... Version 1.0.0

Ports/Properties

data

Data to process.

verbose name
Data
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
INOUT

scale_range

Range of wavelet scales.

verbose name
Scale Range
default value
[1, 129]
port type
ListPort
value type
list (can be None)

wavelet

Wavelet type to use.

verbose name
Wavelet
default value
cmor
port type
EnumPort
value type
str (can be None)

bandwidth_frequency

Bandwidth Frequency(Hz). This is needed only for cmor, fbsp, and shan wavelets.

verbose name
Bandwidth Frequency
default value
1.0
port type
FloatPort
value type
float (can be None)

central_frequency

Central Frequency (Hz). This is needed only for cmor, fbsp, and shan wavelets.

verbose name
Central Frequency
default value
1.5
port type
FloatPort
value type
float (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)