Documentation ¶
Index ¶
- func AssignSymbols(highs, lows ClusterDescriptions)
- func LLoyds(seqUnsorted []int, binCount int)
- func ListenTo(iface *net.Interface, addr *net.UDPAddr, burstChannel chan *Burst) error
- func Quantify(burst *Burst)
- type BitStream
- type BitStreamReader
- func (bs *BitStreamReader) EOF() bool
- func (bs *BitStreamReader) GetBit() int
- func (bs *BitStreamReader) GetNibbleLSB() (int, bool)
- func (bs *BitStreamReader) PeekBit() int
- func (bs *BitStreamReader) PeekNibbleLSB() (int, bool)
- func (bsr *BitStreamReader) RemainingBits() string
- func (bs *BitStreamReader) UngetBit()
- func (bs *BitStreamReader) UngetNBits(n int)
- func (bs *BitStreamReader) UngetNibble()
- type Burst
- type BurstHandler
- type ClusterDescription
- type ClusterDescriptions
- type Pulse
- type Reader
- type Symbol
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignSymbols ¶
func AssignSymbols(highs, lows ClusterDescriptions)
Types ¶
type BitStream ¶
type BitStream struct {
// contains filtered or unexported fields
}
func DecodeManchester ¶
func NewBitStream ¶
func (*BitStream) Reader ¶
func (bs *BitStream) Reader() *BitStreamReader
type BitStreamReader ¶
type BitStreamReader struct {
// contains filtered or unexported fields
}
func (*BitStreamReader) EOF ¶
func (bs *BitStreamReader) EOF() bool
func (*BitStreamReader) GetBit ¶
func (bs *BitStreamReader) GetBit() int
func (*BitStreamReader) GetNibbleLSB ¶
func (bs *BitStreamReader) GetNibbleLSB() (int, bool)
func (*BitStreamReader) PeekBit ¶
func (bs *BitStreamReader) PeekBit() int
func (*BitStreamReader) PeekNibbleLSB ¶
func (bs *BitStreamReader) PeekNibbleLSB() (int, bool)
func (*BitStreamReader) RemainingBits ¶
func (bsr *BitStreamReader) RemainingBits() string
func (*BitStreamReader) UngetBit ¶
func (bs *BitStreamReader) UngetBit()
func (*BitStreamReader) UngetNBits ¶
func (bs *BitStreamReader) UngetNBits(n int)
func (*BitStreamReader) UngetNibble ¶
func (bs *BitStreamReader) UngetNibble()
type BurstHandler ¶
type ClusterDescription ¶
func CombineClusters ¶
func CombineClusters(a, b *ClusterDescription) *ClusterDescription
type ClusterDescriptions ¶
type ClusterDescriptions []*ClusterDescription
func FoldLeadingRunt ¶
func FoldLeadingRunt(s ClusterDescriptions, firstLength int) ClusterDescriptions
func GuessAndGrow ¶
func GuessAndGrow(seqUnsorted []int, tolerance float64, verbose bool) ClusterDescriptions
func (ClusterDescriptions) Lookup ¶
func (s ClusterDescriptions) Lookup(duration int) *ClusterDescription
Click to show internal directories.
Click to hide internal directories.