-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d22f81b
commit a116589
Showing
17 changed files
with
47 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
plt = Observable{Any}(plot_M0(seq;darkmode)) | ||
ui = dom"div"(plt) | ||
map!(p->plot_M0(p;darkmode), plt, seq_obs) | ||
@js_ w document.getElementById("content").dataset.content = $CONT_M0 | ||
content!(w, "div#content", ui) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
plt = Observable{Any}(plot_M1(seq;darkmode)) | ||
ui = dom"div"(plt) | ||
map!(p->plot_M1(p;darkmode), plt, seq_obs) | ||
@js_ w document.getElementById("content").dataset.content = $CONT_M1 | ||
content!(w, "div#content", ui) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
plt = Observable{Any}(plot_M2(seq;darkmode)) | ||
ui = dom"div"(plt) | ||
map!(p->plot_M2(p;darkmode), plt, seq_obs) | ||
@js_ w document.getElementById("content").dataset.content = $CONT_M2 | ||
content!(w, "div#content", ui) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
plt = Observable{Any}(plot_kspace(seq;darkmode)) | ||
ui = dom"div"(plt) | ||
map!(p->plot_kspace(p;darkmode), plt, seq_obs) | ||
@js_ w document.getElementById("content").dataset.content = $CONT_KSPACE | ||
content!(w, "div#content", ui) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
plt = Observable{Any}(plot_seq(seq; darkmode, range=[0 30])) | ||
ui = dom"div"(plt) | ||
map!(p->plot_seq(p; darkmode, range=[0 30]), plt, seq_obs) | ||
@js_ w document.getElementById("content").dataset.content = $CONT_SEQUENCE | ||
content!(w, "div#content", ui) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
ui = plot_dict(recParams) | ||
title = """<h1 style="padding: 8px 16px; color: #868888;">Reconstruction parameters</h1>""" | ||
@js_ w document.getElementById("content").dataset.content = $CONT_REC_PARAMS | ||
content!(w, "div#content", title*ui) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
plt = Observable{Any}(plot_signal(raw_ismrmrd; darkmode)) | ||
ui = dom"div"(plt) | ||
map!(p->plot_signal(p; darkmode), plt, sig_obs) | ||
@js_ w document.getElementById("content").dataset.content = $CONT_SIG | ||
content!(w, "div#content", ui) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
plt = plot_dict(simParams) | ||
title = """<h1 style="padding: 8px 16px; color: #868888;">Simulation parameters</h1>""" | ||
@js_ w document.getElementById("content").dataset.content = $CONT_SIM_PARAMS | ||
content!(w, "div#content", title*plt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a116589
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little over engineered. I would suggest to remove the global constant variables.