beamform_delay_sum — RANGEDOPPLER beamform op

数据种类:beatcubesignal

调用:import rangedoppler; rangedoppler.beamform_delay_sum(cube, wavelength_m=0.0038934, element_spacing_m=None, angles_deg=None, range_bin=None, doppler_bin=None, normalize=False)(或 opsrangedoppler.get("beamform_delay_sum"))

用法

单个距离-多普勒单元的延迟求和(Bartlett)角度谱。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

Takes the per-antenna complex value at a single range-Doppler cell — by

default the strongest one — and for each steering angle removes the expected

inter-element phase and sums:

`P(theta) = |sum_k conj(exp(1j*2*pi*d*k*sin(theta)/lambda)) * x_k|^2`

which peaks at the true arrival angle with value `(N_a * |a|)^2`: the

aperture gives `N_a in amplitude, N_a^2` in power. That is the exact

ground truth the tests pin. Measured with 8 elements: the peak power is

bit-exactly `(N_a*N_c*N_s)^2 = 268435456` (relative error 0.0), and

sweeping the true angle from -80 to +80 degrees in 5-degree steps (33 cases)

the reported angle matches the truth with a maximum error of 0.0 degrees.

The steering grid defaults to `arange(-90, 90.5, 1.0). normalize=True`

divides by `N_a^2 * N_c^2 * N_s^2` so that a unit-amplitude bin-centred

target peaks at 1.0.

Returns a 1-D float64 array of powers, one per grid angle — a plain signal,

so :mod:dsp's `find_peaks and :mod:funct1d`'s smoothing apply to it.

Use :func:beamform_doa if you want the angles themselves.

*range_bin* is a plain `0..N_s-1` index; *doppler_bin* is the signed

velocity bin, the same convention :func:range_doppler_peaks reports, so a

detection can be handed straight back in. Both or neither — half a cell

address raises rather than quietly beamforming the strongest cell instead.

Raises `ValueError`: no aperture — either a single element, or many

elements packed into under ~0.28 wavelengths. In both cases the spectrum is

flat to within float noise and `argmax` returns the first grid angle, i.e.

a confident report of -90 degrees that is pure tie-breaking (measured: 8

elements at 1e-12 m spacing gave a peak-to-trough spread of exactly 0.0 and

reported -90.0). Also: an all-zero cube or an all-zero selected cell; only

one of *range_bin* / *doppler_bin*; an out-of-bounds bin index; an angle grid

outside `[-90, 90]`; an FFT that overflows to NaN; plus the usual cube and

scalar refusals.

详细使用指南

fmcw_range_doppler 族使用指南

参考(示例数据・文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

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

可运行的示例(实际调用该算子并已验证的样例)

fmcw_range_dopplerpy -3.11 examples/fmcw_range_doppler.py

类型可衔接的下一个算子(可接受 signal 作为输入)

同类别(beamform)

beamform_doa


*Provenance: rangedoppler.py — RANGEDOPPLER 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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