lattice op• 데이터 종류: 없음 → table(인자만으로 정해지는 연산자 —— 이미지나 데이터 입력을 받지 않습니다)
• 호출: import fullseye as fs; fs.ledger.fly_hex_lattice(radius=15, dphi_deg=4.63, az0_deg=0.0, el0_deg=0.0, geometry='regular')(구현을 직접 호출하려면 import flyvision; flyvision.fly_hex_lattice(radius=15, dphi_deg=4.63, az0_deg=0.0, el0_deg=0.0, geometry='regular'), 원장에서 가져오려면 opsflyvision.get("fly_hex_lattice"))
> 이 연산자의 설명은 아직 번역이 없습니다. 원문을 그대로 싣습니다.
Hexagonal ommatidial lattice: viewing directions of a compound eye.
A hexagon of `n = 3*radius*(radius+1)+1` ommatidia on axial coordinates
`(u, v) with -radius <= u <= radius` and
`max(-radius, -radius-u) <= v <= min(radius, radius-u)` (u outer, v inner),
each given an azimuth, an elevation and a unit viewing direction in body
coordinates (x forward, y left, z up; `az = atan2(y, x)` left positive,
`el = asin(z)`).
`geometry="regular": az = az0 + dphi*(v + u/2)`,
`el = el0 + dphi*(sqrt(3)/2)*u` — an isotropic hexagon.
`geometry="boxeye"`: the pixel-grid distortion of the connectome-derived
models, `pixel (y, x) = (13*(u + v/2), 13*v) with 13 px = dphi`, so
`az = az0 - v*dphi and el = el0 - (u + v/2)*dphi`; the diagonal neighbour
is 1.118x the axial spacing.
radius: the hexagon radius in ommatidia.
dphi_deg: the inter-ommatidial angle in degrees.
az0_deg / el0_deg: the direction of the lattice centre (the optical axis).
geometry: one of :data:GEOMETRIES.
Returns a dict ``{"uv": (n,2) int, "az_rad": (n,), "el_rad": (n,),
"dirs": (n,3) unit vectors, "dphi_rad": float, "geometry": str}``.
Ground truth: `n == 3*radius*(radius+1)+1 exactly, every dirs` row is a
unit vector, and for `"boxeye"` the ratio of the diagonal to the axial
nearest-neighbour angular spacing is 1.118 (both pinned in the tests).
Raises `ValueError: a *radius* outside [1, MAX_LATTICE_RADIUS]`, a
non-positive *dphi_deg*, a non-real / non-finite / string / bool angle, and an
unknown *geometry*.
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• poc_fly_vision — py -3.11 examples/poc_fly_vision.py
• poc_print_registration — py -3.11 examples/poc_print_registration.py
table 를 입력으로 받는 것)fly_hex_resample · fly_hs_readout
lattice)—
*Provenance: flyvision.py — FLYVISION 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.