Skip to content

Improved the documentation of the restoration.richardson_lucy deconvolution function - #7477

Merged
mkcor merged 11 commits into
scikit-image:mainfrom
geeanlooca:richardson-lucy-documentation-improvement
Sep 28, 2024
Merged

mkcor merged 11 commits into
scikit-image:mainfrom
geeanlooca:richardson-lucy-documentation-improvement

Conversation

@geeanlooca

@geeanlooca geeanlooca commented Jul 25, 2024 •

Copy link
Copy Markdown
Contributor

Description

I added a sentence in the docstrings of the restoration.richardson_lucy deconvolution function that specifies that the input image should be normalized to the [0, 1] range as the conversion to floating point done inside the function may result in a blank output image.

Release note

For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.

Improve the description of the `image` parameter in `skimage.restoration.richardson_lucy`.

@geeanlooca
geeanlooca marked this pull request as ready for review July 25, 2024 10:44
@geeanlooca
geeanlooca marked this pull request as draft July 25, 2024 15:09
@geeanlooca

Copy link
Copy Markdown
Contributor Author

Can somebody help me figure out what's going on with the CI checks?

Link to the Azure DevOps CI result

The Default Python311-x64-docs stage fails at the Documentation testing step. This happens even when reverting the (minimal) changes I submitted...

The error message:

Warning, treated as error:
Summarised items should not include the current module. Replace 'skimage.color' with 'color'. [autosummary.import_cycle]
make: *** [Makefile:50: html] Error 2
make: Leaving directory 'D:/a/1/s/doc'

@lagru lagru added the 📄 type: Documentation Updates, fixes and additions to documentation label Jul 26, 2024
@lagru

lagru commented Jul 26, 2024

Copy link
Copy Markdown
Member

Hey @geeanlooca, thanks for the improvement. You can revert the reverting commit since the reason for the failures are independent from your changes (see other PRs & commits). We are trying to fix it. Sorry for the confusion this caused!

@geeanlooca

Copy link
Copy Markdown
Contributor Author

Hi @lagru ! I reverted the reverting commit. Thanks for the clarification.

@geeanlooca
geeanlooca marked this pull request as ready for review July 29, 2024 07:23
@lagru

lagru commented Aug 5, 2024

Copy link
Copy Markdown
Member

Note I updated this branch with recent changes from main. Before you can commit & push any local changes I recommend pulling from this remote branch to your local one. 😉

Comment thread skimage/restoration/deconvolution.py Resolved
@mkcor

mkcor commented Aug 10, 2024

Copy link
Copy Markdown
Member

fyi the CI failure is due to this issue sphinx-doc/sphinx#12660 (comment) (unresolved to this day, as far as I know); confirming it's unrelated to this PR.

Comment thread skimage/restoration/deconvolution.py Resolved
Comment thread skimage/restoration/deconvolution.py Resolved
Comment thread skimage/restoration/deconvolution.py Resolved
Comment thread skimage/restoration/deconvolution.py Resolved
@mkcor

mkcor commented Sep 26, 2024

Copy link
Copy Markdown
Member

@lagru lagru left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ready IMO. Thanks @geeanlooca!

@mkcor
mkcor merged commit 01a9fcd into scikit-image:main Sep 28, 2024
@stefanv stefanv added this to the 0.25 milestone Sep 28, 2024
@geeanlooca
geeanlooca deleted the richardson-lucy-documentation-improvement branch September 28, 2024 11:02
lagru pushed a commit that referenced this pull request Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📄 type: Documentation Updates, fixes and additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants