skrf.networkSet.NetworkSet.write_mdif

NetworkSet.write_mdif(filename, values=None, data_types=None, comments=None)[source]

Convert a scikit-rf NetworkSet object to a Generalized MDIF file.

Parameters:
  • filename (string) – Output MDIF file name.

  • values (dictionary or None. Default is None.) – The keys of the dictionnary are MDIF variables and its values are a list of the parameter values. If None, then the values will be set to the NetworkSet names and the datatypes will be set to “string”.

  • data_types (dictionary or None. Default is None.) – The keys are MDIF variables and the value are datatypes specified by the following strings: “int”, “double”, and “string”

  • comments (list of strings) – Comments to add to output_file. Each list items is a separate comment line

See also

from_mdif

Create a NetworkSet from a MDIF file.

params_values

parameters values

params_types

parameters types