AnsysHfssCrossSectionScatteringCoefficientReadData Method (String, String) |
Namespace:
AGI.Foundation.Communications
Assembly:
AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable ReadData(
string primaryPolarizationFileName,
string orthogonalPolarizationFileName
)
Public Shared Function ReadData (
primaryPolarizationFileName As String,
orthogonalPolarizationFileName As String
) As SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable
public:
static SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable^ ReadData(
String^ primaryPolarizationFileName,
String^ orthogonalPolarizationFileName
)
static member ReadData :
primaryPolarizationFileName : string *
orthogonalPolarizationFileName : string -> SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable
Parameters
- primaryPolarizationFileName
- Type: SystemString
The fully qualified path to a desired Ansys HFSS output file (*.csv) which represents the complex scattering data for the primary polarization. - orthogonalPolarizationFileName
- Type: SystemString
The fully qualified path to a desired Ansys HFSS output file (*.csv) which represents the complex scattering data for the orthogonal polarization.
Return Value
Type:
SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTableA
SphericalTabularMonostaticCrossSectionScatteringCoefficientCrossSectionScatteringMatrixSphericalTable object.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown if primaryPolarizationFileName is .
|
InvalidDataException |
Thrown in the following cases:
- the frequency values in each header cell is not the same value.
- the data from the primary or orthogonal 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.
- the frequency from the primary polarization file does not match the frequency of the orthogonal polarization file.
- the theta (cone) angles and phi (clock) angles from the primary polarization and orthogonal polarization files do not match exactly.
|
See Also