Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the logging message for coadd generation #721

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading