`TRCoefficientMathScript`

Transmission reflection coefficient math script data that can be plotted.

## Example

app = pf.GetApplication() app:NewProject() app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Wire_Cross_tht45_eta0.fek]])-- Create a TRCoefficient math scriptTRCoefficientMathScript = app.MathScripts:Add(pf.Enums.MathScriptTypeEnum.TRCoefficient) script = [[ dataSet = pf.TRCoefficients.GetDataSet("Wire_Cross_tht45_eta0.StandardConfiguration1.TRCoefficients1") offset = 1 for freqIndex = 1, #dataSet.Axes["Frequency"] do indexedValue = dataSet[freqIndex] indexedValue.CoPolarisedReflectionCoefficient = indexedValue.CrossPolarisedReflectionCoefficient + offset end return dataSet ]] TRCoefficientMathScript.Script = script TRCoefficientMathScript:Run()-- Plot the math scriptgraph = app.CartesianGraphs:Add() TRCoefficientTrace1 = graph.Traces:Add(TRCoefficientMathScript) TRCoefficientTrace1.Quantity.Type = pf.Enums.TRCoefficientQuantityTypeEnum.Reflection

## Inheritance

The TRCoefficientMathScript object is derived from the MathScript object.

## Property List

## Method List

- Delete ()
- Delete the math script.
- Duplicate ()
- Duplicate the math script. (Returns a MathScript object.)
- GetDataSet ()
- Returns a data set containing the math script values. (Returns a DataSet object.)
- Run ()
- Run the math script.
- StoreData ()
- Creates a local stored version of the result data. (Returns a ResultData object.)

## Property Details

## Method Details

- Delete ()
- Delete the math script.
- Duplicate ()
- Duplicate the math script.
- Return
- MathScript
- The duplicated math script.

- GetDataSet ()
- Returns a data set containing the math script values.
- Return
- DataSet
- The data set containing the math script values.

- Run ()
- Run the math script.
- StoreData ()
- Creates a local stored version of the result data.
- Return
- ResultData
- The new stored data.