I'm working on pupil diameter data caused by emotions and I get two signals for positive and negative emotions. I'm looking for a way to find the differences between them using the whole signal rather than portion of it. I used 1st and 2nd derivatives but result is not clear and differences are not obvious.