File tree Expand file tree Collapse file tree 5 files changed +39
-10
lines changed
Expand file tree Collapse file tree 5 files changed +39
-10
lines changed Original file line number Diff line number Diff line change 1+ name : Spell Check
2+
3+ on : [pull_request]
4+
5+ jobs :
6+ typos-check :
7+ name : Spell Check with Typos
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout Actions Repository
11+ uses : actions/checkout@v4
12+ - name : Check spelling
13+ uses : crate-ci/typos@master
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1414FFTW = " 1.4.5, 1.5"
1515ImageGeoms = " 0.9, 0.10"
1616Interpolations = " 0.14, 0.15"
17- LazyGrids = " 0.4, 0.5"
17+ LazyGrids = " 0.4, 0.5, 1 "
1818Requires = " 1.3"
1919julia = " 1.10"
Original file line number Diff line number Diff line change 1+ [default ]
2+ extend-ignore-identifiers-re = [
3+ " iy" ,
4+ ]
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ execute = isempty(ARGS) || ARGS[1] == "run"
22
33org, reps = :JuliaImageRecon , :Sinograms
44eval (:(using $ reps))
5- using Documenter
6- using Literate
5+ import Documenter
6+ import Literate
77
88# https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@example-block
99ENV [" GKSwstype" ] = " 100"
@@ -23,7 +23,7 @@ binder_root_url =
2323
2424
2525repo = eval (:($ reps))
26- DocMeta. setdocmeta! (repo, :DocTestSetup , :(using $ reps; import $ reps); recursive= true )
26+ Documenter . DocMeta. setdocmeta! (repo, :DocTestSetup , :(using $ reps); recursive= true )
2727
2828# preprocessing
2929inc1 = " include(\" ../../../inc/reproduce.jl\" )"
@@ -77,7 +77,7 @@ format = Documenter.HTML(;
7777 assets = [" assets/custom.css" ],
7878)
7979
80- makedocs (;
80+ Documenter . makedocs (;
8181 modules = [repo],
8282 authors = " Jeff Fessler and contributors" ,
8383 sitename = " $repo .jl" ,
@@ -90,7 +90,7 @@ makedocs(;
9090)
9191
9292if isci
93- deploydocs (;
93+ Documenter . deploydocs (;
9494 repo = " github.com/$base " ,
9595 devbranch = " main" ,
9696 devurl = " dev" ,
Original file line number Diff line number Diff line change @@ -27,17 +27,29 @@ typically degrees.
2727angles (rg:: RayGeom ) =
2828 range (rg. orbit_start, length = rg. na, step = rg. orbit / rg. na)
2929
30- # angles in radians
30+ """
31+ _ar(rg::RayGeom)
32+ Angles in radians.
33+ """
3134_ar (rg:: RayGeom ) = to_radians (angles (rg))
3235
33- # minimum orbit for a fan-beam short scan
36+ """
37+ _orbit_short(rg::RayGeom)
38+ Minimum orbit for a fan-beam short scan.
39+ """
3440_orbit_short (rg:: RayGeom ) = 180 + 2 * rad2deg (_gamma_max (rg)) # (degrees)
3541
36- # distance from detector arc focal spot to source for fan-beam
42+ """
43+ _dfs(::Union{SinoFan,CtFan})
44+ Distance from detector arc focal spot to source for fan-beam.
45+ """
3746_dfs (:: Union{SinoFanArc{Td},CtFanArc{Td}} ) where Td = zero (Td)
3847_dfs (:: Union{SinoFanFlat{Td},CtFanFlat{Td}} ) where Td = Inf * oneunit (Td)
3948
40- # distance from source to origin for fan-beam
49+ """
50+ _dso(rg::Union{SinoFan,CtFan}) = rg.dsd - rg.dod
51+ Distance from source to origin for fan-beam.
52+ """
4153_dso (rg:: Union{SinoFan,CtFan} ) = rg. dsd - rg. dod
4254
4355"""
You can’t perform that action at this time.
0 commit comments