Skip to content
Snippets Groups Projects
Commit fb6ffb05 authored by Christian Beckmann's avatar Christian Beckmann
Browse files

steve\'s complaining again

parent 3c3b2865
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
...@@ -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"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment