computeFieldMaxAmplitude.py

This analyzer reads the Field data and writes the max amplitude to a history.

-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.

-F <fldname>, --fieldName=<fldname>

(string, required)

<fldname> is the name of the field to rewrite, for example EdgeE.

-o <outhistname>, --outputHistoryName=<outhistname>

(string, optional)

<outhistname> is the file into which the new time series will be written.

-w, --overwrite

(flag)

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

Output

An additional history is output with the max amplitude of the Field data.

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.