Professional Documents
Culture Documents
To execute an FFT in Python, the easiest approach is to manually create the FFT Calculation
object inside the Python command object with the relevant settings pre-defined. The following
steps should then be followed to set up the results files, run the FFT and accessing the results.
The FFT calculation object requires a time domain simulation results file (ElmRes) and the FFT
calculation output is stored in another results file. These input and output results files need to
be specified. In the Python script, these can be specified by using the FFT calculation object
variables “pRes in” and “pRes out”.
To execute the FFT calculation, simply use the Execute() method of the FFT calculation object:
FFT Calculation.Execute()