add PSD and PS writing to the FFT writer