Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeziere committed Aug 20, 2024
1 parent b267bec commit dea39fe
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 326 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
version: '1.6'
- uses: julia-actions/cache@v1
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.add("Documenter"); Pkg.instantiate()'
run: julia --project=docs/ -e 'using Pkg; Pkg.add("Documenter"); Pkg.develop("./"); Pkg.instantiate()'
- name: Build and deploy
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
Expand Down
54 changes: 0 additions & 54 deletions docs/DummyDocs.jl

This file was deleted.

269 changes: 0 additions & 269 deletions docs/Manifest.toml

This file was deleted.

2 changes: 0 additions & 2 deletions docs/Project.toml

This file was deleted.

25 changes: 25 additions & 0 deletions src/Operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ function operate(ol::OperatorList, state::State)
end
end

"""
ER()
Create an object that applies an iteration of ER
"""
struct ER{T} <: Operator
er::T

Expand All @@ -24,6 +29,11 @@ function operate(er::ER, state)
BcdiTrad.operate(er.er, state.traditionals[state.currTrad[]])
end

"""
HIO(beta)
Create an object that applies an iteration of HIO
"""
struct HIO{T} <: Operator
hio::T

Expand All @@ -37,6 +47,11 @@ function operate(hio::HIO, state)
BcdiTrad.operate(hio.hio, state.traditionals[state.currTrad[]])
end

"""
Shrink(threshold, sigma, state)
Create an object that applies shrinkwrap
"""
struct Shrink{T} <: Operator
shrink::T

Expand All @@ -50,6 +65,11 @@ function operate(shrink::Shrink, state)
BcdiTrad.operate(shrink.shrink, state.traditionals[state.currTrad[]])
end

"""
Center(state)
Create an object that centers the current state
"""
struct Center{T} <: Operator
center::T

Expand Down Expand Up @@ -81,6 +101,11 @@ function minDiffAngle(angle1::Float64, angle2)
end
end

"""
Mount(beta, state, primitiveRecipLattice)
Create an object that switches between peaks.
"""
struct Mount <: Operator
beta::Float64
xArr::CuArray{Float64, 3, CUDA.Mem.DeviceBuffer}
Expand Down
Loading

0 comments on commit dea39fe

Please sign in to comment.