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
8e78bd59
Verified
Commit
8e78bd59
authored
11 months ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Update test plots for more robust optimisation
parent
890e77db
No related branches found
No related tags found
No related merge requests found
Pipeline
#23607
failed
11 months ago
Stage: test
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
test/plots/grad_dwi.png
+0
-0
0 additions, 0 deletions
test/plots/grad_dwi.png
test/plots/perfect_dwi.png
+0
-0
0 additions, 0 deletions
test/plots/perfect_dwi.png
test/runtests.jl
+2
-2
2 additions, 2 deletions
test/runtests.jl
test/test_plot.jl
+4
-4
4 additions, 4 deletions
test/test_plot.jl
with
6 additions
and
6 deletions
test/plots/grad_dwi.png
+
0
−
0
View replaced file @
890e77db
View file @
8e78bd59
22.2 KiB
|
W:
|
H:
25.5 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
test/plots/perfect_dwi.png
+
0
−
0
View replaced file @
890e77db
View file @
8e78bd59
15.6 KiB
|
W:
|
H:
15.6 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
test/runtests.jl
+
2
−
2
View file @
8e78bd59
...
...
@@ -2,7 +2,7 @@ using MRIBuilder
using
Test
@testset
"MRIBuilder.jl"
begin
include
(
"test_sequences.jl"
)
include
(
"test_IO.jl"
)
#
include("test_sequences.jl")
#
include("test_IO.jl")
include
(
"test_plot.jl"
)
end
This diff is collapsed.
Click to expand it.
test/test_plot.jl
+
4
−
4
View file @
8e78bd59
...
...
@@ -24,7 +24,7 @@ using Gtk
CairoMakie
.
save
(
fname
,
f
)
end
@visualtest
plot_perfect_dwi
"
$
dir/plots/perfect_dwi.png"
!
isCI
@visualtest
plot_perfect_dwi
"
$
dir/plots/perfect_dwi.png"
!
isCI
0.03
end
@testset
"Finite RF pulses"
begin
...
...
@@ -47,13 +47,13 @@ using Gtk
end
@testset
"Finite gradients"
begin
function
plot_finite_dwi
(
fname
,
single_gradient
=
false
)
sequence
=
DWI
(
bval
=
2.
,
TE
=:
min
,
TR
=
100
,
slice_thickness
=
2.
,
scanner
=
Siemens_Prisma
)
function
plot_finite_dwi
(
fname
)
sequence
=
DWI
(
bval
=
2.
,
TE
=:
min
,
TR
=
100
,
voxel_size
=
2.
,
scanner
=
Siemens_Prisma
,
fov
=
(
10
,
10
,
10
)
)
f
=
plot_sequence
(
sequence
)
CairoMakie
.
save
(
fname
,
f
)
end
@visualtest
fn
->
plot_finite_dwi
(
fn
,
true
)
"
$
dir/plots/grad_dwi.png"
!
isCI
@visualtest
plot_finite_dwi
"
$
dir/plots/grad_dwi.png"
!
isCI
end
...
...
This diff is collapsed.
Click to expand it.
Michiel Cottaar
@ndcn0236
mentioned in commit
2a9c6060
·
11 months ago
mentioned in commit
2a9c6060
mentioned in commit 2a9c606045665ed7a4d4d79d1b983a2e8ebb8183
Toggle commit list
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