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
3f66ff1e
Commit
3f66ff1e
authored
16 years ago
by
Christian Beckmann
Browse files
Options
Downloads
Patches
Plain Diff
steve\'s complaining again
parent
4e6bc25c
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
melodic.cc
+1
-1
1 addition, 1 deletion
melodic.cc
meloptions.h
+5
-0
5 additions, 0 deletions
meloptions.h
melreport.cc
+6
-10
6 additions, 10 deletions
melreport.cc
melreport.h
+3
-1
3 additions, 1 deletion
melreport.h
with
15 additions
and
12 deletions
melodic.cc
+
1
−
1
View file @
3f66ff1e
...
...
@@ -123,7 +123,7 @@ int main(int argc, char *argv[]){
}
if
(
!
leaveloop
){
if
(
opts
.
paradigmfname
.
value
().
length
()
>
0
)
opts
.
pca_dim
.
set_T
(
std
::
max
(
opts
.
pca_dim
.
value
(),
melodat
.
get_param
().
Ncols
()
+
3
*
opts
.
retrystep
-
1
);
opts
.
pca_dim
.
set_T
(
std
::
max
(
opts
.
pca_dim
.
value
(),
melodat
.
get_param
().
Ncols
()
+
3
*
opts
.
retrystep
-
1
)
)
;
message
(
endl
<<
"Restarting MELODIC using -d "
<<
opts
.
pca_dim
.
value
()
<<
endl
<<
endl
);
...
...
This diff is collapsed.
Click to expand it.
meloptions.h
+
5
−
0
View file @
3f66ff1e
...
...
@@ -111,6 +111,7 @@ class MelodicOptions {
Option
<
string
>
guessfname
;
Option
<
string
>
paradigmfname
;
Option
<
string
>
axials_str
;
Option
<
int
>
dummy
;
Option
<
int
>
repeats
;
...
...
@@ -337,6 +338,9 @@ class MelodicOptions {
paradigmfname
(
string
(
"--init_pca"
),
string
(
""
),
string
(
"file name of FEAT paradigm file (design.mat) for PCA initialisation"
),
false
,
requires_argument
,
false
),
axials_str
(
string
(
"--report_maps"
),
string
(
" -s 2 -A 950 "
),
string
(
"control string for spatial map images (see slicer)"
),
false
,
requires_argument
),
dummy
(
string
(
"--dummy"
),
0
,
string
(
"number of dummy volumes"
),
false
,
requires_argument
,
false
),
...
...
@@ -437,6 +441,7 @@ class MelodicOptions {
options
.
add
(
guessfname
);
options
.
add
(
paradigmfname
);
options
.
add
(
axials_str
);
options
.
add
(
dummy
);
options
.
add
(
repeats
);
options
.
add
(
nlconst1
);
...
...
This diff is collapsed.
Click to expand it.
melreport.cc
+
6
−
10
View file @
3f66ff1e
...
...
@@ -92,8 +92,7 @@ namespace Melodic{
//save_volume(newvol,report.appendDir(mmodel.get_prefix()+"rendered"),
// melodat.tempInfo);
sprintf
(
instr
,
" "
);
strcat
(
instr
,
" -s 2"
);
strcat
(
instr
,
" -A 950 "
);
strcat
(
instr
,
axials_instr
.
c_str
());
strcat
(
instr
,
string
(
report
.
appendDir
(
mmodel
.
get_prefix
()
+
"_thresh.png"
)).
c_str
());
newpic
.
set_title
(
string
(
"Component No. "
+
num2str
(
cnum
)
+
...
...
@@ -390,8 +389,7 @@ namespace Melodic{
//save_volume(newvol,report.appendDir(mmodel.get_prefix()+"rendered"),
// melodat.tempInfo);
sprintf
(
instr
,
" "
);
strcat
(
instr
,
" -s 2"
);
strcat
(
instr
,
" -A 950 "
);
strcat
(
instr
,
axials_instr
.
c_str
());
strcat
(
instr
,
string
(
report
.
appendDir
(
mmodel
.
get_prefix
()
+
"_thresh"
+
num2str
(
tctr
)
+
".png"
)).
c_str
());
newpic
.
set_title
(
string
(
"Component No. "
+
num2str
(
cnum
)
+
...
...
@@ -487,8 +485,7 @@ namespace Melodic{
//save_volume(newvol,report.appendDir(mmodel.get_prefix()+"rendered"),
// melodat.tempInfo);
sprintf
(
instr
,
" "
);
strcat
(
instr
,
" -s 2"
);
strcat
(
instr
,
" -A 950 "
);
strcat
(
instr
,
axials_instr
.
c_str
());
strcat
(
instr
,
string
(
report
.
appendDir
(
mmodel
.
get_prefix
()
+
".png"
)).
c_str
());
newpic
.
set_title
(
string
(
"Component No. "
+
num2str
(
cnum
)
+
...
...
@@ -522,8 +519,8 @@ namespace Melodic{
char
instr
[
10000
];
sprintf
(
instr
,
" "
);
strcat
(
instr
,
"-l render1
-s 2
"
);
strcat
(
instr
,
" -A 950 "
);
strcat
(
instr
,
"-l render1 "
);
strcat
(
instr
,
axials_instr
.
c_str
()
);
strcat
(
instr
,
string
(
report
.
appendDir
(
mmodel
.
get_prefix
()
+
"_prob.png"
)).
c_str
());
newpic
.
set_title
(
string
(
"Component No. "
+
num2str
(
cnum
)
+
...
...
@@ -660,8 +657,7 @@ namespace Melodic{
//save_volume(newvol,report.appendDir(prefix+"rendered"),
// melodat.tempInfo);
sprintf
(
instr
,
" "
);
strcat
(
instr
,
" -s 2"
);
strcat
(
instr
,
" -A 950 "
);
strcat
(
instr
,
axials_instr
.
c_str
());
strcat
(
instr
,
string
(
report
.
appendDir
(
prefix
+
".png"
)).
c_str
());
newpic
.
set_title
(
string
(
"Component No. "
+
num2str
(
cnum
)
+
...
...
This diff is collapsed.
Click to expand it.
melreport.h
+
3
−
1
View file @
3f66ff1e
...
...
@@ -90,6 +90,7 @@ namespace Melodic{
navigator
<<
"<A HREF=
\"
log.html
\"
target=
\"
_top
\"
>Log</A> - "
;
navigator
<<
"Components: "
;
navigator
.
flush
();
axials_instr
=
opts
.
axials_str
.
value
();
}
}
...
...
@@ -301,7 +302,8 @@ namespace Melodic{
Log
IChtml
;
Log
IChtml2
;
string
axials_instr
;
void
IC_rep_det
(
MelGMix
&
mmodel
,
int
cnum
,
int
dim
);
string
int2str
(
int
n
){
...
...
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