set_units#

Emit.set_units(unit_type, unit_value)[source]#

Set units for the EMIT design.

Parameters:
unit_typestr

System of units.

unit_valuestr

Units to use.

PowermW, W, kW, dBm, dBW
FrequencyHz, kHz, MHz, GHz, THz
Lengthpm, nm, um, mm, cm, dm, meter, km, mil, in, ft, yd, mile
Timeps, ns, us, ms, s
VoltagemV, V
Data Ratebps, kbps, Mbps, Gbps
ResistanceuOhm, mOhm, Ohm, kOhm, megOhm, GOhm
Returns:
Bool

True if the units were successfully changed and False if there was an error.