ExportNetworkData

Exports matrix solution data to a file. Available only for Driven solution types with ports.

UI Access N/A
Parameters
Name Type Description
<DesignVariationKey> String Design variation key. Pass empty string for the current nominal variation.
<SolnSelectionArray> Array Array of selected solutions.

Array(<SolnSelector>, <SolnSelector>, ...)

If more than one array entry, this indicates a combined Interpolating sweep.

<SolnSelector> String Solution setup name and solution name, separated by a colon.
<FileFormat> Integer File format value.

2 : Tab delimited spreadsheet format (.tab)

3 : Touchstone (.sNp)

4 : CitiFile (.cit)

7 : Matlab (.m)

8 : Terminal Z0 spreadsheet

<OutFile> String Full path to the file to write out.
<FreqsArray> Array The frequencies to export. The <FreqsArray> argument contains a vector (e.g. "1GHz", "2GHz", ...) to use, or "all". To export all frequencies, use Array("all"). If no frequencies are specified, all frequencies are used.
<DoRenorm> Boolean For Touchstone format only. Specifies whether to renormalize the data before export.
<RenormImped> Double For Touchstone format only. Real impedance value in ohms, for renormalization. Required in syntax, but ignored if DoRenorm is false.
<DataType> Array Optional. Type: "S", "Y", or "Z". The matrix to export.
<pass> Integer Optional. The pass to export. This is ignored if the sourceName is a frequency sweep. Leaving out this value or specifying -1 gets all passes.
<ComplexFormat> Integer Optional. Type: "0", "1", or "2"

The format to use for the exported data.

0 = Magnitude/Phase.

1= Real/Imaginary.

2= db/Phase.

<Precision> Integer Optional. Touchstone number of digits precision. Default if not specified is 15.
<UseExportFreqs> Boolean Specifies whether to use export frequencies.
<IncludeGammaComments> Boolean Touchstone only. Specifies whether to include Gamma and Impedance comments.
<SupportNonStdExport> Boolean Specifies whether to support non-standard Touchstone extensions for mixed reference impedance.
Return Value None.

 

Python Syntax ExportNetworkData(<DesignVariationKey>, <SolnSelectionArray>, <SolnSelector>, <FileFormat>, <OutFile>, <FreqsArray>, <DoRenorm>, <RenormImped>, [Optional <DataType>], [Optional <pass>], [Optional <ComplexFormat>], [Optional <Precision>], [Optional <UseExportFreqs>], [Optional <IncludeGammaComments>], [Optional <SupportNonStdExport>])
Python Example

oModule.ExportNetworkData("", ["Setup1:Sweep1"], 3, "C://Documents/package_HFSSDesign1.s4p",

['all'], True, 50, "S", -1, 0, 15, True, True, True