cellular

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0, LGPL-3.0 Imports: 9 Imported by: 3 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Gitter

Sample codes

Samples codes available in examples folder.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEFAULTERR_PL float64 = 999999

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
	//AgainDb      float64
	BestCouplingLoss  float64
	MaxTxAg           float64 // Tx AAS Gain
	MaxRxAg           float64 // Rx AAS Gain
	AssoTxAg          float64 // Tx AAS Gain for Associated Link
	AssoRxAg          float64 // Rx AAS Gain for Associated Link
	MaxTransmitBeamID int
}
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 WSystem

type WSystem struct {
	FrequencyGHz float64
	BandwidthMHz float64
	NoisePSDdBm  float64
	ActiveCells  vlib.VectorI
	OtherLossFn  func(plmodel CM.PLModel, txnode, rxnode deployment.Node, isLOS bool) float64
}

func NewWSystem

func NewWSystem() WSystem

func (*WSystem) EvaluateLinkMetricV2

func (w *WSystem) EvaluateLinkMetricV2(singlecell *deployment.DropSystem, model CM.PLModel, rxid int, afn AntennaOfTxNode) LinkMetric

EvaluteLinkMetricV2 evaluates the link metric with New PL model interface

func (*WSystem) EvaluateLinkMetricV3

func (w *WSystem) EvaluateLinkMetricV3(singlecell *deployment.DropSystem, model CM.PLModel, rxid int, afn AntennaOfTxNode, fid *os.File) LinkMetric

EvaluateLinkMetricV3 evaluates the link metric with PL model interface and also dumps details of the coupling loss into linklogfname (csv) if linklogfname="" it does not dump EvaluateLinkMetricV3 evaluates the link metric with PL model interface and also dumps details of the coupling loss into linklogfname (csv) if linklogfname="" it does not dump

Directories

Path Synopsis
Implements a simple phase delay from different n-Antenna elements
Implements a simple phase delay from different n-Antenna elements
Code contribution by istdev Implements a simple phase delay from different n-Antenna elements Code contribution by istdev Implements a simple phase delay from different n-Antenna elements Implements a simple phase delay from different n-Antenna elements
Code contribution by istdev Implements a simple phase delay from different n-Antenna elements Code contribution by istdev 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
⌂ 换网址