Skip to content

Commit

Permalink
Added target measures to custom tutorial (#211)
Browse files Browse the repository at this point in the history
* Added target measures to custom tutorial

* Fix nbval issues
  • Loading branch information
thuiop authored Jul 28, 2021
1 parent f34ecfe commit 8a974de
Show file tree
Hide file tree
Showing 2 changed files with 237 additions and 25 deletions.
260 changes: 236 additions & 24 deletions notebooks/custom-tutorial.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@
"import btk.plot_utils\n",
"\n",
"metrics_generator = btk.metrics.MetricsGenerator(meas_generator,\n",
" target_meas={\"ellipticity\":btk.metrics.meas_ksb_ellipticity},\n",
" target_meas={\"ellipticity\":btk.metrics.meas_ksb_ellipticity}, #See custom-tutorial for more details\n",
" meas_band_num=0)\n",
"blend_results,meas_results,results = next(metrics_generator)"
]
Expand Down

0 comments on commit 8a974de

Please sign in to comment.