demod

package
v0.0.0-...-6e02741 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Demodulator

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

Demodulator contains preallocated buffers and cached data for the demodulator

func NewDemodulator

func NewDemodulator(w float64, numSamples int) *Demodulator

NewDemodulator creates a Demodulator

func (*Demodulator) Process

func (d *Demodulator) Process(input []byte) (power, ddm, sdm, ident float64)

Process input samples and calculate ILS measurements. The 'input' time period must be equal to 0.1 seconds.

func (*Demodulator) Process200ms

func (d *Demodulator) Process200ms(input []byte) (power, ddm, sdm, ident float64)

Process200ms

func (*Demodulator) Process30ms

func (d *Demodulator) Process30ms(input []byte) (power, ddm, sdm, ident float64)

Process30ms of data

Jump to

Keyboard shortcuts

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