skrf.frequency.Frequency.from_f

classmethod Frequency.from_f(f, *args, **kwargs)

Alternative constructor of a Frequency object from a frequency vector,

Parameters :

f : array-like

frequency vector

*args, **kwargs : arguments, keyword arguments

passed on to __init__().

Returns :

myfrequency : Frequency object

the Frequency object

Examples

>>> f = np.linspace(75,100,101)
>>> rf.Frequency.from_f(f, unit='ghz')

Previous topic

skrf.frequency.Frequency.copy

Next topic

skrf.frequency.Frequency.labelXAxis

This Page