Seeding with the network baseline is too conservative: dim sources are missed
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 24/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- data, machine-learning
Rechercherichtung
Start with the README release notes and the seeding analysis in this issue, then trace the code that builds the combined activity image, applies the median-plus-8 threshold, and rejects nearby candidates. The plan calls for diagnosing why each local maximum is excluded, then evaluating calibrated-noise thresholds and a residual pass. Compare recall and false sources per field using dim sources injected into the GFP control and recording 780125; the issue leaves the final default dependent on those results.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
With the network baseline GIAnT-Python keeps 40 to 50% fewer sources than GIAnT-MATLAB (first three minutes of 878030, 885233 and 780125: 43 / 72 / 269 against 73 / 143 / 440). Detection then uses no surround subtraction, trial images calibrated on simulated noise movies, and a threshold of 8 instead of 3 on the combined image.
- On the dense recording most of the candidates removed are ones the kinetics test rejects in any case. On the sparser recordings the sources that drop out had passed that test.
- On the GFP control the network baseline gives no false sources (fitted baseline: three per path) and finds 97% of injected sources (fitted: 99%).
Open question: how many real, dim sources are lost on real recordings, and whether a lower threshold or a second pass with footprint-shaped templates recovers them at an acceptable false-source rate. Needs recordings with ground truth at low brightness (injection at small sizes into real data).
Also here: a candidate added from the residual of the seed fit is rejected within 1.5 px of one already placed; on the dense recording the pairs this removes are probably a mix of duplicates and real neighbours.
From the open directions in the README's release notes (November 2026).
Analysis of the seeding (2026-11-27)
Seen by eye in the viewer: many spots of the activity image get no source, isolated dim ones as well as spots inside clusters.
With the network baseline a spot is seeded only if it and its second-brightest neighbour exceed the image median plus 8 robust standard deviations of the combined image (3 with the fitted baseline). Likely causes of the conservative seeding:
- The threshold of 8. It was chosen on simulations to maximise seed accuracy, as if nothing later could remove a false seed. With the network baseline almost no seed fails the kinetics test (0 to 1 per path, against a quarter to half with the fitted baseline), so the later tests are idle and the threshold alone decides.
- The noise scale comes from the image itself. In a dense field many pixels carry signal, the robust SD rises, and the threshold rises with it. The calibration of each trial's image against simulated noise is computed but not used for acceptance.
- Trials are averaged, which dilutes a source that is active in few trials.
- Local median subtraction and the two-pixel rule penalise spots inside clusters.
Options:
| option | what it changes | limit |
|---|---|---|
| A. Lower the number (8 to 4-5) | one parameter | leaves the density dependence |
| B. Threshold in calibrated noise units | accept by the expected number of false seeds per field | needs the null per pixel of the combined image |
| C. Combine trials by a statistic sensitive to sparse activity | finds sources active in few trials | more false seeds to control |
| D. Seed permissively, prune after extraction | kinetics test plus an evidence test per source | more solve time |
| E. Second pass on the residual movie with footprint-shaped templates | dim neighbours (+35-45% detectability in an earlier analysis) | larger change |
Plan: first a diagnosis (for every unseeded local maximum, which rule excluded it), then B with D as options that are off by default, then E. The default is chosen on ground truth: dim sources injected into the GFP control and into 780125, scored as recall against false sources per field.
- Vorherrschende Sprache
- Python
- Sterne
- 0
- Forks
- 1
- Ø Merge
- 4 Std. 48 Min.
- Gemergte PRs (30 T.)
- 55
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus AllenNeuralDynamics/GIAnT-Python
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 54/100
AllenNeuralDynamics/GIAnT-Python#66 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Tune the extraction parameters by Bayesian optimisation after the next F0 networkEvtl. vergeben @j-friedrich hat das vor 5 Tagen übernommen. Offenenhancement
AllenNeuralDynamics/GIAnT-Python#55 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 18/100
AllenNeuralDynamics/GIAnT-Python#53 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 49/100
AllenNeuralDynamics/GIAnT-Python#52 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
AllenNeuralDynamics/GIAnT-Python#50 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in AllenNeuralDynamics/GIAnT-Python
Ähnliche Issues
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loopEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug llm translation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
arith ascend bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
tile-ai/tilelang#5173 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
lanl/text-fetch#92 ·
Maintainer antworten meist innerhalb von 1 Tag
-
kind: for-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
monumental-archive/.github#2284 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 87/100
TanbirRamim/open-source-radar#761 ·
Maintainer antworten meist innerhalb von 1 Tag