fly_emd_response — FLYVISION motion op

資料種類:signal × signalsignal

呼叫: import fullseye as fs; fs.ledger.fly_emd_response(signal_a, signal_b, tau_s=0.05, dt_s=0.001)(要直接呼叫實作,import flyvision; flyvision.fly_emd_response(signal_a, signal_b, tau_s=0.05, dt_s=0.001);從台帳取用則 opsflyvision.get("fly_emd_response"))

用法

> 該運算子的說明尚無譯文,以下照原文給出。

Hassenstein-Reichardt correlator between two adjacent ommatidial signals.

The opponent elementary motion detector::

R(t) = LP(a)(t) * b(t) - a(t) * LP(b)(t)

where `LP` is a first-order low-pass of time constant *tau_s*. Delaying one

channel and multiplying it against the other, then subtracting the mirror

pair, gives a signal whose sign is the direction of motion and whose

steady-state mean encodes the temporal frequency.

signal_a / signal_b: the two 1-D input time series (same length).

tau_s: the low-pass time constant, seconds.

dt_s: the sample interval, seconds.

Returns a 1-D float64 array `R(t)` of the same length.

Ground truth: for two sinusoids of temporal frequency `f (omega = 2 pi f`)

with a spatial phase `psi = 2 pi dphi/lambda` between them, the steady-state

mean is `R_bar = dI^2 * sin(psi) * omega tau/(1 + (omega tau)^2)` (to 5%),

which is zero at `lambda = 2 dphi (psi = pi`) and maximal at

`f = 1/(2 pi tau) independent of lambda` (pinned in the tests).

Raises `ValueError`: a non-1-D / empty / too-short (< 2) / non-finite

*signal_a* or *signal_b*, mismatched lengths, a signal over

:data:MAX_SIGNAL_POINTS, and a non-positive *tau_s* / *dt_s*.

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者・年份)與用途見上面的族使用指南

可執行的範例(實際呼叫該運算子並已驗證的樣例)

poc_fly_visionpy -3.11 examples/poc_fly_vision.py

型別可銜接的下一個運算子(可接受 signal 作為輸入)

fly_lgmd_eta · fly_tau_from_expansion · fly_dsi

同類別(motion)


*Provenance: flyvision.py — FLYVISION 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.