Tdd

class pylayers.measures.mesuwb.Tdd(d)[source]

Bases: pylayers.util.project.PyLayers

Time Domain Deconv Data

ch1

signal on channel 1 (ch.TUchannel)

ch2

signal on channel 2 (ch.TUchannel)

ch3

signal on channel 3 (ch.TUchannel)

ch4

signal on channel 4 (ch.TUchannel)

tx

exitation waveform ( Impulse feeding Tx antenna) (bs.TUsignal)

time is expressed in nano seconds

PL

Calculate NB Path Loss on a given UWB frequency band

box

return min and max value

show

display the 4 channels

show_span(delay,wide)

Methods Summary

PL(fmin, fmax, B)

Calculate NB Path Loss on a given UWB frequency band

box()

evaluate min and max of the 4 channels

plot([type])

type : raw | filter

show([fig, delay, display, title, col, …])

show the 4 Impulse Radio Impulse responses

show_span([delay, wide])

show span

Methods Documentation

PL(fmin, fmax, B)[source]

Calculate NB Path Loss on a given UWB frequency band

fmin

start frequency GHz

fmax

stop frequency GHz

B

NB bandwith (GHz)

>>> from pylayers.util.project import *
>>> from pylayers.measures.mesuwb import *
>>> import matplotlib.pylab as plt
>>> M  = UWBMeasure(1)
>>> T  = M.tdd
>>> freq,pl = T.PL(3,7,10)

(Source code)

box()[source]

evaluate min and max of the 4 channels

>>> from pylayers.measures.mesuwb import *
>>> M  = UWBMeasure(1)
>>> T  = M.tdd
>>> bo = T.box()
plot(type='raw')[source]

type : raw | filter

show(fig=[], delay=array([[0], [0], [0], [0]]), display=True, title=['Rx1', 'Rx2', 'Rx3', 'Rx4'], col=['k', 'b', 'g', 'c'], xmin=0, xmax=200, typ='v')[source]

show the 4 Impulse Radio Impulse responses

delay

delay values to be displayed vertically [tau0 - toa_th toa_cum toa_max , taum-taurms taum+taurms]

display

if display == False the first subplot is reserved for displaying the Layout

>>> from pylayers.measures.mesuwb import *
>>> import matplotlib.pylab as plt
>>> ntx = 2
>>> M  = UWBMeasure(ntx)
>>> T  = M.tdd
>>> fig = plt.figure()
>>> t = plt.title('test Tdd.show  Tx='+str(ntx))
>>> T.show()

(Source code)

show_span(delay=array([0, 0, 0, 0]), wide=array([0, 0, 0, 0]))[source]

show span

>>> from pylayers.util.project import *
>>> from pylayers.measures.mesuwb import *
>>> M  = UWBMeasure(2)
>>> T  = M.tdd
>>> s1 = T.show_span()
>>> plt.show()

(Source code)