skrf.network.Network.write_to_json_string

Network.write_to_json_string()[source]

Serialize and convert network to a JSON string.

This is ~3x faster than writing to and reading back from touchstone for a 4port 20,000 point device.

Returns:

jsonstr – JSON string

Return type:

string