conv
rfnetwork.core.units.conv
- class rfnetwork.core.units.conv
Bases:
objectUnit conversion functions. Follows the same convention as matlab’s units_ratio: to_from () i.e. To convert from feet to meters: <meters> = conv.m_ft(<feet>)
m : meter km : kilometer ft : feet in : inch nmi : nautical mile mi : mile
v : Volts w : Watts z : Impedance (complex) dbm : dB (10log10) ref to 1mW db10 : dB (10log10) db20 : dB (20log10) lin : ratio in linear scale vswr : voltage standing wave ratio gamma : reflection coeff
aeff : antenna effective aperture (linear) dir : antenna maximum directivity (linear) e : plane wave peak electric field (V/m) wm2 : average power density (W/m^2)
c : Celsius f : Fahrenheit k : Kelvin
Methods
conv.aeff_dir([d0])conv.c_f()conv.c_k()conv.dbm_v([R])conv.dir_aeff(aeff)conv.f_c()conv.gamma_z([refz])conv.k_c()conv.v_dbm([R])conv.v_w([R])conv.w_v([R])conv.z_gamma([refz])Attributes