roybens/MEA_Analysis

Preprocessing: SpikeInterface local CMR local_radius=(250,250) likely empty annulus; falls back to global

Offen

#125 geöffnet am 02.02.2026

 (1 Kommentar) (0 Reaktionen) (2 zugewiesene Personen)Jupyter Notebook (9 Forks)auto 404
buggood first issue

Repository-Metriken

Stars
 (6 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Summary

Local common median reference (CMR) in preprocessing seems like it should fail local_radius=(250, 250), causing fallback to global CMR every time. Not sure if this is the intent, or if I'm misunderstanding the code. I also wrote a note near the offending code for greater context (in aw_dev branch)

Impact

  • Potentially changes preprocessing behavior and downstream burst/network metrics.
  • Might be happening on most/ all runs (needs confirmation).

Where

MEA_Analysis/IPNAnalysis/mea_analysis_routine.py in run_preprocessing():

rec = spre.common_reference(rec, reference='local', operator='median', local_radius=(250, 250))

Expected behavior

  • Warning logged: Local CMR failed (missing locations?), using Global CMR.

Contributor Guide