Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
melodic
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
Container Registry
Model registry
Operate
Environments
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
FSL
melodic
Commits
c96368a4
Commit
c96368a4
authored
17 years ago
by
Christian Beckmann
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
34c76008
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
meloptions.h
+6
-1
6 additions, 1 deletion
meloptions.h
melreport.cc
+4
-3
4 additions, 3 deletions
melreport.cc
with
10 additions
and
4 deletions
meloptions.h
+
6
−
1
View file @
c96368a4
...
...
@@ -81,7 +81,8 @@ class MelodicOptions {
Option
<
string
>
bgimage
;
Option
<
float
>
tr
;
Option
<
bool
>
logPower
;
Option
<
bool
>
addsigchng
;
Option
<
bool
>
addsigchng
;
Option
<
bool
>
varplots
;
Option
<
string
>
fn_Tdesign
;
Option
<
string
>
fn_Tcon
;
...
...
@@ -256,6 +257,9 @@ class MelodicOptions {
addsigchng
(
string
(
"--sigchng"
),
false
,
string
(
"add signal change estimates to report pages
\n
"
),
false
,
no_argument
,
false
),
varplots
(
string
(
"--varplots"
),
false
,
string
(
"add std error envelopes to time course plots
\n
"
),
false
,
no_argument
,
false
),
fn_Tdesign
(
string
(
"--Tdes"
),
string
(
""
),
string
(
" design matrix across time-domain"
),
false
,
requires_argument
),
...
...
@@ -387,6 +391,7 @@ class MelodicOptions {
options
.
add
(
tr
);
options
.
add
(
logPower
);
options
.
add
(
addsigchng
);
options
.
add
(
varplots
);
options
.
add
(
fn_Tdesign
);
options
.
add
(
fn_Tcon
);
options
.
add
(
fn_TconF
);
...
...
This diff is collapsed.
Click to expand it.
melreport.cc
+
4
−
3
View file @
c96368a4
...
...
@@ -124,7 +124,7 @@ namespace Melodic{
}
//add deviation around time course
if
(
melodat
.
get_Tmodes
(
cnum
-
1
).
Ncols
()
>
1
){
if
(
melodat
.
get_Tmodes
(
cnum
-
1
).
Ncols
()
>
1
&&
opts
.
varplots
.
value
()
){
Matrix
tmp
=
stdev
(
melodat
.
get_Tmodes
(
cnum
-
1
).
Columns
(
2
,
melodat
.
get_Tmodes
(
cnum
-
1
).
Ncols
()).
t
(),
1
);
tmptc
&=
melodat
.
get_Tmodes
(
cnum
-
1
).
Column
(
1
).
t
()
+
tmp
;
tmptc
&=
melodat
.
get_Tmodes
(
cnum
-
1
).
Column
(
1
).
t
()
-
tmp
;
...
...
@@ -140,8 +140,9 @@ namespace Melodic{
newplot
.
add_xlabel
(
string
(
"Time (TRs)"
));
newplot
.
add_ylabel
(
"Normalised Response"
);
newplot
.
set_yrange
(
tmptc
.
Minimum
()
-
0.05
*
(
tmptc
.
Maximum
()
-
tmptc
.
Minimum
()),
tmptc
.
Maximum
()
+
0.05
*
(
tmptc
.
Maximum
()
-
tmptc
.
Minimum
()));
newplot
.
set_yrange
(
tmptc
.
Row
(
1
).
Minimum
()
-
0.05
*
(
tmptc
.
Row
(
1
).
Maximum
()
-
tmptc
.
Row
(
1
).
Minimum
()),
tmptc
.
Row
(
1
).
Maximum
()
+
0.05
*
(
tmptc
.
Row
(
1
).
Maximum
()
-
tmptc
.
Row
(
1
).
Minimum
()));
newplot
.
grid_swapdefault
();
newplot
.
timeseries
(
tmptc
,
report
.
appendDir
(
string
(
"t"
)
+
num2str
(
cnum
)
+
".png"
),
...
...
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