mwavepy.network.load_all_touchstones

mwavepy.network.load_all_touchstones(dir='.', contains=None, f_unit=None)

loads all touchtone files in a given dir into a dictionary.

Parameters :

dir : string

the path

contains : string

a string the filenames must contain to be loaded.

f_unit : [‘hz’,’mhz’,’ghz’]

the frequency unit to assign all loaded networks. see frequency.Frequency.unit.

Returns :

ntwkDict : a dictonary with keys equal to the file name (without

a suffix), and values equal to the corresponding ntwk types

Examples

>>> ntwk_dict = mv.load_all_touchstones('.', contains ='20v')

Previous topic

mwavepy.network.impedance_mismatch

Next topic

mwavepy.network.write_dict_of_networks

This Page