Code for processing fluorescence + other traces