set f_unit if not set
@@ -483,6 +483,8 @@ class Network(object):
if "f" in kwargs.keys():
+ if f_unit is None:
+ f_unit = "ghz"
kwargs["frequency"] = Frequency.from_f(kwargs.pop("f"), unit=f_unit)
for attr in PRIMARY_PROPERTIES + ['frequency', 'noise', 'noise_freq']:
