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
67f0f798
Commit
67f0f798
authored
13 years ago
by
Christian Beckmann
Browse files
Options
Downloads
Patches
Plain Diff
fixed meldata.cc
parent
c96ab5d2
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
Makefile
+7
-2
7 additions, 2 deletions
Makefile
meldata.cc
+4
-4
4 additions, 4 deletions
meldata.cc
with
11 additions
and
6 deletions
Makefile
+
7
−
2
View file @
67f0f798
...
@@ -24,17 +24,19 @@ FSL_MVLM_OBJS = melhlprfns.o fsl_mvlm.o
...
@@ -24,17 +24,19 @@ FSL_MVLM_OBJS = melhlprfns.o fsl_mvlm.o
FSL_REGFILT_OBJS
=
melhlprfns.o fsl_regfilt.o
FSL_REGFILT_OBJS
=
melhlprfns.o fsl_regfilt.o
FSL_INSTACORR_OBJS
=
melhlprfns.o fsl_instacorr.o
MELODIC_OBJS
=
meloptions.o melhlprfns.o melgmix.o meldata.o melpca.o melica.o melreport.o melodic.o
MELODIC_OBJS
=
meloptions.o melhlprfns.o melgmix.o meldata.o melpca.o melica.o melreport.o melodic.o
TESTXFILES
=
test
TESTXFILES
=
test
XFILES
=
fsl_glm fsl_sbca fsl_mvlm fsl_regfilt melodic
XFILES
=
fsl_glm fsl_sbca fsl_mvlm fsl_regfilt
fsl_instacorr
melodic
RUNTCLS
=
Melodic
RUNTCLS
=
Melodic
SCRIPTS
=
melodicreport
SCRIPTS
=
melodicreport
all
:
ggmix fsl_regfilt fsl_glm melodic fsl_sbca fsl_mvlm
all
:
ggmix fsl_regfilt fsl_glm melodic fsl_sbca fsl_mvlm
fsl_instacorr
ggmix
:
${GGMIX_OBJS}
ggmix
:
${GGMIX_OBJS}
${
AR
}
-r
libggmix.a
${
GGMIX_OBJS
}
${
AR
}
-r
libggmix.a
${
GGMIX_OBJS
}
...
@@ -51,6 +53,9 @@ fsl_glm: ${FSL_GLM_OBJS}
...
@@ -51,6 +53,9 @@ fsl_glm: ${FSL_GLM_OBJS}
fsl_sbca
:
${FSL_SBCA_OBJS}
fsl_sbca
:
${FSL_SBCA_OBJS}
$(
CXX
)
${
CXXFLAGS
}
${
LDFLAGS
}
-o
$@
${
FSL_SBCA_OBJS
}
${
LIBS
}
$(
CXX
)
${
CXXFLAGS
}
${
LDFLAGS
}
-o
$@
${
FSL_SBCA_OBJS
}
${
LIBS
}
fsl_instacorr
:
${FSL_INSTACORR_OBJS}
$(
CXX
)
${
CXXFLAGS
}
${
LDFLAGS
}
-o
$@
${
FSL_INSTACORR_OBJS
}
${
LIBS
}
fsl_mvlm
:
${FSL_MVLM_OBJS}
fsl_mvlm
:
${FSL_MVLM_OBJS}
$(
CXX
)
${
CXXFLAGS
}
${
LDFLAGS
}
-o
$@
${
FSL_MVLM_OBJS
}
${
LIBS
}
$(
CXX
)
${
CXXFLAGS
}
${
LDFLAGS
}
-o
$@
${
FSL_MVLM_OBJS
}
${
LIBS
}
...
...
This diff is collapsed.
Click to expand it.
meldata.cc
+
4
−
4
View file @
67f0f798
...
@@ -210,7 +210,7 @@ namespace Melodic{
...
@@ -210,7 +210,7 @@ namespace Melodic{
outMsize
(
"tmp"
,
tmp
);
outMsize
(
"tmp"
,
tmp
);
outMsize
(
"tmpT"
,
tmpT
);
outMsize
(
"tmpT"
,
tmpT
);
outMsize
(
"tmpS"
,
tmpS
);
outMsize
(
"tmpS"
,
tmpS
);
if
(
opts
.
approach
.
value
()
==
string
(
"tica"
)){
//
if(opts.approach.value()==string("tica")){
Tmodes
.
clear
();
Smodes
.
clear
();
Tmodes
.
clear
();
Smodes
.
clear
();
for
(
int
ctr
=
1
;
ctr
<=
tmp
.
Ncols
();
ctr
++
){
for
(
int
ctr
=
1
;
ctr
<=
tmp
.
Ncols
();
ctr
++
){
tmpT3
<<
reshape
(
tmp
.
Column
(
ctr
),
tmpT
.
Nrows
(),
numfiles
);
tmpT3
<<
reshape
(
tmp
.
Column
(
ctr
),
tmpT
.
Nrows
(),
numfiles
);
...
@@ -227,7 +227,7 @@ namespace Melodic{
...
@@ -227,7 +227,7 @@ namespace Melodic{
add_Tmodes
(
tmpT2
);
add_Tmodes
(
tmpT2
);
add_Smodes
(
tmpS2
);
add_Smodes
(
tmpS2
);
}
}
}
//
}
//add GLM OLS fit
//add GLM OLS fit
if
(
Tdes
.
Storage
()){
if
(
Tdes
.
Storage
()){
...
@@ -317,11 +317,11 @@ namespace Melodic{
...
@@ -317,11 +317,11 @@ namespace Melodic{
RowVector
AdjEV
,
PercEV
;
RowVector
AdjEV
,
PercEV
;
Matrix
Corr
,
tmpE
;
Matrix
Corr
,
tmpE
;
int
order
;
int
order
;
cerr
<<
"here1"
<<
endl
;
//
cerr << "here1" << endl;
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
)
if
(
opts
.
paradigmfname
.
value
().
length
()
>
0
)
order
+=
param
.
Ncols
();
order
+=
param
.
Ncols
();
cerr
<<
"here2"
<<
endl
;
//
cerr << "here2" << endl;
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
;
...
...
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