Skip to content

Fix multi-domain group p-value display cross-domain bleed#2524

Merged
akenmorris merged 1 commit intomasterfrom
amorris/2523-group-pvalues
Mar 25, 2026
Merged

Fix multi-domain group p-value display cross-domain bleed#2524
akenmorris merged 1 commit intomasterfrom
amorris/2523-group-pvalues

Conversation

@akenmorris
Copy link
Contributor

@akenmorris akenmorris commented Mar 25, 2026

Split particles and scalar values per domain in Shape::set_point_features() to prevent cross-domain bleed in KD-tree interpolation. Previously, all particles from all domains were passed to each mesh, causing neighboring domain p-values to corrupt the display near anatomically close regions (e.g., femur/pelvis at the hip joint).

Also use a fixed RandomState seed in stats.py for reproducible p-values across runs.

Before:

image

After fixes:

image

Shape::set_point_features() to prevent cross-domain bleed in KD-tree
interpolation. Previously, all particles from all domains were passed
to each mesh, causing neighboring domain p-values to corrupt the
display near anatomically close regions (e.g., femur/pelvis at the hip
joint).

Also use a fixed RandomState seed in stats.py for reproducible
p-values across runs.
@akenmorris akenmorris merged commit 687bdac into master Mar 25, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant