ImportSet
Sets of imported data from external files.
Example
app = pf.GetApplication() app:NewProject() graph = app.CartesianGraphs:Add() -- Import S-parameter results from the specified Touchstone file importSet = app:ImportResults(FEKO_HOME..[[/shared/Resources/Automation/SParameters.s2p]], pf.Enums.ImportFileTypeEnum.Touchstone) -- Duplicate the import set and change the source file of the copied import set -- to a different Touchstone file importSetCopy = importSet:Duplicate() importSetCopy.Filename = FEKO_HOME..[[/shared/Resources/Automation/SParameters.s3p]] -- Retrieve the result data from the import sets. s2p = importSet.ImportedData[1] s3p = importSetCopy.ImportedData[1] -- Plot the result data on the Cartesian graph and change the trace labels accordingly s2pTrace = graph.Traces:Add(s2p) s2pTrace.Label = "s2p" s3pTrace = graph.Traces:Add(s3p) s3pTrace.Label = "s3p"
Usage locations
The ImportSet object can be accessed from the following locations:
- Methods
- ImportSet object has method Duplicate().
- ImportedDataSetCollection collection has method Items().
- ImportedDataSetCollection collection has method Item(number).
- ImportedDataSetCollection collection has method Item(string).
- Application object has method ImportResults(string, ImportFileTypeEnum).
- Application object has method ImportResults(List of string, ImportFileTypeEnum).
Property List
Collection List
- ImportedData
- The collection of imported data in the import set. (ImportedDataCollection of ResultData.)
Method List
Property Details
Collection Details
- ImportedData
- The collection of imported data in the import set.
Method Details
- Delete ()
- Delete the import set.
- Duplicate ()
- Create a duplicate import set.
- Return
- ImportSet
- The duplicated import set.
- Refresh ()
- Refresh the imported data.