Skip to content

Commit

Permalink
small fixes pointed out by Maxime (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-mendoza authored Oct 17, 2023
1 parent aa04019 commit 7c0a35b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ 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
)

# run deblender on generated blend images (all batches)
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
Expand Down

0 comments on commit 7c0a35b

Please sign in to comment.