napari.github.io icon indicating copy to clipboard operation
napari.github.io copied to clipboard

Tutorial for parameter sweep with napari

Open ruhmamehek opened this issue 5 years ago • 2 comments
trafficstars

Added tutorial with examples for using dask and magicgui to perform parameter sweep with napari, as suggested in issue #43

I have added three examples for the same:

  • Lazy parameter sweep for a 2D periodic function using dask
  • Parameter sweep using napari to visualize thresholding of an image using adaptive, Sauvola, and Niblack techniques from the scikit-image library for a range of values of block_size and window_size
  • Adding apply_threshold method as a magicgui widget to napari for visualizing the thresholded image for the technique selected from the drop-down menu, and the value of block_size or window_size passed via the slider.

Also added relevant assets to demonstrate all examples to the assets/tutorials folder.

ruhmamehek avatar Apr 05 '20 15:04 ruhmamehek

Hi!

Thank you very much for your suggestions. @BhavyaC16 and I have made the following changes:

  • Made the thresholding example lazy, and also modified the code to remove duplication
  • Updated the magicgui example
  • Provided links to external docs wherever appropriate
  • Tried to limit our text in markdown to 80-100 characters per line
  • Made the suggested changes in wording
  • Updated GIFs demonstrating the examples

Looking forward to your review and suggestions on this. :D

ruhmamehek avatar Apr 08 '20 14:04 ruhmamehek

Hi folks! Can we do another pass here? If this content is ready, I can move it over to napari/napari (unless @ruhmamehek wants to do it 😄 )

melissawm avatar Mar 04 '22 20:03 melissawm

Ack, boy did this one fall through the cracks which is a massive shame because this is a pretty awesome tutorial both for napari and dask.delayed! I think if the code examples all still work it's definitely worth porting over to https://github.com/napari/docs

psobolewskiPhD avatar Aug 30 '23 01:08 psobolewskiPhD

I've made a task issue in napari/docs to revisit this. https://github.com/napari/docs/issues/329 Closing, since this won't be merged here.

psobolewskiPhD avatar Jan 18 '24 15:01 psobolewskiPhD