cellular

package module
v0.0.0-...-c1c2666 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2015 License: Apache-2.0, LGPL-3.0 Imports: 7 Imported by: 0

README

Sample codes

Samples codes available in examples folder.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntennaOfTxNode

type AntennaOfTxNode func(txnodeID int) antenna.SettingAAS

type GenericStruct

type GenericStruct map[string]interface{}

type LinkMetric

type LinkMetric struct {
	RxNodeID     int
	FreqInGHz    float64
	BandwidthMHz float64
	N0           float64
	TxNodeIDs    vlib.VectorI
	TxNodesRSRP  vlib.VectorF
	RSSI         float64
	BestRSRP     float64
	BestRSRPNode int
	BestSINR     float64
	RoIDbm       float64
}
func CreateLink(rxid, txid int, snrDb float64) LinkMetric

CreateLink creates a single tx-rx link with a given SNR with bandwidth=10MHz, Signal power assumed as 0dBm and N0 calculated based on 10MHz bandwidth

func CreateSimpleLink(rxid, txid int, snrDb float64) LinkMetric

func (*LinkMetric) SetParams

func (l *LinkMetric) SetParams(fGHz, bwMHz float64)

type Receiver

type Receiver interface {
	GetID() int
	SetWaitGroup(wg *sync.WaitGroup)
	StartReceive(rxch gocomm.Complex128AChannel)
	IsActive() bool
}

type Transmitter

type Transmitter interface {
	SetWaitGroup(wg *sync.WaitGroup)
	GetChannel() gocomm.Complex128AChannel
	GetID() int
	StartTransmit()
	GetSeed() int64
	IsActive() bool
}

type WSystem

type WSystem struct {
	BandwidthMHz float64
	NoisePSDdBm  float64
}

func NewWSystem

func NewWSystem() WSystem

func (WSystem) EvaluteMetric

func (w WSystem) EvaluteMetric(singlecell *deployment.DropSystem, model *pathloss.PathLossModel, rxid int, afn AntennaOfTxNode) []LinkMetric

Directories

Path Synopsis
Implements a simple phase delay from different n-Antenna elements
Implements a simple phase delay from different n-Antenna elements
Simple SISO Channel interface that creates links and emulates multipath channel between transmitters and receivers Will soon be moved to github.com/wiless/gocomm package
Simple SISO Channel interface that creates links and emulates multipath channel between transmitters and receivers Will soon be moved to github.com/wiless/gocomm package
Implements a simple phase delay from different n-Antenna elements
Implements a simple phase delay from different n-Antenna elements

Jump to

Keyboard shortcuts

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