Commit 05cdfd61 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Add section for CTF

parent e3ecf94a
Pipeline #45852 skipped
......@@ -32,9 +32,37 @@ Since version 2021.1.0, lengths in PaganinPhaseRetrieval are expressed in meters
This method, although based on Contrast Transfer Function (CTF) rather than Transport of Intensity (TIE), can also be expressed as a single step "filtering" processing. See for example [[2]](#references).
```{warning}
This method is not implemented for now.
This method is implemented in [CTFPhaseRetrieval](apidoc/nabu.preproc.ctf).
```{note}
Lengths are expressed in meters
```
To build a `CTFPhaseRetrieval`, one first needs to describe the setup geometry. This is done with the [GeoPars](apidoc/nabu.preproc.ctf) class:
```python
geo_pars = GeoPars(
z1_vh=None,
z2=z2,
pix_size_det=pix_size_det,
length_scale=length_scale,
wavelength=wavelength,
)
```
once this `GeoPars` object is built, the `CTFPhaseRetrieval` object can be created and called:
```python
ctf_filter = CTFPhaseRetrieval(
geo_pars,
delta_beta,
lim1=1.0e-5,
lim2=0.2,
)
phase_image = ctf_filter.retrieve_phase(projection, normalize_by_mean=True)
```
## Unsharp masking
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment