Skip to content

Commit

Permalink
adding ctf, psf widget
Browse files Browse the repository at this point in the history
  • Loading branch information
gvarnavi committed Jul 29, 2024
1 parent 345685e commit ec6f9ad
Show file tree
Hide file tree
Showing 5 changed files with 413 additions and 31 deletions.
29 changes: 0 additions & 29 deletions 05_algorithms.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,32 +267,3 @@ I(\bm{R},n)
```
where $\theta$ is the annular coordinate and $k'$ is the radial coordinate for $\bm{k}$-space.



(bloch-wave-method)=
### The Bloch Wave Method

text


(prism-method)=
### PRISM

text


(other-method)=
### Other Methods

text



<!-- ```{figure} #app:fft_1d
```
```{figure} #app:probe_size
```
-->
10 changes: 8 additions & 2 deletions 07_CTF.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This deviation is typically expressed as a phase error or the aberration functio

Another, possibly more intuitive way of framing the phase error is the point spread function
```{math}
\mathrm{PSF}(\bm{r}) = F \mathrm{e} ^ {-i \chi(\bm{k})} ,
\mathrm{PSF}(\bm{r}) = \mathscr{F}^{-1}_{\bm{k} \rightarrow \bm{r}}\left\{ \mathrm{e} ^ {-i \chi(\bm{k})} \right\} ,
```
the point spread function describes how an imaging system responds to a point source. In STEM, the PSF would be the image of the probe, given an infinite objective aperture, in HRTEM the PSF would be how a perfect point source is imaged by an objective lens with an infinite collection angle.

Expand All @@ -30,4 +30,10 @@ For an uncorrected microscope the dominant aberration is ther third order spheri
```{math}
\chi(k) \approx \frac{2\pi}{\lambda}\left( \frac{\lambda^2 k^2}{2} \Delta f + \frac{\lambda^4 k^4}{4} C_s \right) \quad .
```
Here we used the common aliases of the aberration coefficients, so $C10 = -\Delta f$ is the negative defocus and $C_{30} = C_s$ is the third order spherical aberration.
Here we used the common aliases of the aberration coefficients, so $C10 = -\Delta f$ is the negative defocus and $C_{30} = C_s$ is the third order spherical aberration.

```{figure} #app:ctf_psf
:name: fig_ctf_psf
:placeholder: ./figures/ctf_psf.png
**Interactive widget showing the influence of common aberrations on the point spread function (PSF) and contact transfer function (CTF) **:
```
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- scipy
- h5py
- matplotlib
- colorspacious
- abtem
- ipywidgets
- jupyterlab
Expand Down
Binary file added figures/ctf_psf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ec6f9ad

Please sign in to comment.