Click or drag to resize

AnsysHfssCrossSectionScatteringCoefficientReadData Method (TextReader)

A static class method for reading in the Ansys HFSS output data (*.csv) for the primary polarization and producing a SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable.

Namespace:  AGI.Foundation.Communications
Assembly:  AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 22.2.414.0 (22.2.414.0)
public static SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable ReadData(
	TextReader primaryPolarizationSource


Type: System.IOTextReader
A TextReader used to read in the Ansys HFSS output data (*.csv) which represents the complex scattering data for the primary polarization.

Return Value

Type: SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable
A SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable object.
ArgumentNullException Thrown if primaryPolarizationSource is .

Thrown in the following cases:

  • the frequency values in each header cell is not the same value.
  • the data from the primary polarization source is not a valid CSV format.
  • the data values in the file can not be converted to a complex value.
  • the number of theta (cone) angles and phi (clock) angles are not greater than 1.
See Also