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
41873593
Commit
41873593
authored
16 years ago
by
Christian Beckmann
Browse files
Options
Downloads
Patches
Plain Diff
Updated copyright and usage
parent
1626c740
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl_glm.cc
+22
-22
22 additions, 22 deletions
fsl_glm.cc
with
22 additions
and
22 deletions
fsl_glm.cc
+
22
−
22
View file @
41873593
/* fsl_glm -
Christian Beckmann, FMRIB Image Analysis Group
Christian
F.
Beckmann, FMRIB Image Analysis Group
Copyright (C) 2006-200
7
University of Oxford */
Copyright (C) 2006-200
8
University of Oxford */
/* CCOPYRIGHT */
...
...
@@ -22,8 +22,8 @@ using namespace std;
// The two strings below specify the title and example usage that is
// printed out as the help or usage message
string
title
=
string
(
"fsl_glm (Version 1.0)"
)
+
string
(
"
\n
Copyright(c) 200
7
, University of Oxford (Christian F. Beckmann)
\n
"
)
+
string
title
=
string
(
"fsl_glm (Version 1.0
5
)"
)
+
string
(
"
\n
Copyright(c) 200
4-2008
, University of Oxford (Christian F. Beckmann)
\n
"
)
+
string
(
"
\n
Simple GLM usign ordinary least-squares regression on
\n
"
)
+
string
(
" time courses and/or 3D/4D imges against time courses
\n
"
)
+
string
(
" or 3D/4D images
\n\n
"
);
...
...
@@ -31,65 +31,65 @@ using namespace std;
//Command line Options {
Option
<
string
>
fnin
(
string
(
"-i,--in"
),
string
(
""
),
string
(
" input file name (matrix
3D
or 4D image)"
),
string
(
" input file name (
text
matrix or
3D/
4D image
file
)"
),
true
,
requires_argument
);
Option
<
string
>
fnout
(
string
(
"-o,--out"
),
string
(
""
),
string
(
"output file name for GLM parameter estimates"
),
string
(
"output file name for GLM parameter estimates
(GLM betas)
"
),
true
,
requires_argument
);
Option
<
string
>
fndesign
(
string
(
"-d,--design"
),
string
(
""
),
string
(
"file name of the GLM design matrix (time courses or spatial maps)"
),
true
,
requires_argument
);
Option
<
string
>
fnmask
(
string
(
"-m,--mask"
),
string
(
""
),
string
(
"mask image file name"
),
string
(
"mask image file name
if input is image
"
),
false
,
requires_argument
);
Option
<
string
>
fncontrasts
(
string
(
"-c,--contrasts"
),
string
(
""
),
string
(
"matrix of t-statistics contrasts"
),
tru
e
,
requires_argument
);
fals
e
,
requires_argument
);
Option
<
string
>
fnftest
(
string
(
"-f,--ftests"
),
string
(
""
),
string
(
"matrix of F-tests on contrasts"
),
false
,
requires_argument
);
false
,
requires_argument
,
false
);
Option
<
int
>
dofset
(
string
(
"--dof"
),
0
,
string
(
" set degrees-of-freedom explicitly"
),
false
,
requires_argument
);
Option
<
bool
>
perfvn
(
string
(
"--vn"
),
FALSE
,
string
(
" perfrom variance-normalisation on data"
),
string
(
" perfrom
MELODIC
variance-normalisation on data"
),
false
,
requires_argument
);
Option
<
int
>
help
(
string
(
"-h,--help"
),
0
,
string
(
"display this help text"
),
false
,
no_argument
);
// Output options
Option
<
string
>
outcope
(
string
(
"--out_cope"
),
string
(
""
),
string
(
"output
COPEs
"
),
string
(
"output
file name for COPEs (either as text file or image)
"
),
false
,
requires_argument
);
Option
<
string
>
outz
(
string
(
"--out_z"
),
string
(
""
),
string
(
" output
Z-stats
"
),
string
(
" output
file name for Z-stats (either as text file or image)
"
),
false
,
requires_argument
);
Option
<
string
>
outt
(
string
(
"--out_t"
),
string
(
""
),
string
(
" output
t-stats
"
),
string
(
" output
file name for t-stats (either as text file or image)
"
),
false
,
requires_argument
);
Option
<
string
>
outp
(
string
(
"--out_p"
),
string
(
""
),
string
(
" output p-values of Z-stats"
),
string
(
" output
file name for
p-values of Z-stats
(either as text file or image)
"
),
false
,
requires_argument
);
Option
<
string
>
outf
(
string
(
"--out_f"
),
string
(
""
),
string
(
" output F-value of full model fit"
),
string
(
" output
file name for
F-value of full model fit"
),
false
,
requires_argument
);
Option
<
string
>
outpf
(
string
(
"--out_pf"
),
string
(
""
),
string
(
"output p-value for full model fit"
),
string
(
"output
file name for
p-value for full model fit"
),
false
,
requires_argument
);
Option
<
string
>
outres
(
string
(
"--out_res"
),
string
(
""
),
string
(
"output residuals"
),
string
(
"output
file name for
residuals"
),
false
,
requires_argument
);
Option
<
string
>
outvarcb
(
string
(
"--out_varcb"
),
string
(
""
),
string
(
"output variance of COPEs"
),
string
(
"output
file name for
variance of COPEs"
),
false
,
requires_argument
);
Option
<
string
>
outsigsq
(
string
(
"--out_sigsq"
),
string
(
""
),
string
(
"output residual noise variance sigma-square"
),
string
(
"output
file name for
residual noise variance sigma-square"
),
false
,
requires_argument
);
Option
<
string
>
outdata
(
string
(
"--out_data"
),
string
(
""
),
string
(
"output data"
),
string
(
"output
file name for pre-processed
data"
),
false
,
requires_argument
);
Option
<
string
>
outvnscales
(
string
(
"--out_vnscales"
),
string
(
""
),
string
(
"output scaling factors for variance normalisation"
),
string
(
"output
file name for
scaling factors for variance normalisation"
),
false
,
requires_argument
);
/*
}
...
...
@@ -238,8 +238,8 @@ int main(int argc,char *argv[]){
options
.
add
(
fnin
);
options
.
add
(
fnout
);
options
.
add
(
fndesign
);
options
.
add
(
fnmask
);
options
.
add
(
fncontrasts
);
options
.
add
(
fnmask
);
options
.
add
(
fnftest
);
options
.
add
(
dofset
);
options
.
add
(
perfvn
);
...
...
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