Waveform¶
-
class
pylayers.signal.waveform.
Waveform
(**kwargs)[source]¶ Bases:
dict
st : time domain sf : frequency domain sfg : frequency domain integrated
eval showpsd ip_generic fromfile fromfile2 read gui show
Methods Summary
bandwidth
([th_ratio, Npt])Determine effective bandwidth of the waveform.
eval
()evaluate waveform
fromfile
()get the measurement waveform from WHERE1 measurement campaign
get the measurement waveform from WHERE1 measurement campaign
gui
()Get the Waveform parameter
info
()display information about waveform
Create an energy normalized Gaussian impulse (Usignal)
read
(config)Parameters
ref156
([beta])reference pulse of IEEE 802.15.6 UWB standard
show
([fig])show waveform in time and frequency domain
showpsd
([Tpns])show psd
Methods Documentation
-
bandwidth
(th_ratio=10000, Npt=100)[source]¶ Determine effective bandwidth of the waveform.
- th_ratiofloat
threshold ratio threshold = max(abs())/th_ratio
Npt : Number of points
-
eval
()[source]¶ evaluate waveform
The \(\lambda/4*\pi\) factor which is necessary to get the proper budget link ( from the Friis formula) is introduced in this function.
-
fromfile
()[source]¶ get the measurement waveform from WHERE1 measurement campaign
This function is not yet generic
>>> from pylayers.signal.waveform import * >>> wav = Waveform(typ='W1compensate') >>> wav.show()
-
fromfile2
()[source]¶ get the measurement waveform from WHERE1 measurement campaign
This function is not yet generic
>>> from pylayers.signal.waveform import * >>> wav = Waveform(typ='W1offset') >>> wav.show()
-
info
()[source]¶ display information about waveform
>>> from pylayers.signal.waveform import * >>> w = Waveform(typ='generic',WGHz=0.499,fcGHz=4.49,fsGHz=100,threshdB=3,twns=30) >>> w.show() >>> plt.show()
-
ip_generic
()[source]¶ Create an energy normalized Gaussian impulse (Usignal)
ip_generic(self,parameters)
-