Skip to content
Snippets Groups Projects
Verified Commit 047ce799 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Teest duration_dephase and duration_transverse

parent db76c76a
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,8 @@
@test all(isapprox.(duration.(seq), [0., 40., 0.], atol=1e-6))
@test length(collect(iter_instant_pulses(seq))) == 1
@test length(collect(iter_instant_gradients(seq))) == 0.
@test duration_dephase(seq) 40.
@test duration_transverse(seq) 40.
end
@testset "SpinEcho" begin
seq = SpinEcho(TE=40)
......@@ -14,6 +16,8 @@
@test all(isapprox.(duration.(seq), [0., 20., 0., 20., 0.], atol=1e-6))
@test length(collect(iter_instant_pulses(seq))) == 2
@test length(collect(iter_instant_gradients(seq))) == 0.
@test duration_dephase(seq) 0. atol=1e-4
@test duration_transverse(seq) 40.
end
@testset "DW-SE" begin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment