A Bayesian approach for the segmentation of series with a functional effect. (April 2019)