This code proposes to try to reduce correlation at large time, consequence of low frequency noise (known as flicker noise in electronics) using principal component analysis (PCA).