implement snapshot calculation with waiting for total functions of spectral acquisition