Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuakiyama committed Oct 16, 2024
1 parent de018b1 commit eae5520
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/tutorials/diffractive.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ f
```

## A quick shortcut
The above tutorial is intentionally written in a low level. There is [ensembleaaverage](@ref) method to do a quick shortcut by bypassing the kernel generation.
The above tutorial is intentionally written in a low level. There is [ensembleaverage](@ref) method to do a quick shortcut by bypassing the kernel generation.

```@example 1
# scatter the image
im_ea_2 = ensembleaaverage(sm, im)
im_ea_2 = ensembleaverage(sm, im)
# Plot source image
imageviz(im_ea_2, size=(600, 500), colormap=:afmhot)
```

Although this is handy, it may have an extra overhead to initialize `skm` which may slow down highly iterative processes.
[ensembleaaverage](@ref) method also supports more general skymodels in `ComradeBase.AbstractModel` as an input instead of the image model.
[ensembleaverage](@ref) method also supports more general skymodels in `ComradeBase.AbstractModel` as an input instead of the image model.

0 comments on commit eae5520

Please sign in to comment.