skrf.networkSet.NetworkSet.from_dir

classmethod NetworkSet.from_dir(dir='.', *args, **kwargs)[source]

Create a NetworkSet from a directory containing Networks

This just calls

rf.NetworkSet(rf.read_all_networks(dir), *args, **kwargs)
Parameters:
  • dir (str) – directory containing Network files.
  • **kwargs (*args,) – passed to NetworkSet constructor

Examples

>>> my_set = rf.NetworkSet.from_dir('./data/')