read all the data first (reject chan, downsample, etc) and then run analysis