Skip to content

Adding CTF method to PaganinProcessor#2300

Draft
deding2000 wants to merge 2 commits into
TomographicImaging:masterfrom
deding2000:ctf_issue_#2265
Draft

Adding CTF method to PaganinProcessor#2300
deding2000 wants to merge 2 commits into
TomographicImaging:masterfrom
deding2000:ctf_issue_#2265

Conversation

@deding2000
Copy link
Copy Markdown

@deding2000 deding2000 commented Mar 26, 2026

Description

Modifying the PaganinProcessor by adding the Contrast Transfer Function (CTF) approach as an alternative to Paganin to do phase retreival (see e.g https://opg.optica.org/oe/fulltext.cfm?uri=oe-26-9-11110). Fixes issue #2265

Example Usage

processor = PaganinProcessor(delta=1e-7,beta=1e-9,filter_type="ctf_method")
processor.set_input(data)
phased_image = processor.get_output()

Contribution Notes

  • The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License
  • I confirm that the contribution does not violate any intellectual property rights of third parties

❤️ Thanks for your contribution!

@deding2000 deding2000 changed the title Adding CTF method to PaganinProcessor Adding CTF method to PaganinProcessor Mar 26, 2026
@gfardell gfardell added the community-contribution Community-submitted pull requests from contributors outside the core team. label Mar 31, 2026
@gfardell gfardell self-assigned this Mar 31, 2026
@gfardell
Copy link
Copy Markdown
Member

Thank you, this will be a great addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Community-submitted pull requests from contributors outside the core team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants