scipy.signal.
vectorstrength#
- scipy.signal.vectorstrength(events, period)[source]#
決定對應於給定週期的事件的向量強度。
向量強度是用於衡量相位同步性的指標,即事件的時序與週期訊號的單一週期同步的程度。
如果使用多個週期,則計算每個週期的向量強度。這被稱為「共振向量強度」。
- 參數:
- events一維陣列型別
包含事件時序的時間點陣列。
- period浮點數或陣列型別
事件應同步到的訊號週期。週期的單位與 events 相同。它也可以是週期陣列,在這種情況下,輸出將是相同長度的陣列。
- 回傳值:
- strength浮點數或一維陣列
同步強度。1.0 代表完全同步,0.0 代表沒有同步。如果 period 是陣列,則這也會是一個陣列,其中每個元素都包含對應週期的向量強度。
- phase浮點數或陣列
事件最能強烈同步到的相位,單位為弧度。如果 period 是陣列,則這也會是一個陣列,其中每個元素都包含對應週期的相位。
參考文獻
- van Hemmen, JL, Longtin, A, and Vollmayr, AN. Testing resonating vector
strength: Auditory system, electric fish, and noise. Chaos 21, 047508 (2011); DOI:10.1063/1.3670512.
- van Hemmen, JL. Vector strength after Goldberg, Brown, and von Mises
biological and mathematical perspectives. Biol Cybern. 2013 Aug;107(4):385-96. DOI:10.1007/s00422-013-0561-7.
- van Hemmen, JL and Vollmayr, AN. Resonating vector strength: what happens
when we vary the “probing” frequency while keeping the spike times fixed. Biol Cybern. 2013 Aug;107(4):491-94. DOI:10.1007/s00422-013-0560-8.