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
| Port | Type | Takes |
|---|---|---|
in | table | one edge |
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
position | expr | "P" | |
weight | expr | "" | |
weightConstant | float | 1 | |
aggregation | menu | "SUM" | SUM, MEAN |
radiusPixels | float | 30 | |
intensity | float | 1 | |
threshold | float | 0.05 | |
colorRange | menu | "" | ``, viridis, magma, turbo, cividis |
ramp | menu | "viridis" | 37 choices |
opacity | float | 1 | |
blend | menu | "normal" | normal, additive, subtractive |
depthTest | toggle | true | |
depthWrite | toggle | true | |
extensions | field | [] |
Outputs
| Port | Type |
|---|---|
out | layer |
Details
- Category: Layers
- Operator:
heatmap
Older projects
Projects saved before documents used operator classes. These convert to heatmap when they open: HeatmapLayerOp.