Skip to content

Commit

Permalink
Merge pull request #2 from slimgroup/new-tutorials
Browse files Browse the repository at this point in the history
New tutorial
  • Loading branch information
rafaelorozco authored Oct 6, 2022
2 parents 1bb0e53 + b26745e commit 557d691
Show file tree
Hide file tree
Showing 4 changed files with 426 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Reexport = "1"
julia = "1.6"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "Printf"]
Binary file added data/vessels_2d.jld
Binary file not shown.
418 changes: 418 additions & 0 deletions examples/notebooks/Least_Squares_Iterative_Solvers_2D.ipynb

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/PhotoAcoustic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module PhotoAcoustic
using LinearAlgebra, Reexport
@reexport using JUDI

PhotoAcoustic_path = dirname(pathof(PhotoAcoustic))

using JUDI.DSP, JUDI.PyCall

import Base: getindex, *, copy!, copyto!, similar
Expand All @@ -14,10 +16,14 @@ import LinearAlgebra: adjoint
const impl = PyNULL()

function __init__()
pushfirst!(PyVector(pyimport("sys")."path"),dirname(pathof(PhotoAcoustic)))
pushfirst!(PyVector(pyimport("sys")."path"),PhotoAcoustic_path)
copy!(impl, pyimport("implementation"))
end

# utility for data loading

PhotoAcoustic_data = joinpath(PhotoAcoustic_path, "../data")

# Sources
include("judiInitialState.jl")
# Operators
Expand Down

0 comments on commit 557d691

Please sign in to comment.