Skip to content

Commit

Permalink
Slight modification to brain_phantom3D.
Browse files Browse the repository at this point in the history
  • Loading branch information
cncastillo committed Aug 2, 2023
1 parent 9790d4b commit 89a01d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KomaMRICore/src/datatypes/Phantom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,11 @@ julia> obj = brain_phantom3D()
julia> plot_phantom_map(obj, :ρ)
```
"""
function brain_phantom3D(;ss=4)
function brain_phantom3D(;ss=4,start_end=[160, 200])
path = @__DIR__
data = MAT.matread(path*"/phantom/brain3D.mat")

class = data["data"][1:ss:end,1:ss:end,160:ss:200]
class = data["data"][1:ss:end,1:ss:end,start_end[1]:ss:start_end[2]]
Δx = .5e-3*ss
M, N, Z = size(class)
FOVx = (M-1)*Δx #[m]
Expand Down

0 comments on commit 89a01d3

Please sign in to comment.