Skip to content

Commit

Permalink
fix notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Oct 6, 2022
1 parent c8e2d13 commit 1bb0e53
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 121 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PhotoAcoustic"
uuid = "86b14aa7-fcb7-4836-b4c7-056f45a9c77b"
authors = ["rafaelorozco <[email protected]>", "Mathias Louboutin <[email protected]"]
version = "0.2.0"
version = "0.3.0"

[deps]
JUDI = "f3b833dc-6b2e-5b9c-b940-873ed6319979"
Expand Down
175 changes: 56 additions & 119 deletions examples/notebooks/Flux_AD_Integration_Deep_Prior.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/judiPhoto.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function propagate(J::judiPhoto{T, :forward}, q::AbstractArray{T}) where {T}
# Set up Python model structure
modelPy = devito_model(J.F.model, J.F.options)
dtComp = convert(Float32, modelPy."critical_dt")
nt = floor(Int, recGeometry.t[1] / dtComp) + 1
nt = length(0:dtComp:((recGeometry.nt[1]-1)*recGeometry.dt[1]))

# Set up coordinates
rec_coords = setup_grid(recGeometry, J.F.model.n) # shifts rec coordinates by origin
Expand Down

0 comments on commit 1bb0e53

Please sign in to comment.