Registered movies keep a near-zero band where an online-motion step leaves superpixels unlit
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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分
- マージ済み PR(30日)
- 55
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 18/100
AllenNeuralDynamics/GIAnT-Python#53 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 49/100
AllenNeuralDynamics/GIAnT-Python#52 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 24/100
AllenNeuralDynamics/GIAnT-Python#51 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
AllenNeuralDynamics/GIAnT-Python#50 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
AllenNeuralDynamics/GIAnT-Python の issue をすべて見る
似ている issue
-
新功能建议
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
Mai-with-u/MaiBot#2583 ·
メンテナーはふだん 1 日以内に返信
-
area-integrations
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
[New]: JambaオープンMatch Play
難易度 1/5 1時間未満 初心者へのやさしさ 63/100
privacyguides/verified-apps#9224 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: The docs check fails to install the Mintlify CLI when it runs right after a `mint` releaseオープンchore upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
MemMachine/MemMachine#2032 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100