skrf.media.freespace.Freespace.line
- Freespace.line(d, unit='deg', z0=None, embed=False, **kwargs)
Transmission line of a given length and impedance.
The units of length are interpreted according to the value of unit. If z0 is not None, then a line specified impedance is produced. if embed is also True, then the line is embedded in this media’s z0 environment, creating a mismatched line.
- Parameters:
d (number) – the length of transmission line (see unit argument)
unit (['deg','rad','m','cm','um','in','mil','s','us','ns','ps']) – the units of d. See
to_meters()
, for detailsz0 (number, string, or array-like or None) – the characteristic impedance of the line, if different from self.z0. To set z0 in terms of normalized impedance, pass a string, like z0=’1+.2j’
embed (bool) – deprecated parameter that only emmit a warning if set to true.
**kwargs (key word arguments) – passed to
match()
, which is called initially to create a ‘blank’ network.
- Returns:
line – matched transmission line of given length
- Return type:
Network
object
Examples
>>> my_media.line(1, 'mm', z0=100) >>> my_media.line(90, 'deg', z0='2') # set z0 as normalized impedance