Simple pre-processing of pupillator data