Updated the notebooks to comply with the refactoring changes.
Implemented unit tests for all notebooks (except annotation_tool.ipynb, segmentation_pipeline.ipynb, and Unet.ipynb). The unit tests are located in qim3d/tests/notebooks/test_notebooks.py.
Using proper logging instead of print statements is a recommended practice.
While print statements can be helpful for quick debugging, logging provides a more powerful and versatile approach. Logging allows for better control over output, with options to configure log levels, filter messages, and redirect output to different destinations.
%% Cell type:code id:a31b2245 tags:
``` python
importqim3d
fromqim3d.io.loggerimportlog
fromqim3d.utils._loggerimportlog
```
%% Cell type:code id:94022824 tags:
``` python
# Here we test by sending one message for each level