SatHelper

package module
v0.0.0-...-825d60a Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2019 License: MIT Imports: 4 Imported by: 0

README

Build Status MIT License

libSatHelper

Helper library for decoding Satellite Signals.

Features

  • Viterbi27 Decode / Encode (wrapper from libcorrect)
  • CCSDS ReedSolomon Decode (wrapper from libcorrect)
  • ReedSolomon [De]Interleaver
  • Correlator for Sync Word
  • Packet Phase Ambiguity Fixer (For 0, 90, 180, 270 degrees and IQ Inversion)
  • Working on Windows

How to build (Linux / MacOSX)

If you don't want to worry about installing libcorrect and running all steps manually, just make sure you have your OS development tools (gcc / clang) and run:

make libcorrect
sudo make libcorrect-install
make
sudo make install

This should install both libSatHelper and libcorrect.

How to build (Windows)

TODO: Now we use libcorrect instead libfec.

OLD:

For windows it should be compiled using Microsoft Visual C++ compiler (it should work with mingw, but not tested). First you need to compile the modified [libfec](https://github.com/racerxdl/libfec) that can compile in mingw32 and generate the msvc libraries (everything described on libfec's readme). After that create a folder named `winfec` and copy the `fec.h`, `libfec.lib`, `libfec.exp`. Then you shoud be able to compile `libSatHelper.dll` in Visual Studio. The Solution was made in Visual Studio 2015

GO Wrappers

Now libSatHelper has golang wrappers. It's currently under test with SatHelperApp but so far it seens to be working pretty well. By default you can use it as a normal Go Library by running

go get github.com/OpenSatelliteProject/libsathelper

Just make sure you have libSatHelper installed in your OS (your Go app will be linked to it).

One thing to notice for devs, I included the SWIG generated SatHelper_wrap.cxx and SatHelper.go, these are automatically generated by swig, you can update them (in case you want to change) by running:

make updatego

Documentation

Index

Constants

View Source
const M_MINUS_TWO_PI float64 = -6.28318530717958647692
View Source
const M_ONE_OVER_2PI float64 = 0.15915494309189533577
View Source
const M_TWOPI float64 = 6.28318530717958647692
View Source
const X_VITERBI27_POLYA int = 0x4F
View Source
const X_VITERBI27_POLYB int = 0x6D

Variables

View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}

Functions

func CorrelatorHardCorrelate

func CorrelatorHardCorrelate(arg1 byte, arg2 byte) (_swig_ret bool)

func CorrelatorSoftCorrelate

func CorrelatorSoftCorrelate(arg1 byte, arg2 byte) (_swig_ret uint)

func DeRandomizerDeRandomize

func DeRandomizerDeRandomize(arg1 *byte, arg2 int)

func DeleteAGC

func DeleteAGC(arg1 AGC)

func DeleteClockRecovery

func DeleteClockRecovery(arg1 ClockRecovery)

func DeleteControlLoop

func DeleteControlLoop(arg1 ControlLoop)

func DeleteCorrelator

func DeleteCorrelator(arg1 Correlator)

func DeleteCostasLoop

func DeleteCostasLoop(arg1 CostasLoop)

func DeleteDeRandomizer

func DeleteDeRandomizer(arg1 DeRandomizer)

func DeleteDifferentialEncoding

func DeleteDifferentialEncoding(arg1 DifferentialEncoding)

func DeleteExtensions

func DeleteExtensions(arg1 Extensions)

func DeleteFFTWindows

func DeleteFFTWindows(arg1 FFTWindows)

func DeleteFilters

func DeleteFilters(arg1 Filters)

func DeleteFirFilter

func DeleteFirFilter(arg1 FirFilter)

func DeleteFirKernel

func DeleteFirKernel(arg1 FirKernel)

func DeleteIPAddress

func DeleteIPAddress(arg1 IPAddress)

func DeleteInfo

func DeleteInfo(arg1 Info)

func DeleteMMSEFirInterpolator

func DeleteMMSEFirInterpolator(arg1 MMSEFirInterpolator)

func DeletePacketFixer

func DeletePacketFixer(arg1 PacketFixer)

func DeleteReedSolomon

func DeleteReedSolomon(arg1 ReedSolomon)

func DeleteScreenManager

func DeleteScreenManager(arg1 ScreenManager)

func DeleteTools

func DeleteTools(arg1 Tools)

func DeleteVecDouble

func DeleteVecDouble(arg1 VecDouble)

func DeleteVecFloat

func DeleteVecFloat(arg1 VecFloat)

func DeleteViterbi27

func DeleteViterbi27(arg1 Viterbi27)

func DifferentialEncodingNrzmDecode

func DifferentialEncodingNrzmDecode(arg1 *byte, arg2 int)

func ExtensionsFMA

func ExtensionsFMA(arg1 float32, arg2 float32, arg3 float32) (_swig_ret float32)

func GetExtensionsHasAVX

func GetExtensionsHasAVX() (_swig_ret bool)

func GetExtensionsHasFMA

func GetExtensionsHasFMA() (_swig_ret bool)

func GetExtensionsHasSSE

func GetExtensionsHasSSE() (_swig_ret bool)

func GetExtensionsHasSSE4

func GetExtensionsHasSSE4() (_swig_ret bool)

func GetExtensionsInitialized

func GetExtensionsInitialized() (_swig_ret bool)

func InfoGetCompilationDate

func InfoGetCompilationDate() (_swig_ret string)

func InfoGetCompilationTime

func InfoGetCompilationTime() (_swig_ret string)

func InfoGetGitSHA1

func InfoGetGitSHA1() (_swig_ret string)

func InfoGetVersion

func InfoGetVersion() (_swig_ret string)

func ScreenManagerClear

func ScreenManagerClear()

func ScreenManagerGotoXY

func ScreenManagerGotoXY(arg1 int, arg2 int)

func SetExtensionsHasAVX

func SetExtensionsHasAVX(arg1 bool)

func SetExtensionsHasFMA

func SetExtensionsHasFMA(arg1 bool)

func SetExtensionsHasSSE

func SetExtensionsHasSSE(arg1 bool)

func SetExtensionsHasSSE4

func SetExtensionsHasSSE4(arg1 bool)

func SetExtensionsInitialized

func SetExtensionsInitialized(arg1 bool)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

func ToolsClip

func ToolsClip(arg1 float32, arg2 float32) (_swig_ret float32)

func ToolsGetTimestamp

func ToolsGetTimestamp() (_swig_ret uint)

func ToolsMakedir

func ToolsMakedir(arg1 string)

func ToolsPhase2complex

func ToolsPhase2complex(arg1 float32) (_swig_ret complex64)

func ToolsSwapEndianess

func ToolsSwapEndianess(arg1 uint) (_swig_ret uint)

Types

type AGC

type AGC interface {
	Swigcptr() uintptr
	SwigIsAGC()
	GetRate() (_swig_ret float32)
	GetReference() (_swig_ret float32)
	GetGain() (_swig_ret float32)
	GetMaxGain() (_swig_ret float32)
	SetRate(arg2 float32)
	SetReference(arg2 float32)
	SetGain(arg2 float32)
	SetMaxGain(arg2 float32)
	Scale(arg2 *complex64) (_swig_ret complex64)
	ScaleN(arg2 *complex64, arg3 *complex64, arg4 uint)
	Work(arg2 *complex64, arg3 *complex64, arg4 int)
}

func NewAGC

func NewAGC(a ...interface{}) AGC

func NewAGC__SWIG_0

func NewAGC__SWIG_0(arg1 float32, arg2 float32, arg3 float32, arg4 float32) (_swig_ret AGC)

func NewAGC__SWIG_1

func NewAGC__SWIG_1(arg1 float32, arg2 float32, arg3 float32) (_swig_ret AGC)

func NewAGC__SWIG_2

func NewAGC__SWIG_2(arg1 float32, arg2 float32) (_swig_ret AGC)

func NewAGC__SWIG_3

func NewAGC__SWIG_3(arg1 float32) (_swig_ret AGC)

func NewAGC__SWIG_4

func NewAGC__SWIG_4() (_swig_ret AGC)

type ClockRecovery

type ClockRecovery interface {
	Swigcptr() uintptr
	SwigIsClockRecovery()
	Work(arg2 *complex64, arg3 *complex64, arg4 int) (_swig_ret int)
	GetMu() (_swig_ret float32)
	GetOmega() (_swig_ret float32)
	GetGainMu() (_swig_ret float32)
	GetGainOmega() (_swig_ret float32)
	SetGainMu(arg2 float32)
	SetGainOmega(arg2 float32)
	SetMu(arg2 float32)
	SetOmega(arg2 float32)
}

func NewClockRecovery

func NewClockRecovery(arg1 float32, arg2 float32, arg3 float32, arg4 float32, arg5 float32) (_swig_ret ClockRecovery)

type ControlLoop

type ControlLoop interface {
	Swigcptr() uintptr
	SwigIsControlLoop()
	SetLoopBandwidth(arg2 float32)
	SetDampingFactor(arg2 float32)
	SetAlpha(arg2 float32)
	SetBeta(arg2 float32)
	SetFrequency(arg2 float32)
	Reset()
	UpdateGains()
	SetPhase(arg2 float32)
	AdvanceLoop(arg2 float32)
	SetRelativeMaxFrequency(arg2 float32)
	SetRelativeMinFrequency(arg2 float32)
	GetLoopBandwidth() (_swig_ret float32)
	GetDampingFactor() (_swig_ret float32)
	GetAlpha() (_swig_ret float32)
	GetBeta() (_swig_ret float32)
	GetRelativeFrequency() (_swig_ret float32)
	GetPhase() (_swig_ret float32)
	GetMaxRelativeFrequency() (_swig_ret float32)
	GetMinRelativeFrequency() (_swig_ret float32)
	FrequencyLimit()
	PhaseWrap()
}

func NewControlLoop

func NewControlLoop(arg1 float32, arg2 float32, arg3 float32) (_swig_ret ControlLoop)

type Correlator

type Correlator interface {
	Swigcptr() uintptr
	SwigIsCorrelator()
	GetHighestCorrelation() (_swig_ret uint)
	GetHighestCorrelationPosition() (_swig_ret uint)
	GetCorrelationWordNumber() (_swig_ret uint)
	AddWord(a ...interface{})
	Correlate(arg2 *byte, arg3 uint)
}

func NewCorrelator

func NewCorrelator() (_swig_ret Correlator)

type CostasLoop

type CostasLoop interface {
	Swigcptr() uintptr
	SwigIsCostasLoop()
	GetError() (_swig_ret float32)
	GetFrequency() (_swig_ret float32)
	GetFrequencyHz() (_swig_ret float32)
	Reset()
	Work(a ...interface{})
	SetLoopBandwidth(arg1 float32)
	SetDampingFactor(arg1 float32)
	SetAlpha(arg1 float32)
	SetBeta(arg1 float32)
	SetFrequency(arg1 float32)
	UpdateGains()
	SetPhase(arg1 float32)
	AdvanceLoop(arg1 float32)
	SetRelativeMaxFrequency(arg1 float32)
	SetRelativeMinFrequency(arg1 float32)
	GetLoopBandwidth() (_swig_ret float32)
	GetDampingFactor() (_swig_ret float32)
	GetAlpha() (_swig_ret float32)
	GetBeta() (_swig_ret float32)
	GetRelativeFrequency() (_swig_ret float32)
	GetPhase() (_swig_ret float32)
	GetMaxRelativeFrequency() (_swig_ret float32)
	GetMinRelativeFrequency() (_swig_ret float32)
	FrequencyLimit()
	PhaseWrap()
	SwigIsControlLoop()
	SwigGetControlLoop() ControlLoop
}

func NewCostasLoop

func NewCostasLoop(a ...interface{}) CostasLoop

func NewCostasLoop__SWIG_0

func NewCostasLoop__SWIG_0(arg1 float32, arg2 int) (_swig_ret CostasLoop)

func NewCostasLoop__SWIG_1

func NewCostasLoop__SWIG_1(arg1 float32, arg2 int, arg3 float32, arg4 float32) (_swig_ret CostasLoop)

type DeRandomizer

type DeRandomizer interface {
	Swigcptr() uintptr
	SwigIsDeRandomizer()
}

func NewDeRandomizer

func NewDeRandomizer() (_swig_ret DeRandomizer)

type DifferentialEncoding

type DifferentialEncoding interface {
	Swigcptr() uintptr
	SwigIsDifferentialEncoding()
}

func NewDifferentialEncoding

func NewDifferentialEncoding() (_swig_ret DifferentialEncoding)

type Extensions

type Extensions interface {
	Swigcptr() uintptr
	SwigIsExtensions()
}

func NewExtensions

func NewExtensions() (_swig_ret Extensions)

type FFTWindows

type FFTWindows interface {
	Swigcptr() uintptr
	SwigIsFFTWindows()
}

func NewFFTWindows

func NewFFTWindows() (_swig_ret FFTWindows)

type Filters

type Filters interface {
	Swigcptr() uintptr
	SwigIsFilters()
}

func NewFilters

func NewFilters() (_swig_ret Filters)

type FirFilter

type FirFilter interface {
	Swigcptr() uintptr
	SwigIsFirFilter()
	Work(arg2 *complex64, arg3 *complex64, arg4 int) (_swig_ret int)
}

func NewFirFilter

func NewFirFilter(arg1 uint, arg2 VecFloat) (_swig_ret FirFilter)

type FirKernel

type FirKernel interface {
	Swigcptr() uintptr
	SwigIsFirKernel()
	SetTaps(arg2 VecFloat)
	Filter(arg2 *complex64) (_swig_ret complex64)
	FilterData(arg2 *complex64, arg3 *complex64, arg4 uint64)
	FilterDecimating(arg2 *complex64, arg3 *complex64, arg4 uint64, arg5 uint)
	UpdateTap(arg2 float32, arg3 uint)
	GetTaps() (_swig_ret VecFloat)
	GetNTaps() (_swig_ret uint)
}

func NewFirKernel

func NewFirKernel(arg1 VecFloat) (_swig_ret FirKernel)

type IPAddress

type IPAddress interface {
	Swigcptr() uintptr
	SwigIsIPAddress()
	ToString() (_swig_ret string)
	ToUint32() (_swig_ret uint)
	ToInAddr() (_swig_ret In_addr)
	Equals(arg2 IPAddress) (_swig_ret bool)
	Different(arg2 IPAddress) (_swig_ret bool)
}

func GetIPAddressAnyAddress

func GetIPAddressAnyAddress() (_swig_ret IPAddress)

func GetIPAddressLocalhost

func GetIPAddressLocalhost() (_swig_ret IPAddress)

func NewIPAddress

func NewIPAddress(a ...interface{}) IPAddress

func NewIPAddress__SWIG_0

func NewIPAddress__SWIG_0() (_swig_ret IPAddress)

func NewIPAddress__SWIG_1

func NewIPAddress__SWIG_1(arg1 SatHelperPresetIpAddress) (_swig_ret IPAddress)

func NewIPAddress__SWIG_2

func NewIPAddress__SWIG_2(arg1 uint) (_swig_ret IPAddress)

func NewIPAddress__SWIG_3

func NewIPAddress__SWIG_3(arg1 In_addr) (_swig_ret IPAddress)

func NewIPAddress__SWIG_4

func NewIPAddress__SWIG_4(arg1 byte, arg2 byte, arg3 byte, arg4 byte) (_swig_ret IPAddress)

func NewIPAddress__SWIG_5

func NewIPAddress__SWIG_5(arg1 string) (_swig_ret IPAddress)

func NewIPAddress__SWIG_6

func NewIPAddress__SWIG_6(arg1 string) (_swig_ret IPAddress)

type In_addr

type In_addr interface {
	Swigcptr() uintptr
}

type Info

type Info interface {
	Swigcptr() uintptr
	SwigIsInfo()
}

func NewInfo

func NewInfo() (_swig_ret Info)

type MMSEFirInterpolator

type MMSEFirInterpolator interface {
	Swigcptr() uintptr
	SwigIsMMSEFirInterpolator()
	GetNTaps() (_swig_ret uint)
	GetNSteps() (_swig_ret uint)
	Interpolate(arg2 *complex64, arg3 float32) (_swig_ret complex64)
}

func NewMMSEFirInterpolator

func NewMMSEFirInterpolator() (_swig_ret MMSEFirInterpolator)

type PacketFixer

type PacketFixer interface {
	Swigcptr() uintptr
	SwigIsPacketFixer()
	FixPacket(arg2 *byte, arg3 uint, arg4 SatHelperPhaseShift, arg5 bool)
}

func NewPacketFixer

func NewPacketFixer() (_swig_ret PacketFixer)

type ReedSolomon

type ReedSolomon interface {
	Swigcptr() uintptr
	SwigIsReedSolomon()
	Decode_ccsds(arg2 *byte) (_swig_ret uint)
	Decode_rs8(arg2 *byte) (_swig_ret uint)
	Deinterleave(arg2 *byte, arg3 *byte, arg4 byte, arg5 byte)
	Interleave(arg2 *byte, arg3 *byte, arg4 byte, arg5 byte)
	SetCopyParityToOutput(arg2 bool)
}

func NewReedSolomon

func NewReedSolomon() (_swig_ret ReedSolomon)

type SatHelperFFTWindowsWindowType

type SatHelperFFTWindowsWindowType int
var FFTWindowsBARTLETT SatHelperFFTWindowsWindowType = _swig_getFFTWindows_BARTLETT_FFTWindows()
var FFTWindowsBLACKMAN SatHelperFFTWindowsWindowType = _swig_getFFTWindows_BLACKMAN_FFTWindows()
var FFTWindowsBLACKMAN_HARRIS SatHelperFFTWindowsWindowType = _swig_getFFTWindows_BLACKMAN_HARRIS_FFTWindows()
var FFTWindowsFLATTOP SatHelperFFTWindowsWindowType = _swig_getFFTWindows_FLATTOP_FFTWindows()
var FFTWindowsHAMMING SatHelperFFTWindowsWindowType = _swig_getFFTWindows_HAMMING_FFTWindows()
var FFTWindowsHANN SatHelperFFTWindowsWindowType = _swig_getFFTWindows_HANN_FFTWindows()
var FFTWindowsKAISER SatHelperFFTWindowsWindowType = _swig_getFFTWindows_KAISER_FFTWindows()
var FFTWindowsRECTANGULAR SatHelperFFTWindowsWindowType = _swig_getFFTWindows_RECTANGULAR_FFTWindows()

type SatHelperPhaseShift

type SatHelperPhaseShift int
var DEG_0 SatHelperPhaseShift = _swig_getDEG_0()
var DEG_180 SatHelperPhaseShift = _swig_getDEG_180()
var DEG_270 SatHelperPhaseShift = _swig_getDEG_270()
var DEG_90 SatHelperPhaseShift = _swig_getDEG_90()

type SatHelperPresetIpAddress

type SatHelperPresetIpAddress int
var IP_ANY SatHelperPresetIpAddress = _swig_getIP_ANY()
var IP_LOCALHOST SatHelperPresetIpAddress = _swig_getIP_LOCALHOST()

type ScreenManager

type ScreenManager interface {
	Swigcptr() uintptr
	SwigIsScreenManager()
}

func NewScreenManager

func NewScreenManager() (_swig_ret ScreenManager)

type SwigcptrAGC

type SwigcptrAGC uintptr

func (SwigcptrAGC) GetGain

func (arg1 SwigcptrAGC) GetGain() (_swig_ret float32)

func (SwigcptrAGC) GetMaxGain

func (arg1 SwigcptrAGC) GetMaxGain() (_swig_ret float32)

func (SwigcptrAGC) GetRate

func (arg1 SwigcptrAGC) GetRate() (_swig_ret float32)

func (SwigcptrAGC) GetReference

func (arg1 SwigcptrAGC) GetReference() (_swig_ret float32)

func (SwigcptrAGC) Scale

func (arg1 SwigcptrAGC) Scale(arg2 *complex64) (_swig_ret complex64)

func (SwigcptrAGC) ScaleN

func (arg1 SwigcptrAGC) ScaleN(arg2 *complex64, arg3 *complex64, arg4 uint)

func (SwigcptrAGC) SetGain

func (arg1 SwigcptrAGC) SetGain(arg2 float32)

func (SwigcptrAGC) SetMaxGain

func (arg1 SwigcptrAGC) SetMaxGain(arg2 float32)

func (SwigcptrAGC) SetRate

func (arg1 SwigcptrAGC) SetRate(arg2 float32)

func (SwigcptrAGC) SetReference

func (arg1 SwigcptrAGC) SetReference(arg2 float32)

func (SwigcptrAGC) SwigIsAGC

func (p SwigcptrAGC) SwigIsAGC()

func (SwigcptrAGC) Swigcptr

func (p SwigcptrAGC) Swigcptr() uintptr

func (SwigcptrAGC) Work

func (arg1 SwigcptrAGC) Work(arg2 *complex64, arg3 *complex64, arg4 int)

type SwigcptrClockRecovery

type SwigcptrClockRecovery uintptr

func (SwigcptrClockRecovery) GetGainMu

func (arg1 SwigcptrClockRecovery) GetGainMu() (_swig_ret float32)

func (SwigcptrClockRecovery) GetGainOmega

func (arg1 SwigcptrClockRecovery) GetGainOmega() (_swig_ret float32)

func (SwigcptrClockRecovery) GetMu

func (arg1 SwigcptrClockRecovery) GetMu() (_swig_ret float32)

func (SwigcptrClockRecovery) GetOmega

func (arg1 SwigcptrClockRecovery) GetOmega() (_swig_ret float32)

func (SwigcptrClockRecovery) SetGainMu

func (arg1 SwigcptrClockRecovery) SetGainMu(arg2 float32)

func (SwigcptrClockRecovery) SetGainOmega

func (arg1 SwigcptrClockRecovery) SetGainOmega(arg2 float32)

func (SwigcptrClockRecovery) SetMu

func (arg1 SwigcptrClockRecovery) SetMu(arg2 float32)

func (SwigcptrClockRecovery) SetOmega

func (arg1 SwigcptrClockRecovery) SetOmega(arg2 float32)

func (SwigcptrClockRecovery) SwigIsClockRecovery

func (p SwigcptrClockRecovery) SwigIsClockRecovery()

func (SwigcptrClockRecovery) Swigcptr

func (p SwigcptrClockRecovery) Swigcptr() uintptr

func (SwigcptrClockRecovery) Work

func (arg1 SwigcptrClockRecovery) Work(arg2 *complex64, arg3 *complex64, arg4 int) (_swig_ret int)

type SwigcptrControlLoop

type SwigcptrControlLoop uintptr

func (SwigcptrControlLoop) AdvanceLoop

func (arg1 SwigcptrControlLoop) AdvanceLoop(arg2 float32)

func (SwigcptrControlLoop) FrequencyLimit

func (arg1 SwigcptrControlLoop) FrequencyLimit()

func (SwigcptrControlLoop) GetAlpha

func (arg1 SwigcptrControlLoop) GetAlpha() (_swig_ret float32)

func (SwigcptrControlLoop) GetBeta

func (arg1 SwigcptrControlLoop) GetBeta() (_swig_ret float32)

func (SwigcptrControlLoop) GetDampingFactor

func (arg1 SwigcptrControlLoop) GetDampingFactor() (_swig_ret float32)

func (SwigcptrControlLoop) GetLoopBandwidth

func (arg1 SwigcptrControlLoop) GetLoopBandwidth() (_swig_ret float32)

func (SwigcptrControlLoop) GetMaxRelativeFrequency

func (arg1 SwigcptrControlLoop) GetMaxRelativeFrequency() (_swig_ret float32)

func (SwigcptrControlLoop) GetMinRelativeFrequency

func (arg1 SwigcptrControlLoop) GetMinRelativeFrequency() (_swig_ret float32)

func (SwigcptrControlLoop) GetPhase

func (arg1 SwigcptrControlLoop) GetPhase() (_swig_ret float32)

func (SwigcptrControlLoop) GetRelativeFrequency

func (arg1 SwigcptrControlLoop) GetRelativeFrequency() (_swig_ret float32)

func (SwigcptrControlLoop) PhaseWrap

func (arg1 SwigcptrControlLoop) PhaseWrap()

func (SwigcptrControlLoop) Reset

func (arg1 SwigcptrControlLoop) Reset()

func (SwigcptrControlLoop) SetAlpha

func (arg1 SwigcptrControlLoop) SetAlpha(arg2 float32)

func (SwigcptrControlLoop) SetBeta

func (arg1 SwigcptrControlLoop) SetBeta(arg2 float32)

func (SwigcptrControlLoop) SetDampingFactor

func (arg1 SwigcptrControlLoop) SetDampingFactor(arg2 float32)

func (SwigcptrControlLoop) SetFrequency

func (arg1 SwigcptrControlLoop) SetFrequency(arg2 float32)

func (SwigcptrControlLoop) SetLoopBandwidth

func (arg1 SwigcptrControlLoop) SetLoopBandwidth(arg2 float32)

func (SwigcptrControlLoop) SetPhase

func (arg1 SwigcptrControlLoop) SetPhase(arg2 float32)

func (SwigcptrControlLoop) SetRelativeMaxFrequency

func (arg1 SwigcptrControlLoop) SetRelativeMaxFrequency(arg2 float32)

func (SwigcptrControlLoop) SetRelativeMinFrequency

func (arg1 SwigcptrControlLoop) SetRelativeMinFrequency(arg2 float32)

func (SwigcptrControlLoop) SwigIsControlLoop

func (p SwigcptrControlLoop) SwigIsControlLoop()

func (SwigcptrControlLoop) Swigcptr

func (p SwigcptrControlLoop) Swigcptr() uintptr

func (SwigcptrControlLoop) UpdateGains

func (arg1 SwigcptrControlLoop) UpdateGains()

type SwigcptrCorrelator

type SwigcptrCorrelator uintptr

func (SwigcptrCorrelator) AddWord

func (p SwigcptrCorrelator) AddWord(a ...interface{})

func (SwigcptrCorrelator) AddWord__SWIG_0

func (arg1 SwigcptrCorrelator) AddWord__SWIG_0(arg2 uint)

func (SwigcptrCorrelator) AddWord__SWIG_1

func (arg1 SwigcptrCorrelator) AddWord__SWIG_1(arg2 uint64)

func (SwigcptrCorrelator) Correlate

func (arg1 SwigcptrCorrelator) Correlate(arg2 *byte, arg3 uint)

func (SwigcptrCorrelator) GetCorrelationWordNumber

func (arg1 SwigcptrCorrelator) GetCorrelationWordNumber() (_swig_ret uint)

func (SwigcptrCorrelator) GetHighestCorrelation

func (arg1 SwigcptrCorrelator) GetHighestCorrelation() (_swig_ret uint)

func (SwigcptrCorrelator) GetHighestCorrelationPosition

func (arg1 SwigcptrCorrelator) GetHighestCorrelationPosition() (_swig_ret uint)

func (SwigcptrCorrelator) SwigIsCorrelator

func (p SwigcptrCorrelator) SwigIsCorrelator()

func (SwigcptrCorrelator) Swigcptr

func (p SwigcptrCorrelator) Swigcptr() uintptr

type SwigcptrCostasLoop

type SwigcptrCostasLoop uintptr

func (SwigcptrCostasLoop) AdvanceLoop

func (_swig_base SwigcptrCostasLoop) AdvanceLoop(arg1 float32)

func (SwigcptrCostasLoop) FrequencyLimit

func (_swig_base SwigcptrCostasLoop) FrequencyLimit()

func (SwigcptrCostasLoop) GetAlpha

func (_swig_base SwigcptrCostasLoop) GetAlpha() (_swig_ret float32)

func (SwigcptrCostasLoop) GetBeta

func (_swig_base SwigcptrCostasLoop) GetBeta() (_swig_ret float32)

func (SwigcptrCostasLoop) GetDampingFactor

func (_swig_base SwigcptrCostasLoop) GetDampingFactor() (_swig_ret float32)

func (SwigcptrCostasLoop) GetError

func (arg1 SwigcptrCostasLoop) GetError() (_swig_ret float32)

func (SwigcptrCostasLoop) GetFrequency

func (arg1 SwigcptrCostasLoop) GetFrequency() (_swig_ret float32)

func (SwigcptrCostasLoop) GetFrequencyHz

func (arg1 SwigcptrCostasLoop) GetFrequencyHz() (_swig_ret float32)

func (SwigcptrCostasLoop) GetLoopBandwidth

func (_swig_base SwigcptrCostasLoop) GetLoopBandwidth() (_swig_ret float32)

func (SwigcptrCostasLoop) GetMaxRelativeFrequency

func (_swig_base SwigcptrCostasLoop) GetMaxRelativeFrequency() (_swig_ret float32)

func (SwigcptrCostasLoop) GetMinRelativeFrequency

func (_swig_base SwigcptrCostasLoop) GetMinRelativeFrequency() (_swig_ret float32)

func (SwigcptrCostasLoop) GetPhase

func (_swig_base SwigcptrCostasLoop) GetPhase() (_swig_ret float32)

func (SwigcptrCostasLoop) GetRelativeFrequency

func (_swig_base SwigcptrCostasLoop) GetRelativeFrequency() (_swig_ret float32)

func (SwigcptrCostasLoop) PhaseWrap

func (_swig_base SwigcptrCostasLoop) PhaseWrap()

func (SwigcptrCostasLoop) Reset

func (arg1 SwigcptrCostasLoop) Reset()

func (SwigcptrCostasLoop) SetAlpha

func (_swig_base SwigcptrCostasLoop) SetAlpha(arg1 float32)

func (SwigcptrCostasLoop) SetBeta

func (_swig_base SwigcptrCostasLoop) SetBeta(arg1 float32)

func (SwigcptrCostasLoop) SetDampingFactor

func (_swig_base SwigcptrCostasLoop) SetDampingFactor(arg1 float32)

func (SwigcptrCostasLoop) SetFrequency

func (_swig_base SwigcptrCostasLoop) SetFrequency(arg1 float32)

func (SwigcptrCostasLoop) SetLoopBandwidth

func (_swig_base SwigcptrCostasLoop) SetLoopBandwidth(arg1 float32)

func (SwigcptrCostasLoop) SetPhase

func (_swig_base SwigcptrCostasLoop) SetPhase(arg1 float32)

func (SwigcptrCostasLoop) SetRelativeMaxFrequency

func (_swig_base SwigcptrCostasLoop) SetRelativeMaxFrequency(arg1 float32)

func (SwigcptrCostasLoop) SetRelativeMinFrequency

func (_swig_base SwigcptrCostasLoop) SetRelativeMinFrequency(arg1 float32)

func (SwigcptrCostasLoop) SwigGetControlLoop

func (p SwigcptrCostasLoop) SwigGetControlLoop() ControlLoop

func (SwigcptrCostasLoop) SwigIsControlLoop

func (p SwigcptrCostasLoop) SwigIsControlLoop()

func (SwigcptrCostasLoop) SwigIsCostasLoop

func (p SwigcptrCostasLoop) SwigIsCostasLoop()

func (SwigcptrCostasLoop) Swigcptr

func (p SwigcptrCostasLoop) Swigcptr() uintptr

func (SwigcptrCostasLoop) UpdateGains

func (_swig_base SwigcptrCostasLoop) UpdateGains()

func (SwigcptrCostasLoop) Work

func (p SwigcptrCostasLoop) Work(a ...interface{})

func (SwigcptrCostasLoop) Work__SWIG_0

func (arg1 SwigcptrCostasLoop) Work__SWIG_0(arg2 *complex64, arg3 *complex64, arg4 int)

func (SwigcptrCostasLoop) Work__SWIG_1

func (arg1 SwigcptrCostasLoop) Work__SWIG_1(arg2 *complex64, arg3 *complex64, arg4 *float32, arg5 int)

type SwigcptrDeRandomizer

type SwigcptrDeRandomizer uintptr

func (SwigcptrDeRandomizer) SwigIsDeRandomizer

func (p SwigcptrDeRandomizer) SwigIsDeRandomizer()

func (SwigcptrDeRandomizer) Swigcptr

func (p SwigcptrDeRandomizer) Swigcptr() uintptr

type SwigcptrDifferentialEncoding

type SwigcptrDifferentialEncoding uintptr

func (SwigcptrDifferentialEncoding) SwigIsDifferentialEncoding

func (p SwigcptrDifferentialEncoding) SwigIsDifferentialEncoding()

func (SwigcptrDifferentialEncoding) Swigcptr

type SwigcptrExtensions

type SwigcptrExtensions uintptr

func (SwigcptrExtensions) SwigIsExtensions

func (p SwigcptrExtensions) SwigIsExtensions()

func (SwigcptrExtensions) Swigcptr

func (p SwigcptrExtensions) Swigcptr() uintptr

type SwigcptrFFTWindows

type SwigcptrFFTWindows uintptr

func (SwigcptrFFTWindows) SwigIsFFTWindows

func (p SwigcptrFFTWindows) SwigIsFFTWindows()

func (SwigcptrFFTWindows) Swigcptr

func (p SwigcptrFFTWindows) Swigcptr() uintptr

type SwigcptrFilters

type SwigcptrFilters uintptr

func (SwigcptrFilters) SwigIsFilters

func (p SwigcptrFilters) SwigIsFilters()

func (SwigcptrFilters) Swigcptr

func (p SwigcptrFilters) Swigcptr() uintptr

type SwigcptrFirFilter

type SwigcptrFirFilter uintptr

func (SwigcptrFirFilter) SwigIsFirFilter

func (p SwigcptrFirFilter) SwigIsFirFilter()

func (SwigcptrFirFilter) Swigcptr

func (p SwigcptrFirFilter) Swigcptr() uintptr

func (SwigcptrFirFilter) Work

func (arg1 SwigcptrFirFilter) Work(arg2 *complex64, arg3 *complex64, arg4 int) (_swig_ret int)

type SwigcptrFirKernel

type SwigcptrFirKernel uintptr

func (SwigcptrFirKernel) Filter

func (arg1 SwigcptrFirKernel) Filter(arg2 *complex64) (_swig_ret complex64)

func (SwigcptrFirKernel) FilterData

func (arg1 SwigcptrFirKernel) FilterData(arg2 *complex64, arg3 *complex64, arg4 uint64)

func (SwigcptrFirKernel) FilterDecimating

func (arg1 SwigcptrFirKernel) FilterDecimating(arg2 *complex64, arg3 *complex64, arg4 uint64, arg5 uint)

func (SwigcptrFirKernel) GetNTaps

func (arg1 SwigcptrFirKernel) GetNTaps() (_swig_ret uint)

func (SwigcptrFirKernel) GetTaps

func (arg1 SwigcptrFirKernel) GetTaps() (_swig_ret VecFloat)

func (SwigcptrFirKernel) SetTaps

func (arg1 SwigcptrFirKernel) SetTaps(arg2 VecFloat)

func (SwigcptrFirKernel) SwigIsFirKernel

func (p SwigcptrFirKernel) SwigIsFirKernel()

func (SwigcptrFirKernel) Swigcptr

func (p SwigcptrFirKernel) Swigcptr() uintptr

func (SwigcptrFirKernel) UpdateTap

func (arg1 SwigcptrFirKernel) UpdateTap(arg2 float32, arg3 uint)

type SwigcptrIPAddress

type SwigcptrIPAddress uintptr

func (SwigcptrIPAddress) Different

func (arg1 SwigcptrIPAddress) Different(arg2 IPAddress) (_swig_ret bool)

func (SwigcptrIPAddress) Equals

func (arg1 SwigcptrIPAddress) Equals(arg2 IPAddress) (_swig_ret bool)

func (SwigcptrIPAddress) SwigIsIPAddress

func (p SwigcptrIPAddress) SwigIsIPAddress()

func (SwigcptrIPAddress) Swigcptr

func (p SwigcptrIPAddress) Swigcptr() uintptr

func (SwigcptrIPAddress) ToInAddr

func (arg1 SwigcptrIPAddress) ToInAddr() (_swig_ret In_addr)

func (SwigcptrIPAddress) ToString

func (arg1 SwigcptrIPAddress) ToString() (_swig_ret string)

func (SwigcptrIPAddress) ToUint32

func (arg1 SwigcptrIPAddress) ToUint32() (_swig_ret uint)

type SwigcptrIn_addr

type SwigcptrIn_addr uintptr

func (SwigcptrIn_addr) Swigcptr

func (p SwigcptrIn_addr) Swigcptr() uintptr

type SwigcptrInfo

type SwigcptrInfo uintptr

func (SwigcptrInfo) SwigIsInfo

func (p SwigcptrInfo) SwigIsInfo()

func (SwigcptrInfo) Swigcptr

func (p SwigcptrInfo) Swigcptr() uintptr

type SwigcptrMMSEFirInterpolator

type SwigcptrMMSEFirInterpolator uintptr

func (SwigcptrMMSEFirInterpolator) GetNSteps

func (arg1 SwigcptrMMSEFirInterpolator) GetNSteps() (_swig_ret uint)

func (SwigcptrMMSEFirInterpolator) GetNTaps

func (arg1 SwigcptrMMSEFirInterpolator) GetNTaps() (_swig_ret uint)

func (SwigcptrMMSEFirInterpolator) Interpolate

func (arg1 SwigcptrMMSEFirInterpolator) Interpolate(arg2 *complex64, arg3 float32) (_swig_ret complex64)

func (SwigcptrMMSEFirInterpolator) SwigIsMMSEFirInterpolator

func (p SwigcptrMMSEFirInterpolator) SwigIsMMSEFirInterpolator()

func (SwigcptrMMSEFirInterpolator) Swigcptr

func (p SwigcptrMMSEFirInterpolator) Swigcptr() uintptr

type SwigcptrPacketFixer

type SwigcptrPacketFixer uintptr

func (SwigcptrPacketFixer) FixPacket

func (arg1 SwigcptrPacketFixer) FixPacket(arg2 *byte, arg3 uint, arg4 SatHelperPhaseShift, arg5 bool)

func (SwigcptrPacketFixer) SwigIsPacketFixer

func (p SwigcptrPacketFixer) SwigIsPacketFixer()

func (SwigcptrPacketFixer) Swigcptr

func (p SwigcptrPacketFixer) Swigcptr() uintptr

type SwigcptrReedSolomon

type SwigcptrReedSolomon uintptr

func (SwigcptrReedSolomon) Decode_ccsds

func (arg1 SwigcptrReedSolomon) Decode_ccsds(arg2 *byte) (_swig_ret uint)

func (SwigcptrReedSolomon) Decode_rs8

func (arg1 SwigcptrReedSolomon) Decode_rs8(arg2 *byte) (_swig_ret uint)

func (SwigcptrReedSolomon) Deinterleave

func (arg1 SwigcptrReedSolomon) Deinterleave(arg2 *byte, arg3 *byte, arg4 byte, arg5 byte)

func (SwigcptrReedSolomon) Interleave

func (arg1 SwigcptrReedSolomon) Interleave(arg2 *byte, arg3 *byte, arg4 byte, arg5 byte)

func (SwigcptrReedSolomon) SetCopyParityToOutput

func (arg1 SwigcptrReedSolomon) SetCopyParityToOutput(arg2 bool)

func (SwigcptrReedSolomon) SwigIsReedSolomon

func (p SwigcptrReedSolomon) SwigIsReedSolomon()

func (SwigcptrReedSolomon) Swigcptr

func (p SwigcptrReedSolomon) Swigcptr() uintptr

type SwigcptrScreenManager

type SwigcptrScreenManager uintptr

func (SwigcptrScreenManager) SwigIsScreenManager

func (p SwigcptrScreenManager) SwigIsScreenManager()

func (SwigcptrScreenManager) Swigcptr

func (p SwigcptrScreenManager) Swigcptr() uintptr

type SwigcptrTools

type SwigcptrTools uintptr

func (SwigcptrTools) SwigIsTools

func (p SwigcptrTools) SwigIsTools()

func (SwigcptrTools) Swigcptr

func (p SwigcptrTools) Swigcptr() uintptr

type SwigcptrVecDouble

type SwigcptrVecDouble uintptr

func (SwigcptrVecDouble) Add

func (arg1 SwigcptrVecDouble) Add(arg2 float64)

func (SwigcptrVecDouble) Capacity

func (arg1 SwigcptrVecDouble) Capacity() (_swig_ret int64)

func (SwigcptrVecDouble) Clear

func (arg1 SwigcptrVecDouble) Clear()

func (SwigcptrVecDouble) Get

func (arg1 SwigcptrVecDouble) Get(arg2 int) (_swig_ret float64)

func (SwigcptrVecDouble) IsEmpty

func (arg1 SwigcptrVecDouble) IsEmpty() (_swig_ret bool)

func (SwigcptrVecDouble) Reserve

func (arg1 SwigcptrVecDouble) Reserve(arg2 int64)

func (SwigcptrVecDouble) Set

func (arg1 SwigcptrVecDouble) Set(arg2 int, arg3 float64)

func (SwigcptrVecDouble) Size

func (arg1 SwigcptrVecDouble) Size() (_swig_ret int64)

func (SwigcptrVecDouble) SwigIsVecDouble

func (p SwigcptrVecDouble) SwigIsVecDouble()

func (SwigcptrVecDouble) Swigcptr

func (p SwigcptrVecDouble) Swigcptr() uintptr

type SwigcptrVecFloat

type SwigcptrVecFloat uintptr

func (SwigcptrVecFloat) Add

func (arg1 SwigcptrVecFloat) Add(arg2 float32)

func (SwigcptrVecFloat) Capacity

func (arg1 SwigcptrVecFloat) Capacity() (_swig_ret int64)

func (SwigcptrVecFloat) Clear

func (arg1 SwigcptrVecFloat) Clear()

func (SwigcptrVecFloat) Get

func (arg1 SwigcptrVecFloat) Get(arg2 int) (_swig_ret float32)

func (SwigcptrVecFloat) IsEmpty

func (arg1 SwigcptrVecFloat) IsEmpty() (_swig_ret bool)

func (SwigcptrVecFloat) Reserve

func (arg1 SwigcptrVecFloat) Reserve(arg2 int64)

func (SwigcptrVecFloat) Set

func (arg1 SwigcptrVecFloat) Set(arg2 int, arg3 float32)

func (SwigcptrVecFloat) Size

func (arg1 SwigcptrVecFloat) Size() (_swig_ret int64)

func (SwigcptrVecFloat) SwigIsVecFloat

func (p SwigcptrVecFloat) SwigIsVecFloat()

func (SwigcptrVecFloat) Swigcptr

func (p SwigcptrVecFloat) Swigcptr() uintptr

type SwigcptrViterbi27

type SwigcptrViterbi27 uintptr

func (SwigcptrViterbi27) Decode

func (arg1 SwigcptrViterbi27) Decode(arg2 *byte, arg3 *byte)

func (SwigcptrViterbi27) DecodedSize

func (arg1 SwigcptrViterbi27) DecodedSize() (_swig_ret int)

func (SwigcptrViterbi27) Encode

func (arg1 SwigcptrViterbi27) Encode(arg2 *byte, arg3 *byte)

func (SwigcptrViterbi27) EncodedSize

func (arg1 SwigcptrViterbi27) EncodedSize() (_swig_ret int)

func (SwigcptrViterbi27) GetBER

func (arg1 SwigcptrViterbi27) GetBER() (_swig_ret int)

func (SwigcptrViterbi27) GetPercentBER

func (arg1 SwigcptrViterbi27) GetPercentBER() (_swig_ret float32)

func (SwigcptrViterbi27) IsSSEMode

func (arg1 SwigcptrViterbi27) IsSSEMode() (_swig_ret bool)

func (SwigcptrViterbi27) SetCalculateErrors

func (arg1 SwigcptrViterbi27) SetCalculateErrors(arg2 bool)

func (SwigcptrViterbi27) SwigIsViterbi27

func (p SwigcptrViterbi27) SwigIsViterbi27()

func (SwigcptrViterbi27) Swigcptr

func (p SwigcptrViterbi27) Swigcptr() uintptr

type Tools

type Tools interface {
	Swigcptr() uintptr
	SwigIsTools()
}

func NewTools

func NewTools() (_swig_ret Tools)

type VecDouble

type VecDouble interface {
	Swigcptr() uintptr
	SwigIsVecDouble()
	Size() (_swig_ret int64)
	Capacity() (_swig_ret int64)
	Reserve(arg2 int64)
	IsEmpty() (_swig_ret bool)
	Clear()
	Add(arg2 float64)
	Get(arg2 int) (_swig_ret float64)
	Set(arg2 int, arg3 float64)
}

func NewVecDouble

func NewVecDouble(a ...interface{}) VecDouble

func NewVecDouble__SWIG_0

func NewVecDouble__SWIG_0() (_swig_ret VecDouble)

func NewVecDouble__SWIG_1

func NewVecDouble__SWIG_1(arg1 int64) (_swig_ret VecDouble)

type VecFloat

type VecFloat interface {
	Swigcptr() uintptr
	SwigIsVecFloat()
	Size() (_swig_ret int64)
	Capacity() (_swig_ret int64)
	Reserve(arg2 int64)
	IsEmpty() (_swig_ret bool)
	Clear()
	Add(arg2 float32)
	Get(arg2 int) (_swig_ret float32)
	Set(arg2 int, arg3 float32)
}

func FFTWindowsBartlett

func FFTWindowsBartlett(arg1 int) (_swig_ret VecFloat)

func FFTWindowsBlackman

func FFTWindowsBlackman(arg1 int) (_swig_ret VecFloat)

func FFTWindowsBlackmanHarris

func FFTWindowsBlackmanHarris(a ...interface{}) VecFloat

func FFTWindowsBlackmanHarris__SWIG_0

func FFTWindowsBlackmanHarris__SWIG_0(arg1 int, arg2 int) (_swig_ret VecFloat)

func FFTWindowsBlackmanHarris__SWIG_1

func FFTWindowsBlackmanHarris__SWIG_1(arg1 int) (_swig_ret VecFloat)

func FFTWindowsFlatTop

func FFTWindowsFlatTop(arg1 int) (_swig_ret VecFloat)

func FFTWindowsHamming

func FFTWindowsHamming(arg1 int) (_swig_ret VecFloat)

func FFTWindowsHanning

func FFTWindowsHanning(arg1 int) (_swig_ret VecFloat)

func FFTWindowsKaiser

func FFTWindowsKaiser(arg1 int, arg2 float64) (_swig_ret VecFloat)

func FFTWindowsMakeWindow

func FFTWindowsMakeWindow(arg1 SatHelperFFTWindowsWindowType, arg2 int, arg3 float32) (_swig_ret VecFloat)

func FFTWindowsRectangular

func FFTWindowsRectangular(arg1 int) (_swig_ret VecFloat)

func FiltersLowPass

func FiltersLowPass(arg1 float64, arg2 float64, arg3 float64, arg4 float64, arg5 SatHelperFFTWindowsWindowType, arg6 float64) (_swig_ret VecFloat)

func FiltersRRC

func FiltersRRC(arg1 float64, arg2 float64, arg3 float64, arg4 float64, arg5 int) (_swig_ret VecFloat)

func NewVecFloat

func NewVecFloat(a ...interface{}) VecFloat

func NewVecFloat__SWIG_0

func NewVecFloat__SWIG_0() (_swig_ret VecFloat)

func NewVecFloat__SWIG_1

func NewVecFloat__SWIG_1(arg1 int64) (_swig_ret VecFloat)

type Viterbi27

type Viterbi27 interface {
	Swigcptr() uintptr
	SwigIsViterbi27()
	DecodedSize() (_swig_ret int)
	EncodedSize() (_swig_ret int)
	SetCalculateErrors(arg2 bool)
	GetBER() (_swig_ret int)
	GetPercentBER() (_swig_ret float32)
	IsSSEMode() (_swig_ret bool)
	Decode(arg2 *byte, arg3 *byte)
	Encode(arg2 *byte, arg3 *byte)
}

func NewViterbi27

func NewViterbi27(a ...interface{}) Viterbi27

func NewViterbi27__SWIG_0

func NewViterbi27__SWIG_0(arg1 int, arg2 int, arg3 int) (_swig_ret Viterbi27)

func NewViterbi27__SWIG_1

func NewViterbi27__SWIG_1(arg1 int) (_swig_ret Viterbi27)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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