Skip to content

← tensor_math package

LogSpacing

Keep elements along an axis with logarithmic spacing.

This node will select a subset of elements along the chosen axis, which can, e.g., be used to reduce the amount of data (i.e., dimensionality reduction). This node will pick elements not with equidistant spacing, but with a spacing that increases in an exponential fashion (so in other words the spacing would be equidistant after the logarithm has been taken). This is most useful when applied along the frequency axis. 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

axis

Axis along which elements shall be selected.

verbose name
Select Elements Along Axis
default value
frequency
port type
ComboPort
value type
str (can be None)

points

Number of sampling points to keep. This many data points will be kept.

verbose name
Number Of Points To Keep
default value
30
port type
IntPort
value type
int (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)