compute optimal offsets for arterial signals