Registered movies keep a near-zero band where an online-motion step leaves superpixels unlit
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 54/100
Piste de recherche
Start with registration/frames.py, especially the num/den frame formation and lineSuperPixelIDs, then trace slap2/onlineMotionXshift to determine how the current scan offset identifies unlit superpixels. Use the affected session data to confirm that edge superpixels with near-zero values become NaN in the registered movies. Check the resulting per-trial mean images and source measurements, and add or update focused registration tests if the existing test structure provides a location.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Registered movies keep a near-zero band where an online-motion step leaves superpixels unlit
In session 780125 (DMD1, 39 trials), SLAP2's online motion correction stepped its X offset from 8 to 11 px between acquisitions 29 and 30 (slap2/onlineMotionXshift, later 12). From acquisition 30 on, the last ~6 columns of one ROI are no longer lit. In the registered movies and the alignment files' meanIM, those pixels hold finite values near 0 (in the trial mean, 0.0–0.9 against 30–50 for the same pixels before the step; roughly a third of the 80 Hz frames are exactly 0) rather than NaN. Pixels just beyond them, which the pattern never covered, are NaN as expected. The registration's across-trial alignment moves that spot by less than 1 px, so nothing downstream sees the step as motion.
The values are finite because frame formation takes each pixel's weight from the static scan pattern (lineSuperPixelIDs). A pixel without samples does come out NaN, in GIAnT-Python (registration/frames.py, num/den with den 0) as in GIAnT-MATLAB. A superpixel that the shifted scan no longer lights still records valid samples, only with almost no photons, so it is formed like any other pixel. This last point is inferred from the code and from the values. I have not checked it against the acquisition's scan geometry.
Everything made from the registered movies inherits the band: the per-trial mean images, SILo's fits of sources at that ROI's end, the F0 network's baseline and anything exported from these. In the spine-size readout, sources reaching into the band shrank by 40–80% from acquisition 30 on, in both channels. Their dips were strong enough to change the trend shared by all sources. #65 now detects such bands in the readout and leaves them out, but the band is still in the movies and in SILo's results.
A fix in registration could mark, per trial (or per cycle), the superpixels that the current online offset moves outside the lit part of the scan, and give them NaN. If the scan's extent is not recorded in a form that allows this, the band can also be found from the data, as the spine readout does: per trial, pixels far below their usual level in every channel and connected to the pattern's edge. The same applies to GIAnT-MATLAB's slap2FrameSums / MultiRoiRegistration (AllenNeuralDynamics/GIAnT-MATLAB#61).
🤖 Generated with Claude Code
- Langage dominant
- Python
- Étoiles
- 0
- Forks
- 1
- Merge moyen
- 4 h 48 min
- PR mergées (30 j)
- 55
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de AllenNeuralDynamics/GIAnT-Python
-
Tune the extraction parameters by Bayesian optimisation after the next F0 networkPeut-être pris @j-friedrich l’a pris il y a 5 jours. Ouverteenhancement
AllenNeuralDynamics/GIAnT-Python#55 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 18/100
AllenNeuralDynamics/GIAnT-Python#53 ·
Les mainteneurs répondent en général sous 1 jour
-
Processing time and memoryOuverteenhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 49/100
AllenNeuralDynamics/GIAnT-Python#52 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 24/100
AllenNeuralDynamics/GIAnT-Python#51 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
AllenNeuralDynamics/GIAnT-Python#50 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de AllenNeuralDynamics/GIAnT-Python
Issues similaires
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loopPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouvertebug llm translation
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
arith ascend bug
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
tile-ai/tilelang#5173 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 3 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
lanl/text-fetch#92 ·
Les mainteneurs répondent en général sous 1 jour
-
kind: for-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
monumental-archive/.github#2284 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 87/100
TanbirRamim/open-source-radar#761 ·
Les mainteneurs répondent en général sous 1 jour