Skip to content

Commit

Permalink
Update Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeziere committed Aug 19, 2024
1 parent 1a04348 commit bd53f02
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 61 deletions.
45 changes: 0 additions & 45 deletions docs/DummyDocs.jl

This file was deleted.

1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[deps]
BcdiTrad = "b788224a-5de6-46e5-9aeb-ad1a5171efd9"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
20 changes: 9 additions & 11 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# Julia BCDI Documentation
# BcdiTrad.jl Documentation

## About

The BYU-CXI research group maintains a suite of Julia packages to solve the Bragg Coherent Diffraction Imaging (BCDI) problem in several different regimes and circumstance.
Bragg Coherent Diffraction Imaging (BCDI) Trad (Traditional) implements projection-based phase retrieval algorithms.

- [BcdiCore.jl](https://byu-cxi.github.io/BcdiCore.jl/dev) implements all of the Fourier transforms for the Julia BCDI packages. In addition, BcdiCore calculates the loss function used (either ``L_2`` or the MLE estimator) and derivatives of these loss functions.
While this package is marked as BCDI specific, the methods are more general and can be used in many phase retrieval problems. In the future, this package may be incorporated into a more general phase retrieval core package.

- [BcdiTrad.jl](https://byu-cxi.github.io/BcdiTrad.jl/dev) implements projection-based BCDI algorithm. Currently, this is limited to ER, HIO, and shrinkwrap.
Currently, this entire package must be run with access to GPUs. This may change in the future (especially if Issues requesting it are opened), but for our research group, using GPUs is a necessity.

- [BcdiStrain.jl](https://byu-cxi.github.io/BcdiStrain.jl/dev) implements a multi-peak BCDI algorithm developed by the BYU-CXI group. In addition to the alogrithms present in BcdiTrad, BcdiStrain also implements Mount, an operator that switches between peaks.
## Installation

- [BcdiMeso.jl](https://byu-cxi.github.io/BcdiMeso.jl/dev) implements a BCDI algorithm that solves in the mesoscale regime. Instead of using projections, this algorithm uses a gradient-based optimization scheme. Additionally, BcdiMeso does not assume a small measurement distance away from the peak.
BcdiTrad.jl is registered in the Julia general registry and can be installed by running in the REPL package manager (```]```):

- BcdiAtomic.jl is an upcoming BCDI package that implements a BCDI algorithm that solves at the atomic scale.

- BcdiMulti.jl is an upcoming BCDI package that implements a multiscale BCDI algorithm that solves at both the mesoscale and the atomic scale.

- BcdiSimulate.jl is an upcoming BCDI package that simulates the BCDI problem. Currently, this is only implimented at the atomic scale.
```
add BcdiTrad
```
10 changes: 5 additions & 5 deletions docs/src/use.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ This short script applies 20 HIO iterations and one ER iterations for a total of
# API

```@docs
State(intenities, recSupport)
ER()
HIO(beta)
Shrink(threshold, sigma, state)
Center(state)
BcdiTrad.State(intenities, recSupport)
BcdiTrad.ER()
BcdiTrad.HIO(beta)
BcdiTrad.Shrink(threshold, sigma, state)
BcdiTrad.Center(state)
```

0 comments on commit bd53f02

Please sign in to comment.