computeS11Parameters.py

This analysis script calculates the S11Parameter at one point between two sets of electromagnetic field data. For the history to work correctly, the simulation must have at least two separate sets of electromagnetic fields.

-s <simname>, --simulationName=<simname>

(string, required)

<simname> is the name of the simulation to be analyzed. The file extension should NOT be included in this text field.

-t <histcal>, --historyCAL=<histcal>

(string, required, default = S11_TPCAL)

<histcal> is the name of the history used in the calibration run.

-p <histpat>, --historyPATCH=<histpat>

(string, required, default = S11_TPPATCH)

<histpat> is the name of the patch history used in the test run.

-E <N>, --nElements=<N>

(int, optional, default = 5000)

<N> is the number of time steps in the simulation run.

-e <pts>, --nPoints=<pts>

(int, required, default = 500)

<pts> is the number of points to analyze within the history.

-c <step>, --dt=<step>

(float, required, default = 5.1034579840981468e-13)

The length of one time step. Can be found in the Run tab under Runtime Options.

-n <Z>, --nZeros=<Z>

(int, optional, default = 50000)

<Z> is the total length of the FFT. Can be used for zero padding.

-w, --overwrite

(flag)

Whether a dataset or group should be overwritten if it already exists.

Output

This analyzer script outputs a VizSchema file of the title dataset_SParameters.h5. It can be visualized as a 1D-Field. If the Visualize tab has already been opened the Reload Data button must be clicked in order to load the new file.

If you are running this analyzer from the UI, and the output dataset file already exists, then it will be overwritten each time the analyzer is run, unless you uncheck the Overwrite Existing Files box near the bottom of the Analysis Results pane.

If you are running the analyzer from the command line, the dataset will not be overwritten unless the -w, or --overwrite flag is specified on the command line.

The results of your analyzer may not be written into the output file if you have not specified the overwrite option to be True.