Documentation ¶
Overview ¶
Package hamradio provides the defintion of the most basic data types that are used in amateur radio.
Index ¶
Constants ¶
This section is empty.
Variables ¶
SUnits contains all S-units (S0 - S9).
Functions ¶
This section is empty.
Types ¶
type DBRange ¶
type DBRange struct {
From, To DB
}
DBRange represents a range of dB.
func (DBRange) Normalized ¶
Normalized returns a normalized version of this dB range, where From <= To.
type FrequencyRange ¶
type FrequencyRange struct {
From, To Frequency
}
FrequencyRange represents a range of frequencies.
func (FrequencyRange) Center ¶
func (r FrequencyRange) Center() Frequency
Center frequency of this range.
func (FrequencyRange) Contains ¶
func (r FrequencyRange) Contains(f Frequency) bool
Contains indicates if the given frequency is within this frequency range.
func (FrequencyRange) Expanded ¶
func (r FrequencyRange) Expanded(Δ Frequency) FrequencyRange
Expanded returns a new frequency range expanded by the given Δ.
func (*FrequencyRange) Shift ¶
func (r *FrequencyRange) Shift(Δ Frequency)
Shift this frequency range by the given Δ.
func (FrequencyRange) String ¶
func (r FrequencyRange) String() string
func (FrequencyRange) Width ¶
func (r FrequencyRange) Width() Frequency
Width of this frequency range in Hz.
Directories ¶
Path | Synopsis |
---|---|
Package bandplan provides a definition of the IARU bandplans (currently only region 1 for HF).
|
Package bandplan provides a definition of the IARU bandplans (currently only region 1 for HF). |
Package callbook allows to retrieve information about a call from various online sources.
|
Package callbook allows to retrieve information about a call from various online sources. |
Package callsign implements a representation and handling of callsigns.
|
Package callsign implements a representation and handling of callsigns. |
Package cfg implements a library to access configuration data in a JSON file.
|
Package cfg implements a library to access configuration data in a JSON file. |
cmd
|
|
callbook
callbook retrieves information about a given callsign from hamqth.com and qrz.com and prints this information.
|
callbook retrieves information about a given callsign from hamqth.com and qrz.com and prints this information. |
cw
cw uses a cwdaemon server running locally on port 6789 to output CW.
|
cw uses a cwdaemon server running locally on port 6789 to output CW. |
dxcc
dxcc prints information about a given DXCC prefix.
|
dxcc prints information about a given DXCC prefix. |
latlon
latlon calculates the distance and azimuth between two coordinates given as pairs of latitude and longitude.
|
latlon calculates the distance and azimuth between two coordinates given as pairs of latitude and longitude. |
locator
locator calculates latitude and longitude for a given maidenhead locator.
|
locator calculates latitude and longitude for a given maidenhead locator. |
supercheck
supercheck uses the Super Check Partial callsign database from http://www.supercheckpartial.com/ to find callsigns that are similar to a given string.
|
supercheck uses the Super Check Partial callsign database from http://www.supercheckpartial.com/ to find callsigns that are similar to a given string. |
Package cwclient provides a client library for the cwdaemon (https://github.com/acerion/cwdaemon) server application.
|
Package cwclient provides a client library for the cwdaemon (https://github.com/acerion/cwdaemon) server application. |
Package dxcc provides information about DXCC prefixes which are stored in a cty.dat file.
|
Package dxcc provides information about DXCC prefixes which are stored in a cty.dat file. |
Package latlon implements handling of geodetic coordinates as latitude and longitude.
|
Package latlon implements handling of geodetic coordinates as latitude and longitude. |
Package locator implements the handling of maidenhead locators (https://en.wikipedia.org/wiki/Maidenhead_Locator_System)
|
Package locator implements the handling of maidenhead locators (https://en.wikipedia.org/wiki/Maidenhead_Locator_System) |
Package scp provides access to the Super Check Partial (http://www.supercheckpartial.com) database stored in the SCP format.
|
Package scp provides access to the Super Check Partial (http://www.supercheckpartial.com) database stored in the SCP format. |
Click to show internal directories.
Click to hide internal directories.