Skip to content

Commit

Permalink
Fixed some more conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerFleming committed Sep 17, 2019
1 parent 18a46c3 commit 4de3f07
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions src/GaussianFitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,17 +648,8 @@ int GaussianFitter::guess_peaks(std::vector<Peak*>* 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;
}
Expand Down Expand Up @@ -771,19 +762,12 @@ int GaussianFitter::guess_peaks(std::vector<Peak*>* 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++;
Expand Down

0 comments on commit 4de3f07

Please sign in to comment.