Skip to main content

Heatmap Layer

A density surface of the rows' positions, weighted per row.

Syntax​

{ "id": "n1", "op": "heatmap", "name": "heatmap", "x": 0, "y": 0, "params": {} }

An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:weightConstant, or read elsewhere as ch('heatmap/weightConstant').

Inputs​

PortTypeTakes
intableone edge

Parameters​

ParameterKindDefaultChoices
positionexpr"P"
weightexpr""
weightConstantfloat1
aggregationmenu"SUM"SUM, MEAN
radiusPixelsfloat30
intensityfloat1
thresholdfloat0.05
colorRangemenu""``, viridis, magma, turbo, cividis
rampmenu"viridis"37 choices
opacityfloat1
blendmenu"normal"normal, additive, subtractive
depthTesttoggletrue
depthWritetoggletrue
extensionsfield[]

Outputs​

PortType
outlayer

Details​

  • Category: Layers
  • Operator: heatmap

Older projects​

Projects saved before documents used operator classes. These convert to heatmap when they open: HeatmapLayerOp.