Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MRIBuilder.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
MRIBuilder.jl
Commits
e2e1a4e7
Verified
Commit
e2e1a4e7
authored
1 year ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Move pulseq to IO module
parent
d76d3140
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/MRIBuilder.jl
+3
-3
3 additions, 3 deletions
src/MRIBuilder.jl
src/sequence_io/pulseq.jl
+4
-4
4 additions, 4 deletions
src/sequence_io/pulseq.jl
src/sequence_io/sequence_io.jl
+16
-0
16 additions, 0 deletions
src/sequence_io/sequence_io.jl
with
23 additions
and
7 deletions
src/MRIBuilder.jl
+
3
−
3
View file @
e2e1a4e7
...
...
@@ -12,7 +12,7 @@ include("pathways.jl")
include
(
"parts/parts.jl"
)
include
(
"sequences/sequences.jl"
)
include
(
"printing.jl"
)
include
(
"
pul
seq.jl"
)
include
(
"seq
uence_io/sequence_io
.jl"
)
include
(
"plot.jl"
)
import
.
BuildSequences
:
build_sequence
,
global_model
,
global_scanner
,
fixed
...
...
@@ -39,8 +39,8 @@ export dwi_gradients, readout_event, excitation_pulse, refocus_pulse, Trapezoid,
import
.
Sequences
:
GradientEcho
,
SpinEcho
,
DiffusionSpinEcho
,
DW_SE
,
DWI
export
GradientEcho
,
SpinEcho
,
DiffusionSpinEcho
,
DW_SE
,
DWI
import
.
Pulseq
:
read_pulseq
export
read_
pul
seq
import
.
SequenceIO
:
read_sequence
export
read_seq
uence
import
.
Plot
:
plot_sequence
export
plot_sequence
...
...
This diff is collapsed.
Click to expand it.
src/pulseq.jl
→
src/
sequence_io/
pulseq.jl
+
4
−
4
View file @
e2e1a4e7
module
Pulseq
import
..
Variables
:
duration
import
..
Scanners
:
Scanner
import
..
Components
:
GenericPulse
,
GradientWaveform
,
ADC
import
..
Containers
:
BuildingBlock
,
Sequence
,
Wait
import
..
.
Variables
:
duration
import
..
.
Scanners
:
Scanner
import
..
.
Components
:
GenericPulse
,
GradientWaveform
,
ADC
import
..
.
Containers
:
BuildingBlock
,
Sequence
,
Wait
import
DataStructures
:
OrderedDict
import
Interpolations
:
linear_interpolation
,
Flat
import
StaticArrays
:
SVector
...
...
This diff is collapsed.
Click to expand it.
src/sequence_io/sequence_io.jl
0 → 100644
+
16
−
0
View file @
e2e1a4e7
module
SequenceIO
include
(
"pulseq.jl"
)
import
.
Pulseq
:
read_pulseq
function
read_sequence
(
filename
::
AbstractString
)
if
endswith
(
filename
,
".seq"
)
return
read_pulseq
(
filename
)
else
error
(
"Cannot read file
$
filename. Extension is not recognised"
)
end
end
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment