signal op• 資料種類:signal → table
• 呼叫: import fullseye as fs; fs.ledger.signal_features(x, rate=1.0)(要直接呼叫實作,import dsp; dsp.signal_features(x, rate=1.0);從台帳取用則 ops1d.get("signal_features"))
用於異常偵測的精簡聲學/振動特徵向量:rms、peak、crest_factor、zcr、spectral_centroid(Hz)、peak_freq(Hz)、bandwidth(Hz)。全部有限——含 NaN / Inf 的樣本會拋出 ValueError,而不是產生 NaN 特徵(自 2026-10-12 起空訊號亦然;此前回傳零)。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
The three spectral entries are built on spectrum, but every one of them is a *ratio* of magnitudes (argmax, a magnitude-weighted mean, a magnitude-weighted spread), so the raw |rfft| convention documented there cancels out and these numbers are unaffected by it. rms, peak and crest_factor are computed in the time domain and never touch the FFT.
Empty input (x with 0 elements) raises ValueError.
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• gallery_oned_audio_funct — py -3.11 examples/gallery_oned_audio_funct.py
table 作為輸入)—
signal)lowpass · highpass · bandpass · envelope · rms · local_std · quantize · companding_mu_law
*Provenance: dsp.py — ONED 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.