An implementation of the cusum offline change detection, as proposed by Basseville in ftp://ftp.irisa.fr/local/as/mb/k11.pdf