Build indicator kinetics into the activity image

オープン
#13 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
data

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

blocked enhancement

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.

主要言語
Python
スター
0
フォーク
1
平均マージ
4時間 48分
マージ済み PR(30日)
55

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AllenNeuralDynamics/GIAnT-Python のほかの issue

AllenNeuralDynamics/GIAnT-Python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。