rtlsdr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PPMToHz

func PPMToHz(ppm int, centerHz uint32) int64

PPMToHz returns the absolute-Hz offset implied by a PPM value at the given center frequency. Useful when reporting calibration results.

Types

type DCBlocker

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

DCBlocker subtracts a slowly-tracked DC bias from a complex sample stream. Useful because RTL-SDR dongles park noticeable DC at the tuned center bin.

func NewDCBlocker

func NewDCBlocker(alpha float64) *DCBlocker

func (*DCBlocker) Process

func (d *DCBlocker) Process(in []complex64)

type IQBalancer

type IQBalancer struct {
	GainQ float32 // amplitude scale for Q
	Phase float32 // radians, applied to Q via Q' = Q*cos - I*sin
}

IQBalancer applies a single-coefficient IQ-imbalance correction (gain + phase) measured against a calibration tone. Coefficients are 1.0 and 0.0 by default (passthrough).

func (IQBalancer) Process

func (b IQBalancer) Process(in []complex64)

Directories

Path Synopsis
Package purego is the pure-Go RTL-SDR driver — the sdr.Device / sdr.Driver implementation that composes the platform USB transport (internal/sdr/rtlsdr/usb), the RTL2832U register layer (internal/sdr/rtlsdr/rtl2832u), and the per-chip tuner drivers (internal/sdr/rtlsdr/tuners).
Package purego is the pure-Go RTL-SDR driver — the sdr.Device / sdr.Driver implementation that composes the platform USB transport (internal/sdr/rtlsdr/usb), the RTL2832U register layer (internal/sdr/rtlsdr/rtl2832u), and the per-chip tuner drivers (internal/sdr/rtlsdr/tuners).
Package rtl2832u is the pure-Go register / I2C-bridge layer that sits between the platform USB transport (internal/sdr/rtlsdr/usb) and the per-tuner drivers.
Package rtl2832u is the pure-Go register / I2C-bridge layer that sits between the platform USB transport (internal/sdr/rtlsdr/usb) and the per-tuner drivers.
Package tuners houses the per-chip tuner drivers that sit between the RTL2832U register layer (internal/sdr/rtlsdr/rtl2832u) and the top-level [sdr.Device].
Package tuners houses the per-chip tuner drivers that sit between the RTL2832U register layer (internal/sdr/rtlsdr/rtl2832u) and the top-level [sdr.Device].
Package usb is the platform-abstraction layer that the pure-Go RTL-SDR driver speaks to.
Package usb is the platform-abstraction layer that the pure-Go RTL-SDR driver speaks to.

Jump to

Keyboard shortcuts

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