Skip to content

Commit

Permalink
Merge pull request #184 from pvillacorta/new-phantom-parallel
Browse files Browse the repository at this point in the history
Motion Phantom
  • Loading branch information
cncastillo authored May 1, 2024
2 parents 56e8980 + e5fc537 commit 05abed5
Show file tree
Hide file tree
Showing 39 changed files with 3,618 additions and 1,440 deletions.
19 changes: 15 additions & 4 deletions KomaMRIBase/src/KomaMRIBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ using Parameters
using Interpolations
#Reconstruction
using MRIBase
@reexport using MRIBase: Profile, RawAcquisitionData, AcquisitionData, AcquisitionHeader, EncodingCounters, Limit
@reexport using MRIBase:
Profile, RawAcquisitionData, AcquisitionData, AcquisitionHeader, EncodingCounters, Limit
using MAT # For loading example phantoms

global γ = 42.5774688e6; # Hz/T gyromagnetic constant for H1, JEMRIS uses 42.5756 MHz/T
global γ = 42.5774688e6 # Hz/T gyromagnetic constant for H1, JEMRIS uses 42.5756 MHz/T

# Hardware
include("datatypes/Scanner.jl")
Expand Down Expand Up @@ -43,7 +44,15 @@ export times, ampls, freqs
# This are also used for simulation
export kfoldperm, trapz, cumtrapz
# Phantom
export brain_phantom2D, brain_phantom3D, pelvis_phantom2D
export brain_phantom2D, brain_phantom3D, pelvis_phantom2D, heart_phantom
# Motion
export MotionModel
export NoMotion, SimpleMotion, ArbitraryMotion
export SimpleMotionType
export Translation, Rotation, HeartBeat
export PeriodicTranslation, PeriodicRotation, PeriodicHeartBeat
export get_spin_coords, sort_motions!
export LinearInterpolator
# Secondary
export get_kspace, rotx, roty, rotz
# Additionals
Expand All @@ -57,6 +66,8 @@ export PulseDesigner

#Package version, KomaMRIBase.__VERSION__
using Pkg
__VERSION__ = VersionNumber(Pkg.TOML.parsefile(joinpath(@__DIR__, "..", "Project.toml"))["version"])
__VERSION__ = VersionNumber(
Pkg.TOML.parsefile(joinpath(@__DIR__, "..", "Project.toml"))["version"]
)

end # module KomaMRIBase
Loading

0 comments on commit 05abed5

Please sign in to comment.