skrf.io.general.write_all
- skrf.io.general.write_all(dict_objs, dir='.', *args, **kwargs)[source]
Write a dictionary of skrf objects individual files in dir.
Each object is written to its own file. The filename used for each object is taken from its key in the dictionary. If no extension exists in the key, then one is added. See
write()
for a list of extensions. If you would like to write the dictionary to a single output file usewrite()
.Note
Any object in dict_objs that is pickl-able will be written.
- Parameters:
See also
Examples
Writing a diction of different skrf objects
>>> from skrf.data import line, short >>> d = {'ring_slot':ring_slot, 'one_port_cal':one_port_cal} >>> rf.write_all(d)