Registered movies keep a near-zero band where an online-motion step leaves superpixels unlit
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Python
- 星號
- 0
- 分支
- 1
- 平均合併
- 4 小時 48 分鐘
- 30 天內合併 PR
- 55
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
AllenNeuralDynamics/GIAnT-Python 的其他 Issue
-
Tune the extraction parameters by Bayesian optimisation after the next F0 network可能已有人在做 @j-friedrich 於 5 天前認領。 未關閉enhancement
AllenNeuralDynamics/GIAnT-Python#55 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 18/100
AllenNeuralDynamics/GIAnT-Python#53 ·
維護者通常 1 天內回覆
-
enhancement
難度 4/5 3-5 天 新手友好度 49/100
AllenNeuralDynamics/GIAnT-Python#52 · 4 則留言 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 24/100
AllenNeuralDynamics/GIAnT-Python#51 · 2 則留言 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
AllenNeuralDynamics/GIAnT-Python#50 · 1 則留言 ·
維護者通常 1 天內回覆
查看 AllenNeuralDynamics/GIAnT-Python 的全部 Issue
相似的 Issue
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loop可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug llm translation
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
arith ascend bug
難度 2/5 1-3 小時 新手友好度 74/100
tile-ai/tilelang#5173 · 2 則留言 · 1 個 reaction ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
lanl/text-fetch#92 ·
維護者通常 1 天內回覆
-
kind: for-triage
難度 2/5 1-3 小時 新手友好度 66/100
monumental-archive/.github#2284 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 87/100
TanbirRamim/open-source-radar#761 ·
維護者通常 1 天內回覆