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
cae9949e
Verified
Commit
cae9949e
authored
1 year ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Remove passing on multiple sequences to edge_times
This was confusing for sequences with different TR's
parent
3e7453b4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/containers/abstract.jl
+2
-4
2 additions, 4 deletions
src/containers/abstract.jl
with
2 additions
and
4 deletions
src/containers/abstract.jl
+
2
−
4
View file @
cae9949e
...
...
@@ -54,7 +54,7 @@ Return the times of all of the readout events in ms.
function
readout_times
end
"""
edge_times(container
(s)
)
edge_times(container)
Returns all the edge times during a sequence in ms.
...
...
@@ -62,10 +62,8 @@ Edges are defined as any time, when:
- the edge of a building block
- the slope of the gradient profile changes suddenly
- an RF pulse starts or ends
Multiple sequences can be passed on. In that case the edges in all sequences are returned (in a sorted vector).
"""
edge_times
(
containers
::
AbstractVector
{
<:
ContainerBlock
})
=
sort
(
unique
(
vcat
(
edge_times
.
(
containers
))))
function
edge_times
end
"""
gradient_strength(sequence, time)
...
...
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