Simulate drift on stack - HenriquesLab/NanoJ-eSRRF GitHub Wiki
To apply a simulated drift to a time series a drift in x and y can be defined as a polynomial with the first and second order coefficients a1 and a2 and gaussian noise with the amplitude n.