KomaMRIFiles

Sequence

KomaMRIFiles.read_seq โ€” Function
seq = read_seq(filename)

Returns the Sequence struct from a Pulseq file with .seq extension.

Arguments

  • filename: (::String) absolute or relative path of the sequence file .seq

Returns

  • seq: (::Sequence) Sequence struct

Examples

julia> seq_file = joinpath(dirname(pathof(KomaMRI)), "../examples/1.sequences/spiral.seq")

julia> seq = read_seq(seq_file)

julia> plot_seq(seq)
source

Phantom

KomaMRIFiles.read_phantom_jemris โ€” Function
obj = read_phantom_jemris(filename)

Returns the Phantom struct from a JEMRIS phantom file .h5.

Arguments

  • filename: (::String) the absolute or relative path of the phantom file .h5

Returns

  • obj: (::Phantom) Phantom struct

Examples

julia> obj_file = joinpath(dirname(pathof(KomaMRI)), "../examples/2.phantoms/brain.h5")

julia> obj = read_phantom_jemris(obj_file)

julia> plot_phantom_map(obj, :ฯ)
source
KomaMRIFiles.read_phantom_MRiLab โ€” Function
obj = read_phantom_MRiLab(filename)

Returns the Phantom struct from a MRiLab phantom file .mat.

Arguments

  • filename: (::String) the absolute or relative path of the phantom file .mat

Returns

  • obj: (::Phantom) Phantom struct

Examples

julia> obj_file = joinpath(dirname(pathof(KomaMRI)), "../examples/2.phantoms/brain.mat")

julia> obj = read_phantom_MRiLab(obj_file)

julia> plot_phantom_map(obj, :ฯ)
source