Build indicator kinetics into the activity image
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
Research direction
Start by locating the GIAnT-Python activity-image construction and the per-pixel baseline/noise estimate (currently a moving median) that feeds its high-pass filter and noise model; compare that path with localizeSources_vIM in GIAnT-MATLAB. Read #48 for the seeding thresholds and #42 for the sign-flip FDE, then reproduce the 780125 transient-decay measurements. Done means an activity image computed at the analysis rate with an indicator-kinetics filter and per-pixel noise, validated together with the slap2-F0-network baseline and re-estimated seeding thresholds.
Written by the indexing model from the issue text.
Description
The activity image that seeds sources does not distinguish indicator transients from much faster events. In GIAnT-MATLAB it is computed at alignHz (80 Hz for SLAP2), where the iGluSnFR4f decay (tau_s, 24 ms) spans less than two frames. It accumulates squared spatiotemporal local maxima of each pixel's trace, z-scored against a single variance–brightness noise model per imaging path (localizeSources_vIM). Any location with brief transients that recur in every trial therefore scores as active.
On SLAP2 recording 780125 at the lower seeding thresholds proposed in AllenNeuralDynamics/GIAnT-MATLAB#48 (peakth and wmfPeakth 3), 28–62% of sources have transients that decay far faster than the indicator allows. Averaged over each source's strongest transients, 1–10% of the peak remains 25 ms later, compared with about 35% expected from the indicator and 28–34% measured in ROIs with strong activity. These sources are dim and sit near the soma and in ROIs without large activity-image peaks. They are not explained by motion, online offset switches, trial timing or signals shared within an ROI, and simulated Gaussian or Poisson noise produces almost none of these transients. Because they recur in every trial, neither the sign-flip false-discovery estimate (AllenNeuralDynamics/GIAnT-MATLAB#42) nor the halves test in WMF seeding rejects them. Raising the threshold does not separate them either, since their seed z-scores overlap those of sources with indicator-like kinetics.
GIAnT-MATLAB is getting an interim per-source test that scores the decay of each extracted source's transients and removes sources without indicator kinetics. That test runs after extraction, so spurious seeds still cost extraction time and take part in the joint fit, and sources with few strong transients cannot be scored.
The activity image itself should respond only to transients with the indicator's kinetics. For example, it could be computed at the analysis rate (200 Hz for SLAP2) with a temporal filter that requires the expected decay, and with noise estimated per pixel rather than from one model per path. The seeding thresholds would then need to be estimated again (sign-flip false-discovery estimate, simulations, transplanted ground truth).
This is planned for GIAnT-Python once the neural-network F0 estimate (AllenNeuralDynamics/slap2-F0-network) is part of the GIAnT-Python pipeline. The activity image's high-pass filter and noise model are both built on a per-pixel baseline estimate (currently a moving median), which the F0 network replaces, so the two changes should be validated together.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 4h 48m
- Merged PRs (30d)
- 55
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AllenNeuralDynamics/GIAnT-Python
-
Difficulty 3/5 1-2 days Newbie friendliness 54/100
AllenNeuralDynamics/GIAnT-Python#66 · 2 comments ·
Maintainers usually reply within 1 day
-
Tune the extraction parameters by Bayesian optimisation after the next F0 networkPossibly taken @j-friedrich claimed this 5 days ago. Openenhancement
AllenNeuralDynamics/GIAnT-Python#55 · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 18/100
AllenNeuralDynamics/GIAnT-Python#53 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 49/100
AllenNeuralDynamics/GIAnT-Python#52 · 4 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 24/100
AllenNeuralDynamics/GIAnT-Python#51 · 2 comments ·
Maintainers usually reply within 1 day
All issues in AllenNeuralDynamics/GIAnT-Python
Similar issues
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loopPossibly taken A pull request linked to this issue is open or already merged. Openbug llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
arith ascend bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
tile-ai/tilelang#5173 · 2 comments · 1 reaction ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lanl/text-fetch#92 ·
Maintainers usually reply within 1 day
-
kind: for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
monumental-archive/.github#2284 ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
TanbirRamim/open-source-radar#761 ·
Maintainers usually reply within 1 day