The reason I wish to average over all data sets is because I am trying to model the data without using an ideal reference waveform. That is, I would like to baseline correct/detrend the data with respect to the data alone in each trial, and then average over all data sets to increase the SNR. So, I guess my main question is, how do I baseline correct my raw data?