diff --git a/CartesianReadout3D.spv b/CartesianReadout3D.spv
index ff0b547..60e22cb 100644
--- a/CartesianReadout3D.spv
+++ b/CartesianReadout3D.spv
@@ -53,7 +53,8 @@
1
script
SB['<Repeat 1>.repetitions'] = SB['<Phase Encode Gradient>.res'];
-SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.res'];
+SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.res'];
+SB.message(SB['<Phase Encode Gradient 1>.duration']);
Waveforms
@@ -75,7 +76,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
editableName
Cartesian Readout
fov
- 24
+ 25.600000000000001
hasPhaseEncoding
1
hasRewinder
@@ -93,7 +94,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
pluginVersion
1
samplingRate
- 250
+ 60
x0Component
1
x1Component
@@ -105,7 +106,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
xReadoutOverlap
0.0
xRes
- 240
+ 256
y0Component
0.0
y1Component
@@ -117,7 +118,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
yReadoutOverlap
0.0
yRes
- 240
+ 256
z0Component
0.0
z1Component
@@ -139,7 +140,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
anchoredToSBKey
<Cartesian Readout>.readoutStart
position
- 1.0060000419616699
+ 0.81199997663497925
editableName
Phase Encode Gradient
@@ -176,7 +177,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
anchoredToSBKey
<Cartesian Readout>.readoutEnd
position
- 1.965999960899353
+ 5.0786666870117188
editableName
Phase Encode Gradient 1
@@ -216,7 +217,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
pluginVersion
1
repetitions
- 240
+ 256
editableName
@@ -311,7 +312,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
0
absoluteTime
- 797.7213134765625
+ 798.92596435546875
activeInspector
2
appVersion
@@ -349,16 +350,16 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
mainWindowFrame
height
- 734
+ 576
width
- 1280
+ 957
x
- 0
+ -35
y
- 43
+ 41
maxReadoutRate
- 500
+ 60
nominalGradLimitScale
1
numRfRxChannels
@@ -385,7 +386,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
showYValues
0
viewBottom
- 402
+ 244
viewHeight
253
viewLeft
@@ -409,15 +410,15 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
rfDisplayStyle
XY Combined Plot
showReadoutWindows
- 0
+ 1
showValues
0
viewBottom
- 118
+ 15
viewHeight
402
viewLeft
- 42.125
+ 57.0859375
viewWidth
383.41015625
@@ -433,7 +434,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
pluginVersion
1
viewBottom
- -80
+ -238
viewHeight
48
viewLeft
@@ -453,7 +454,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
pluginVersion
1
viewBottom
- 507
+ 349
viewHeight
153
viewLeft
@@ -473,11 +474,11 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
pluginVersion
1
viewBottom
- 418
+ 246
viewHeight
251
viewLeft
- 349.16015625
+ 469.36328125
viewWidth
884.76953125
@@ -501,7 +502,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
showValues
1
viewBottom
- -228
+ -386
viewHeight
676
viewLeft
@@ -525,7 +526,7 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
pluginVersion
1
viewBottom
- 236
+ 78
viewHeight
223
viewLeft
@@ -567,11 +568,11 @@ SB['<Phase Encode Gradient 1>.res'] = SB['<Phase Encode Gradient>.re
t2
150
timeWithinTr
- 2.2813134765625001
+ 4.3459643554687499
tr
- 3.2579998970031738
+ 6.444666862487793
trNum
- 244
+ 123
waveSamplingRate
50
xPosition
diff --git a/SlabSelect.spv b/SlabSelect.spv
index c18d16e..7bf5539 100644
--- a/SlabSelect.spv
+++ b/SlabSelect.spv
@@ -24,7 +24,7 @@
res
114
selectionStart
- 25.060823440551758
+ -9.8303318023681641
editableName
@@ -171,7 +171,7 @@
absoluteTime
1.0487747192382812
activeInspector
- 2
+ 1
appVersion
2.5.2
beginAtSS
@@ -207,16 +207,16 @@
mainWindowFrame
height
- 1010
+ 577
width
- 1400
+ 1024
x
- 123
+ 0
y
- 47
+ 40
maxReadoutRate
- 500
+ 60
nominalGradLimitScale
1
numRfRxChannels
@@ -243,7 +243,7 @@
showYValues
0
viewBottom
- 160
+ -273
viewHeight
776
viewLeft
@@ -271,7 +271,7 @@
showValues
0
viewBottom
- -35.62109375
+ -469
viewHeight
421
viewLeft
@@ -291,7 +291,7 @@
pluginVersion
1
viewBottom
- 390
+ -43
viewHeight
48
viewLeft
@@ -311,7 +311,7 @@
pluginVersion
1
viewBottom
- 783
+ 350
viewHeight
153
viewLeft
@@ -359,7 +359,7 @@
trNum
0
waveSamplingRate
- 100
+ 50
xPosition
0.0
xVelocity
@@ -369,7 +369,7 @@
yVelocity
0.0
zPosition
- 25.060823440551758
+ -9.8303318023681641
zVelocity
0.0
diff --git a/SpoilerGradient.spv b/SpoilerGradient.spv
index 72aae89..c00004e 100644
--- a/SpoilerGradient.spv
+++ b/SpoilerGradient.spv
@@ -116,11 +116,11 @@
0
absoluteTime
- 0.62914997339248657
+ 0.80823838710784912
activeInspector
- 2
+ 1
appVersion
- 2.5.1
+ 2.5.2
beginAtSS
0
chronaxie
@@ -154,16 +154,16 @@
mainWindowFrame
height
- 738
+ 577
width
- 1056
+ 1024
x
- 129
+ 32
y
- 38
+ 40
maxReadoutRate
- 500
+ 60
nominalGradLimitScale
1
numRfRxChannels
@@ -190,7 +190,7 @@
showYValues
1
viewBottom
- 406
+ 245
viewHeight
253
viewLeft
@@ -218,7 +218,7 @@
showValues
1
viewBottom
- 33.328125
+ -128
viewHeight
426
viewLeft
@@ -238,7 +238,7 @@
pluginVersion
1
viewBottom
- -78.5
+ -240
viewHeight
48
viewLeft
@@ -258,7 +258,7 @@
pluginVersion
1
viewBottom
- 511
+ 350
viewHeight
153
viewLeft
@@ -266,6 +266,26 @@
viewWidth
23
+
+ editableName
+ Waveform Info
+ pluginClass
+ SBWaveformInfoPlugin
+ pluginName
+ Waveform Info
+ pluginURL
+ [ Not Specified ]
+ pluginVersion
+ 1
+ viewBottom
+ 255
+ viewHeight
+ 223
+ viewLeft
+ 44
+ viewWidth
+ 266
+
protonDensity
1
@@ -300,7 +320,7 @@
t2
150
timeWithinTr
- 0.62914997339248657
+ 0.80823838710784912
tr
1.2836059331893921
trNum
diff --git a/SpoilerGradientFixed.spv b/SpoilerGradientFixed.spv
index 65527dd..a4d5c0f 100644
--- a/SpoilerGradientFixed.spv
+++ b/SpoilerGradientFixed.spv
@@ -120,7 +120,7 @@
absoluteTime
0.62914997339248657
activeInspector
- 2
+ 1
appVersion
2.5.2
beginAtSS
@@ -156,16 +156,16 @@
mainWindowFrame
height
- 731
+ 577
width
- 1056
+ 1024
x
- 129
+ 0
y
- 46
+ 40
maxReadoutRate
- 500
+ 64
nominalGradLimitScale
1
numRfRxChannels
@@ -192,7 +192,7 @@
showYValues
1
viewBottom
- 399
+ 245
viewHeight
253
viewLeft
@@ -220,7 +220,7 @@
showValues
1
viewBottom
- 26
+ -128
viewHeight
426
viewLeft
@@ -240,7 +240,7 @@
pluginVersion
1
viewBottom
- -85.5
+ -240
viewHeight
48
viewLeft
@@ -260,7 +260,7 @@
pluginVersion
1
viewBottom
- 504
+ 350
viewHeight
153
viewLeft
diff --git a/control.js b/control.js
index 7dc363d..8c98b05 100644
--- a/control.js
+++ b/control.js
@@ -271,7 +271,7 @@ controlWidget.inputWidget_FOV.value = startingFOV;
// PDw and MTw
controlWidget.inputWidget_TR.minimum = minTR + 15;
controlWidget.inputWidget_TR.maximum = minTR + 30;
-controlWidget.inputWidget_TR.value = 28;
+controlWidget.inputWidget_TR.value = 32;
// T1w
controlWidget.inputWidget_TRT1.minimum = minTR;
@@ -289,7 +289,7 @@ controlWidget.inputWidget_FA2.value = startingFA1;
controlWidget.inputWidget_TE.minimum = minTE;
controlWidget.inputWidget_TE.maximum = 8;
-controlWidget.inputWidget_TE.value = 3;
+controlWidget.inputWidget_TE.value = 4;
function attenuationClicked(chck){
@@ -376,6 +376,10 @@ function mtsLoopCommands(TRPD,TRT1,offsetIndex){
// So on init, code hits this condition, where we'll enable mt1200 block.
RTHLOGGER_WARNING("Initializing...");
RTHLOGGER_WARNING("ENABLED OFFSET 1.2kHZ");
+ // This is where TRPD and TRT1 are declared to the focus.
+ // For now, I am keeping these fixed to safeguard protocol, can change later.
+ RTHLOGGER_WARNING("PDw TR is " + TRPD);
+ RTHLOGGER_WARNING("T1w TR is " + TRT1);
var mtwCommand1 = new RthUpdateEnableBlockCommand(sequenceId, "mt1200", true);
var mtwCommand2 = new RthUpdateEnableBlockCommand(sequenceId, "mt2000", false);
var offsetFreq = 1200;
@@ -384,7 +388,7 @@ function mtsLoopCommands(TRPD,TRT1,offsetIndex){
var mtwCommand3 = new RthUpdateIntParameterCommand(sequenceId, "", "setDesiredTR", "", TRPD);
var mtwCommand4 = new RthUpdateFloatParameterCommand(sequenceId, "excitation", "scaleRF", "", flipAngle2/flipAngle1); // Small
- var mtwCommand5 = new RthUpdateChangeMRIParameterCommand(sequenceId,{FlipAngle: flipAngle2, MTIndex: "on",FlipIndex: "01", RepetitionTime: 0.028, MTState: "True", MTOffsetFrequency: offsetFreq, MTPulseDuration: duration, MTPulseShape: "Fermi"});
+ var mtwCommand5 = new RthUpdateChangeMRIParameterCommand(sequenceId,{FlipAngle: flipAngle2, MTIndex: "on",FlipIndex: "01", RepetitionTime: 0.032, MTState: "True", MTOffsetFrequency: offsetFreq, MTPulseDuration: duration, MTPulseShape: "Fermi"});
var mtwGroup = new RthUpdateGroup([mtwCommand1, mtwCommand2, mtwCommand3, mtwCommand4, mtwCommand5]);
// PDW
@@ -392,7 +396,7 @@ function mtsLoopCommands(TRPD,TRT1,offsetIndex){
var pdwCommand2 = new RthUpdateEnableBlockCommand(sequenceId, "mt2000", false);
var pdwCommand3 = new RthUpdateIntParameterCommand(sequenceId, "", "setDesiredTR", "", TRPD);
var pdwCommand4 = new RthUpdateFloatParameterCommand(sequenceId, "excitation", "scaleRF", "", flipAngle2/flipAngle1); // Small
- var pdwCommand5 = new RthUpdateChangeMRIParameterCommand(sequenceId,{FlipAngle: flipAngle2, MTIndex: "off", FlipIndex: "01", RepetitionTime: 0.028, MTState: "False"});
+ var pdwCommand5 = new RthUpdateChangeMRIParameterCommand(sequenceId,{FlipAngle: flipAngle2, MTIndex: "off", FlipIndex: "01", RepetitionTime: 0.032, MTState: "False"});
var pdwGroup = new RthUpdateGroup([pdwCommand1, pdwCommand2, pdwCommand3, pdwCommand4, pdwCommand5]);
// T1w
@@ -423,7 +427,8 @@ function changeOffset(offsetIndex){
//RTHLOGGER_WARNING("Selected Offset" + idx);
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! FIXED PARAMS FOR NOW !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- mtsLoopCommands(28000,18000,offsetIndex)
+ // THIS IS WHERE YOU HARDCORE TRS!!!!!!
+ mtsLoopCommands(32000,18000,offsetIndex)
}
// Connect UI elements to the callback functions.
diff --git a/fermiMT1200.spv b/fermiMT1200.spv
index eef6e9c..57d2681 100644
--- a/fermiMT1200.spv
+++ b/fermiMT1200.spv
@@ -24,7 +24,7 @@
res
100
selectionStart
- 290.319091796875
+ 1187.8941650390625
editableName
@@ -188,9 +188,9 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
0
absoluteTime
- 13.079986572265625
+ 11.847822189331055
activeInspector
- 2
+ 1
appVersion
2.5.2
beginAtSS
@@ -206,7 +206,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
freelyRotatable
1
frequency
- 290.319091796875
+ 1187.8941650390625
gamma
4258
gradCoilHeatingGain
@@ -226,16 +226,16 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
mainWindowFrame
height
- 996
+ 577
width
- 1621
+ 1024
x
- 102
+ 0
y
- 52
+ 40
maxReadoutRate
- 250
+ 60
nominalGradLimitScale
1
numRfRxChannels
@@ -262,11 +262,11 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
showYValues
1
viewBottom
- 310
+ -135.5
viewHeight
615
viewLeft
- 800.50390625
+ 480.80078125
viewWidth
489.921875
@@ -290,11 +290,11 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
showValues
0
viewBottom
- 141
+ -268
viewHeight
774
viewLeft
- 83.14453125
+ 105.125
viewWidth
669.8125
@@ -310,7 +310,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
pluginVersion
1
viewBottom
- 150
+ -269
viewHeight
48
viewLeft
@@ -330,7 +330,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
pluginVersion
1
viewBottom
- 772
+ 353
viewHeight
153
viewLeft
@@ -372,7 +372,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
t2
80
timeWithinTr
- 13.079986572265625
+ 11.847822189331055
tr
13.086023330688477
trNum
diff --git a/fermiMT2000.spv b/fermiMT2000.spv
index a85dca2..aa79dea 100644
--- a/fermiMT2000.spv
+++ b/fermiMT2000.spv
@@ -190,7 +190,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
absoluteTime
13.079986572265625
activeInspector
- 2
+ 1
appVersion
2.5.2
beginAtSS
@@ -226,16 +226,16 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
mainWindowFrame
height
- 996
+ 577
width
- 1621
+ 1024
x
- 101
+ 0
y
- 52
+ 40
maxReadoutRate
- 250
+ 60
nominalGradLimitScale
1
numRfRxChannels
@@ -262,7 +262,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
showYValues
1
viewBottom
- 310
+ -109
viewHeight
615
viewLeft
@@ -290,7 +290,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
showValues
0
viewBottom
- 141
+ -278
viewHeight
774
viewLeft
@@ -310,7 +310,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
pluginVersion
1
viewBottom
- 150
+ -269
viewHeight
48
viewLeft
@@ -330,7 +330,7 @@ SB.message(SB['<Fermi RF>.pulseWidth']);
pluginVersion
1
viewBottom
- 772
+ 353
viewHeight
153
viewLeft