From 7c0a35b006eab51707525ec36b572d297c3d8dd6 Mon Sep 17 00:00:00 2001 From: Ismael Mendoza <11745764+ismael-mendoza@users.noreply.github.com> Date: Tue, 17 Oct 2023 07:08:45 -0400 Subject: [PATCH] small fixes pointed out by Maxime (#466) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6437163a..35423f08 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ draw_generator = btk.draw_blends.CatsimGenerator( blend_batch = next(draw_generator) # setup deblender (we use SEP in this case) -deblender = SepSingleBand(max_n_sources=5, +deblender = btk.deblend.SepSingleBand(max_n_sources=5, use_band=2 # measure on 'r' band ) @@ -66,7 +66,7 @@ deblender = SepSingleBand(max_n_sources=5, deblend_batch = deblender(blend_batch) # setup matcher -matcher = PixelHungarianMatcher(pixel_max_sep=5.0 # maximum separation in pixels for matching +matcher = btk.match.PixelHungarianMatcher(pixel_max_sep=5.0 # maximum separation in pixels for matching ) # match true and predicted catalogs