Warning: The following command is preliminary. Its syntax may change. Be prepared to make changes to legacy scripts.

ExportCitiFile

Writes the S-parameters to disk in Citifile format (*.cit text file).

UI Access

From the Network Data Explorer tab, select File > Save As to open a Save As explorer window. Then select Citifile (*.cit) from the Save as type: drop-down menu.

Parameters
Name Type Description
<filePath> String The full path to the file.
<matrixType> Integer

One of the following:

  • 0 – S-Parameters
  • 1 – Y-Parameters
  • 2 – Z-Parameters
  • 3 – Gamma
  • 4 – Impedance
Note: The default value is 0.
<formalType> Integer

One of the following:

  • 0 – Magnitude/Angle (degrees)
  • 1 – Real/Imaginary
  • 2 – dB/Angle (degrees)
Note: The default value is 0.
<precision> Integer The number of significant figures.
Note: The default value is 10.
<frequencies> Array of Doubles A subset of the calculated frequencies. Any array values that don’t have calculated data will be ignored. An empty array will cause all frequencies to be written.
Note: The default value is an empty array.
Return Value Boolean True if file was successfully written; else False.

 

Python Syntax ExportCitiFile()
Python Example

oNDE = oDesktop.GetTool("ndExplorer")

success = oData.ExportCitiFile("D:\folder\ne133.cit", 0, 1, 12, [])