ExportNMFData [HFSS]

Exports matrix solution data to a file in neutral model format. Available only for Driven solution types with ports. Variables can be held constant by setting their values in the variation field. For example: "length='50mm' width='30mm'". All other independent variables will be treated as NMF parameters.

UI Access N/A
Parameters
Name Type Description
<sourceName> Array Array of selected solutions.
<OutFile> String Full path to the file to write out, including the .nmf extenstion
<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.
<DesignVariationKey> String Design variation.
<DoRenorm> Boolean Specifies whether to renormalize the data before export.
<RenormImped> Double Real impedance value in ohms, for renormalization. Required in syntax, but ignored if DoRenorm is false.
<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. The format to use for the exported data. Options are

0 = Magnitude/Phase

1= Real/Imaginary.

2= db/Phase.

<Precision> Integer Optional. Number of digits precision. If not specified, the default is 6.
Return Value None

 

Python Syntax ExportNMFData(<sourceName>, <OutFile>, <FreqsArray>, <DesignVariationKey>, <DoRenorm>, <RenormImped>, <Pass>, <ComplexFormat>, <Precision>)
Python Example

oModule.ExportNMFData(["Setup1:Sweep1"],

"c:\mydir\out.nmf", ["all"], "", False, 0)