25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package cfar
-
- // Mode selects the CFAR algorithm variant.
- type Mode string
-
- const (
- ModeOff Mode = "OFF"
- ModeCA Mode = "CA"
- ModeOS Mode = "OS"
- ModeGOSCA Mode = "GOSCA"
- ModeCASO Mode = "CASO"
- )
-
- // Config holds all CFAR parameters.
- type Config struct {
- Mode Mode
- GuardCells int
- TrainCells int
- Rank int
- ScaleDb float64
- WrapAround bool
- }
-
- // CFAR computes adaptive thresholds for a spectrum.
- type CFAR interface {
- // Thresholds returns per-bin detection thresholds in dB.
- // spectrum is power in dB, length n.
- // Returned slice has length n. No NaN values.
- Thresholds(spectrum []float64) []float64
- }
|