Exploit

class pylayers.simul.exploit.Exploit(simnetfile='simulnet.ini')[source]

Bases: object

class Exploit

load

Methods Summary

compute()

Compute Raytracing simulation with the given simulation files

load()

Load simulnet_data configuration file

on_key(event)

Events on key stroke

onclick(event)

Events on click

pltcir(itx, irx, pn[, fig])

plot channel impulse response for Tx,Rx and a specified position

pltciri(itx, irx)

plot channel impulse response interactively.

srchpoint(x, y)

Search from the closest point (x,y) into self.tx.position and self.rx.position

Methods Documentation

compute()[source]

Compute Raytracing simulation with the given simulation files

load()[source]

Load simulnet_data configuration file

on_key(event)[source]

Events on key stroke

onclick(event)[source]

Events on click

pltcir(itx, irx, pn, fig=[])[source]

plot channel impulse response for Tx,Rx and a specified position

itxint

node number

irxint

node number

pnint

position index of the Rx

fig :

pltciri(itx, irx)[source]

plot channel impulse response interactively. display all nodes position of Tx and Rx and choose for which link the CIR is displayed.

Once self.pltciri(node1,node2) is called :

  1. Press ‘t’ on the displayed graph to chose the Tx

  2. Press ‘x’ on the displayed graph to chose the Rx

  3. Press Enter to display CIR betwen Tx-Rx

itxint

node number

irxint

node number

usage >>> W=W2() >>> W.pltciri(6,1)

srchpoint(x, y)[source]

Search from the closest point (x,y) into self.tx.position and self.rx.position

Nint

node ID

posint

index of the closest position