Ejemplo n.º 1
0
 public static int perform_wavelet_denoising(double[] data, int data_len, string wavelet, int decomposition_level)
 {
     if (System.Environment.Is64BitProcess)
     {
         return(DataHandlerLibrary64.perform_wavelet_denoising(data, data_len, wavelet, decomposition_level));
     }
     else
     {
         return(DataHandlerLibrary32.perform_wavelet_denoising(data, data_len, wavelet, decomposition_level));
     }
 }
Ejemplo n.º 2
0
        public static int perform_wavelet_denoising(double[] data, int data_len, string wavelet, int decomposition_level)
        {
            switch (PlatformHelper.get_library_environment())
            {
            case LibraryEnvironment.x64:
                return(DataHandlerLibrary64.perform_wavelet_denoising(data, data_len, wavelet, decomposition_level));

            case LibraryEnvironment.x86:
                return(DataHandlerLibrary32.perform_wavelet_denoising(data, data_len, wavelet, decomposition_level));

            case LibraryEnvironment.Linux:
                return(DataHandlerLibraryLinux.perform_wavelet_denoising(data, data_len, wavelet, decomposition_level));

            case LibraryEnvironment.MacOS:
                return(DataHandlerLibraryMac.perform_wavelet_denoising(data, data_len, wavelet, decomposition_level));
            }

            return((int)CustomExitCodes.GENERAL_ERROR);
        }