same template for each trial
new script
 all reusable code is now in signal_processing.py