dsexpr()

Evaluate a dataset expression to a dataset variable

Syntax
dsexpr(Expression, DataSet, UseCache)

Name Description Range Type Default Required
Expression Expression to be evaluated   string   yes
DataSet Full-path to the dataset file   string   yes
UseCache Use Dataset that has already been cached [True, False] boolean False no

Examples

In this example, it is assumed that the dataset spar.ds contains S-parameters at frequencies of 1 and 2 GHz.
S11Var=dsexpr("S(1,1)", "spar.ds")
returns a dataset variable containing S(1,1)
S11A=dstoarray(S11Var)
returns an array of S(1,1) value

See Also

access_data()

Notes/Equations

The dsexpr() function executes a simulation expression on the dataset and returns the results as a dataset variable, which can be processed further to access the required data. If the dataset has already been accessed before and has been cached, then the cached value can be accessed by setting the UseCache argument as True.

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources