skrf.networkSet.NetworkSet.filter

NetworkSet.filter(s)[source]

filter networkset based on a string in Network.name

Notes

This is just

NetworkSet([k for k in self if s in k.name])

Parameters:s (str) – string contained in network elements to be filtered
Returns:ns
Return type:NetworkSet

Examples

>>> ns.filter('monday')