Commit b093888
committed
Diff mode: voxel stats (+/- counts, net sum) under heatmap histogram
Adds a small 3-column readout below the heatmap cutoff scrubber in diff
mode:
count sum
+ voxels 12,345 +123.4
− voxels 11,987 -120.1
net 358 +3.3
The sum-net (Σpos + Σneg) is near zero when the model conserves charge
globally; a sustained nonzero net flags a systematic bias. Voxel counts
are computed in the same single pass as \`maxDensity\` / \`dataAbsMax\`,
so no perf hit. Hidden outside diff mode (where signed math is moot).1 parent 4338120 commit b093888
2 files changed
Lines changed: 34 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| 209 | + | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| |||
500 | 505 | | |
501 | 506 | | |
502 | 507 | | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
503 | 529 | | |
504 | 530 | | |
505 | 531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
1532 | | - | |
1533 | | - | |
| 1532 | + | |
| 1533 | + | |
1534 | 1534 | | |
1535 | 1535 | | |
| 1536 | + | |
| 1537 | + | |
1536 | 1538 | | |
1537 | 1539 | | |
1538 | 1540 | | |
1539 | 1541 | | |
1540 | 1542 | | |
1541 | 1543 | | |
| 1544 | + | |
| 1545 | + | |
1542 | 1546 | | |
1543 | | - | |
| 1547 | + | |
1544 | 1548 | | |
1545 | 1549 | | |
1546 | 1550 | | |
| |||
1986 | 1990 | | |
1987 | 1991 | | |
1988 | 1992 | | |
| 1993 | + | |
1989 | 1994 | | |
1990 | 1995 | | |
1991 | 1996 | | |
| |||
0 commit comments