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
fb6ffb05
Commit
fb6ffb05
authored
16 years ago
by
Christian Beckmann
Browse files
Options
Downloads
Patches
Plain Diff
steve\'s complaining again
parent
3c3b2865
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
meldata.cc
+4
-3
4 additions, 3 deletions
meldata.cc
meloptions.h
+5
-5
5 additions, 5 deletions
meloptions.h
with
9 additions
and
8 deletions
meldata.cc
+
4
−
3
View file @
fb6ffb05
...
@@ -250,7 +250,9 @@ namespace Melodic{
...
@@ -250,7 +250,9 @@ namespace Melodic{
int
order
;
int
order
;
order
=
ppca_dim
(
remmean
(
alldat
,
2
),
RXweight
,
tmpPPCA
,
AdjEV
,
PercEV
,
Corr
,
pcaE
,
pcaD
,
Resels
,
opts
.
pca_est
.
value
());
order
=
ppca_dim
(
remmean
(
alldat
,
2
),
RXweight
,
tmpPPCA
,
AdjEV
,
PercEV
,
Corr
,
pcaE
,
pcaD
,
Resels
,
opts
.
pca_est
.
value
());
if
(
opts
.
paradigmfname
.
value
().
length
()
>
0
)
order
+=
param
.
Ncols
();
if
(
opts
.
pca_dim
.
value
()
==
0
){
if
(
opts
.
pca_dim
.
value
()
==
0
){
opts
.
pca_dim
.
set_T
(
order
);
opts
.
pca_dim
.
set_T
(
order
);
PPCA
=
tmpPPCA
;
PPCA
=
tmpPPCA
;
...
@@ -381,9 +383,8 @@ namespace Melodic{
...
@@ -381,9 +383,8 @@ namespace Melodic{
opts
.
pca_dim
.
set_T
(
std
::
max
(
opts
.
pca_dim
.
value
(),
param
.
Ncols
()
+
3
));
opts
.
pca_dim
.
set_T
(
std
::
max
(
opts
.
pca_dim
.
value
(),
param
.
Ncols
()
+
3
));
if
(
opts
.
debug
.
value
()){
if
(
opts
.
debug
.
value
()){
outMsize
(
"Paradigm"
,
param
);
saveascii
(
param
,
"param"
);
outMsize
(
"Paradigm"
,
param
);
saveascii
(
param
,
"param"
);
outMsize
(
"ParadigmS"
,
paramS
);
saveascii
(
param
,
"paramS"
);
}
}
opts
.
guessfname
.
set_T
(
opts
.
paradigmfname
.
value
());
//
opts.guessfname.set_T(opts.paradigmfname.value());
}
}
//read in post-proc design matrices etc
//read in post-proc design matrices etc
...
...
This diff is collapsed.
Click to expand it.
meloptions.h
+
5
−
5
View file @
fb6ffb05
...
@@ -331,11 +331,11 @@ class MelodicOptions {
...
@@ -331,11 +331,11 @@ class MelodicOptions {
debug
(
string
(
"--debug"
),
false
,
debug
(
string
(
"--debug"
),
false
,
string
(
" switch on debug messages"
),
string
(
" switch on debug messages"
),
false
,
no_argument
),
false
,
no_argument
),
guessfname
(
string
(
"-
g,--guess
"
),
string
(
""
),
guessfname
(
string
(
"-
-init_ica
"
),
string
(
""
),
string
(
"file name of
guess of mixing matrix
"
),
string
(
"file name of
FEAT paradigm file (design.mat) for ICA initialisation
"
),
false
,
requires_argument
,
false
),
false
,
requires_argument
),
paradigmfname
(
string
(
"-
p,--paradigm
"
),
string
(
""
),
paradigmfname
(
string
(
"-
-init_pca
"
),
string
(
""
),
string
(
"file name of FEAT paradigm file (design.mat)"
),
string
(
"file name of FEAT paradigm file (design.mat)
for PCA initialisation
"
),
false
,
requires_argument
,
false
),
false
,
requires_argument
,
false
),
dummy
(
string
(
"--dummy"
),
0
,
dummy
(
string
(
"--dummy"
),
0
,
string
(
"number of dummy volumes"
),
string
(
"number of dummy volumes"
),
...
...
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