Anonymous - 2024-05-26

Originally posted by: StudioDanton

After analysing ezCon.py, I've found that every time I find downsamplingStep there is a variable :
antXTVTDLen = 100 # quantity of spectra after downsampling wich suggest a minimum of samples is needed in input.

To overcome the error and generate the other plots, I've add several time a small protection with the if bloc :

        # downsampling by averaging
        downsamplingStep = antLen // antXTVTDLen
        if downsamplingStep < 1:
            print('  Error downsamplingStep =', downsamplingStep)
            return(1)