Skip to content

Adding raw waveform plot function#20

Open
simon37robledo wants to merge 46 commits into
EvolutionaryNeuralCodingLab:mainfrom
simon37robledo:main
Open

Adding raw waveform plot function#20
simon37robledo wants to merge 46 commits into
EvolutionaryNeuralCodingLab:mainfrom
simon37robledo:main

Conversation

@simon37robledo

Copy link
Copy Markdown
Contributor

No description provided.

simon37robledo and others added 16 commits June 3, 2026 01:39
… filter

findFalseNegAndPos:
- Per-neuron baseline noise line (replaces a single pooled line dominated by
  high-variance units), so modest-but-real responses in low-variance neurons
  register instead of being called flat.
- New "FN:z-inflation" verdict: an FN candidate must be corroborated by a
  positive stat effect size (ZScoreU > fnMinZ, default 0.5). This excludes
  raster z-score artifacts from near-silent baselines (raster peak z 10-50
  while the stat's effect size is ~0), which were producing dozens of phantom
  RG false negatives. Uses effect size (independent of the labelling p-value),
  so it is a magnitude cross-check, not p-on-p circularity.
- Report the genuine (marginal/discrepant) vs z-inflation artifact FN split.

plotRaster_MultiExp:
- verdictFilter param to draw only selected FP/FN verdict levels; direction-
  aware so combined verdicts are judged by this panel's marker.

RunAnalysisClass:
- Driver call uses sdFloorPrctile=25 (was 15) to stop the raster z-score
  inflating on silent baselines at the source, and enables MarkFPnFN.

Net effect: RG false negatives dropped from 57 to 1; residual flags are the
genuine borderline FPs near alpha.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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