Accuracy of event sizes and a definition of dF/F that does not depend on the footprint

Open
#50 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
data

Research direction

Start with the README release notes and the referenced F0 network retraining issue. Once retraining is complete, inject dense bursts into the GFP control and compare event sizes from both baselines; also investigate the reported source position jitter. Define F0 per source independently of footprint support and use the measurements to assess the change.

Written by the indexing model from the issue text.

Description

enhancement

Known biases in the values read from the outputs:

  • Small events. Events near the noise level are found about half the time, and those found appear about a quarter too large, because noise helps them over the threshold.
  • Network against fitted baseline. On real recordings events are 10 to 15% smaller with the network baseline than with the fitted one; for injected events the difference is 3 to 6%. The cause is not established, and the truth for real events in dense activity is not known. The difference is produced in the denoised fit; the least-squares traces of the two arms agree.
  • dF/F and footprint size. With the 5 x 5 support, F0 is taken over a wider footprint, so dF/F reads 5 to 15% lower than with 3 x 3 while events at the peak pixel are equal within 2%.
  • Positions. Per-trial source positions vary more with the network baseline (about 0.2 px against 0.12 to 0.19).
  • Trial edges. Baselines are least certain in the first and last two seconds of a trial.

Proposed work: inject dense bursts into the GFP control and measure event sizes with both baselines; decide on a definition of F0 per source that is independent of the support (for example at the peak pixel, or normalized by the footprint's profile); find the cause of the larger position jitter. Best done after the F0 network is retrained (see the retraining issue).

From the open directions in the README's release notes (November 2026).

Dominant language
Python
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
55

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AllenNeuralDynamics/GIAnT-Python

All issues in AllenNeuralDynamics/GIAnT-Python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.