EEG Processing Scripts Replace the listener.py in the ROS package with this script. Edit the name of the text file you want the EEG data written to in the listener.py. Use the process.py script to perform FFT and plot the graph of the signals in frequency domain.