"매 theta phase 가 매 gamma amplitude 의 modulate". TGC 의 phase-amplitude coupling (PAC) 의 specific form — 4-8 Hz theta 의 cycle 안 에 30-100 Hz gamma 의 burst 의 nested. 1995 Lisman-Idiart hippocampus 의 working-memory 의 mechanism 의 제안 — 2026 에 EEG biomarker, BCI, Alzheimer 의 study 의 활발.
매 핵심
매 정의
Theta: 4-8 Hz, hippocampus / cortex 의 dominant slow rhythm.
Gamma: 30-100 Hz (low 30-60, high 60-100), local processing.
Coupling form: theta phase φ(t) 의 deterministic gamma envelope A(t).
Modulation Index (MI, Tort): 매 normalized KL divergence — phase-binned amplitude vs uniform.
매 mechanism
Lisman-Idiart: theta 1 cycle 안 ~7 gamma cycle → 매 ~7±2 working memory items (Miller).
CA1 / CA3: place-cell sequence 의 theta phase 안 의 ordered firing.
defmodulation_index(phase,amp,n_bins=18):bins=np.linspace(-np.pi,np.pi,n_bins+1)mean_amp=np.array([amp[(phase>=bins[i])&(phase<bins[i+1])].mean()foriinrange(n_bins)])p=mean_amp/mean_amp.sum()H=-np.sum(p*np.log(p+1e-12))return(np.log(n_bins)-H)/np.log(n_bins)# 매 normalized KL
4. tensorpac (full library)
fromtensorpacimportPacp=Pac(idpac=(2,0,0),f_pha=(4,8,1,0.5),f_amp=(30,100,5,2))xpac=p.filterfit(sf=1000,x=signal)# MI matrix (phase × amp)p.comodulogram(xpac.mean(-1))
5. Surrogate test (statistical sig)
# 매 phase 의 shuffle → 매 surrogate MI 의 distribution → p-valuedefsurrogate_pac(phase,amp,n_perm=200):obs=modulation_index(phase,amp)shuffles=[]for_inrange(n_perm):shift=np.random.randint(len(phase))shuffles.append(modulation_index(np.roll(phase,shift),amp))p=(np.array(shuffles)>=obs).mean()returnobs,p
언제: explanation of TGC mechanism, pipeline draft, paper interpretation, hypothesis discussion.
언제 X: 매 actual signal processing — 매 MNE / tensorpac 의 사용.
❌ 안티패턴
MI without surrogate: 매 spurious — 매 baseline MI 의 always non-zero.
Filter bandwidth too narrow: 매 amp envelope 의 unresolvable — 매 amp band ≥ 2× phase freq 의 필요.
Volume conduction: 매 EEG 의 같은 source 의 두 sensor 의 false PAC — 매 source-localized analysis 의 권장.
Single-channel claim: 매 within-channel PAC 의 weak — 매 cross-region 의 더 의미있음.
TGC = causation: 매 correlate of cognition 의 X causation — manipulation (tACS, opto) 의 필요.
Aggregating over subjects naively: 매 individual differences 의 huge — 매 within-subject 의 normalize.