From 4de3f0782499d67dfe5015589b2960755814ffe8 Mon Sep 17 00:00:00 2001 From: Spencer Fleming Date: Tue, 17 Sep 2019 16:14:44 -0600 Subject: [PATCH] Fixed some more conflicts --- src/GaussianFitter.cpp | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/src/GaussianFitter.cpp b/src/GaussianFitter.cpp index 40c6745..02f2a65 100644 --- a/src/GaussianFitter.cpp +++ b/src/GaussianFitter.cpp @@ -648,17 +648,8 @@ int GaussianFitter::guess_peaks(std::vector* results, } noise_level = ((float)max)*.09; -<<<<<<< HEAD spdlog::error("Max = {} Noise = {}", max, ((float)max)*.09); - - -======= - #ifdef DEBUG - std::cerr << "Max = " << max << " Noise = " << ((float)max)*.09 - << std::endl; - #endif - ->>>>>>> diagnostics_driver + if (noise_level < 6){ noise_level = 6; } @@ -771,19 +762,12 @@ int GaussianFitter::guess_peaks(std::vector* results, guess = guess_lt0_default; } -<<<<<<< HEAD - spdlog::debug( + if (log_diagnostics) { + spdlog::debug( "Guess for peak {}: amp {}; time: {}; width: {}", i, ampData[peak_guesses_loc[i]], idxData[peak_guesses_loc[i]], guess); -======= - if (log_diagnostics) { - spdlog::debug( - "Guess for peak {}: amp {}; time: {}; width: {}", - i, ampData[peak_guesses_loc[i]], - idxData[peak_guesses_loc[i]], guess); } ->>>>>>> diagnostics_driver if(guess > 20) {guess = 10;} peaks_found++;