Loads CST far-field data and reorganizes it into a symmetric coordinate format.
More...
Loads CST far-field data and reorganizes it into a symmetric coordinate format.
This function parses a CST far-field export file and applies post-processing to reorient and clean the data for symmetric coordinate usage. It merges overlapping phi sections, flips hemispheres when needed, removes duplicates, and trims to -90 <= theta <= 90 degrees.
- Parameters
-
filename | Path to the far-field text file exported from CST Studio |
- Return values
-
EdB | Normalized total electric field magnitude in dB |
Etheta | Complex theta-polarized field component |
Ephi | Complex phi-polarized field component |
THETA | Elevation angle grid [rad] or vector |
PHI | Azimuth angle grid [rad] or vector |