I would like to output the amplitude and phase of the point spread function to a file. The PSF is calculated using an FFT, I would like to output the entire FFT array to a file. How can I do this?
Synopsis
Exporting FFT data to a file
Solution
The graphical PSF analysis uses an OSLO internal routine that calculates the FFT and plots the PSF directly to the screen. The FFT data calculated here cannot be accessed by the user, so this approach is not an option. In OSLO Premium, the "fpa" command calculates and prints the FFT data (amplitude and phase) to the text window. Once the data is in the text window, you can cut and paste it into an external file (such as an Excel spreadsheet), or if you wanted to automate the process, you could write a CCL routine that moves the FFT data directly to an external file. Note: The "fpa" command is not available in OSLO Standard, Light, or LT