detectors

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoherentPhaseDetector

type CoherentPhaseDetector struct {
	// contains filtered or unexported fields
}

CoherentPhaseDetector представляет собой структуру фазового детектора

func NewCoherentPhaseDetector

func NewCoherentPhaseDetector(referenceSignal complex128, alpha float64) *CoherentPhaseDetector

NewCoherentPhaseDetector создает новый экземпляр фазового детектора

func (*CoherentPhaseDetector) Detect

func (cpd *CoherentPhaseDetector) Detect(inputSignal complex128) float64

Detect измеряет и фильтрует ошибку фазы

func (*CoherentPhaseDetector) GetFilteredError

func (cpd *CoherentPhaseDetector) GetFilteredError() float64

GetFilteredError возвращает текущую отфильтрованную ошибку

func (*CoherentPhaseDetector) GetPhaseOffset

func (cpd *CoherentPhaseDetector) GetPhaseOffset() float64

GetPhaseOffset возвращает текущее смещение фазы

func (*CoherentPhaseDetector) SetPhaseOffset

func (cpd *CoherentPhaseDetector) SetPhaseOffset(offset float64)

SetPhaseOffset устанавливает конкретное смещение фазы

func (*CoherentPhaseDetector) UpdateOffset

func (cpd *CoherentPhaseDetector) UpdateOffset()

UpdateOffset обновляет смещение фазы на основе текущей ошибки

func (*CoherentPhaseDetector) UpdateReferenceSignal

func (cpd *CoherentPhaseDetector) UpdateReferenceSignal(newRef complex128)

UpdateReferenceSignal обновляет опорный сигнал

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL