Skip to content

Commit

Permalink
Merge pull request #721 from dirac-institute/stamp_log_message
Browse files Browse the repository at this point in the history
Fix the logging message for coadd generation
  • Loading branch information
jeremykubica authored Sep 29, 2024
2 parents 5695ecf + 88eccdd commit 5d28b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kbmod/search/stamp_creator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ std::vector<RawImage> StampCreator::get_coadded_stamps(ImageStack& stack, std::v
std::vector<std::vector<bool>>& use_index_vect,
const StampParameters& params, bool use_gpu) {
logging::Logger* rs_logger = logging::getLogger("kbmod.search.stamp_creator");
rs_logger->info("Performing stamp filtering on " + std::to_string(t_array.size()) + " trajectories.");
DebugTimer timer = DebugTimer("stamp filtering", rs_logger);
rs_logger->info("Generating co_added stamps on " + std::to_string(t_array.size()) + " trajectories.");
DebugTimer timer = DebugTimer("coadd generating", rs_logger);

// We use the GPU if we have it for everything except STAMP_VAR_WEIGHTED which is CPU only.
if (use_gpu && (params.stamp_type != STAMP_VAR_WEIGHTED)) {
Expand Down

0 comments on commit 5d28b85

Please sign in to comment.