skrf.io.general.TouchstoneEncoder¶
- class skrf.io.general.TouchstoneEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None)[source]¶
Serializes Network object by converting arrays to lists, splitting complex numbers into real and imaginary, and breaking down frequency objects into dicts.
Attributes
Methods
Constructor for JSONEncoder, with sensible defaults. |
|
Implement this method in a subclass such that it returns a serializable object for |
|
Return a JSON string representation of a Python data structure. |
|
Encode the given object and yield each string representation as available. |