Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fdt
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
fdt
Commits
d5e2a82c
Commit
d5e2a82c
authored
17 years ago
by
Stephen Smith
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
598684f3
No related branches found
No related tags found
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
Makefile
+2
-14
2 additions, 14 deletions
Makefile
bedpost
+4
-6
4 additions, 6 deletions
bedpost
bedpostx
+5
-5
5 additions, 5 deletions
bedpostx
fdt.tcl
+285
-462
285 additions, 462 deletions
fdt.tcl
fdtx.tcl
+0
-912
0 additions, 912 deletions
fdtx.tcl
with
296 additions
and
1399 deletions
Makefile
+
2
−
14
View file @
d5e2a82c
...
@@ -5,7 +5,6 @@ PROJNAME = fdt
...
@@ -5,7 +5,6 @@ PROJNAME = fdt
USRINCFLAGS
=
-I
${
INC_NEWMAT
}
-I
${
INC_NEWRAN
}
-I
${
INC_CPROB
}
-I
${
INC_PROB
}
-I
${
INC_ZLIB
}
USRINCFLAGS
=
-I
${
INC_NEWMAT
}
-I
${
INC_NEWRAN
}
-I
${
INC_CPROB
}
-I
${
INC_PROB
}
-I
${
INC_ZLIB
}
USRLDFLAGS
=
-L
${
LIB_NEWMAT
}
-L
${
LIB_NEWRAN
}
-L
${
LIB_CPROB
}
-L
${
LIB_PROB
}
-L
${
LIB_ZLIB
}
USRLDFLAGS
=
-L
${
LIB_NEWMAT
}
-L
${
LIB_NEWRAN
}
-L
${
LIB_CPROB
}
-L
${
LIB_PROB
}
-L
${
LIB_ZLIB
}
DLIBS
=
-lmeshclass
-lbint
-lnewimage
-lutils
-lmiscmaths
-lnewmat
-lnewran
-lfslio
-lniftiio
-lznz
-lcprob
-lprob
-lm
-lz
DLIBS
=
-lmeshclass
-lbint
-lnewimage
-lutils
-lmiscmaths
-lnewmat
-lnewran
-lfslio
-lniftiio
-lznz
-lcprob
-lprob
-lm
-lz
#DLIBS = -lbint -lnewimage -lutils -lmiscmaths -lnewmat -lfslio -lniftiio -lznz -lcprob -lprob -lm -lz
#DLIBS = -lbint -lnewimage -lutils -lmiscmaths -lnewmat -lfslio -lniftiio -lznz -lcprob -lprob -lm -lz
...
@@ -48,7 +47,7 @@ TESTOBJS=testfile.o
...
@@ -48,7 +47,7 @@ TESTOBJS=testfile.o
VECREGOBJS
=
vecreg.o
VECREGOBJS
=
vecreg.o
SGEBEDPOST
=
bedpost bedpost_datacheck
SGEBEDPOST
=
bedpost bedpost_datacheck
SGEBEDPOSTX
=
bedpost
X
bedpost
X
_postproc.sh bedpost
X
_preproc.sh bedpost
X
_single_slice.sh
SGEBEDPOSTX
=
bedpost
x
bedpost
x
_postproc.sh bedpost
x
_preproc.sh bedpost
x
_single_slice.sh
SCRIPTS
=
eddy_correct zeropad maskdyads
${
SGEBEDPOST
}
${
SGEBEDPOSTX
}
SCRIPTS
=
eddy_correct zeropad maskdyads
${
SGEBEDPOST
}
${
SGEBEDPOSTX
}
FSCRIPTS
=
correct_and_average ocmr_preproc
FSCRIPTS
=
correct_and_average ocmr_preproc
...
@@ -58,7 +57,7 @@ XFILES = dtifit ccops probtrack find_the_biggest medianfilter diff_pvm make_dyad
...
@@ -58,7 +57,7 @@ XFILES = dtifit ccops probtrack find_the_biggest medianfilter diff_pvm make_dyad
FXFILES
=
reord_OM sausages replacevols fdt_matrix_ops probtrackx indexer
FXFILES
=
reord_OM sausages replacevols fdt_matrix_ops probtrackx indexer
RUNTCLS
=
Fdt
Fdtx
RUNTCLS
=
Fdt
all
:
${XFILES} ${FXFILES}
all
:
${XFILES} ${FXFILES}
...
@@ -113,14 +112,3 @@ ${TEST}: ${TESTOBJS}
...
@@ -113,14 +112,3 @@ ${TEST}: ${TESTOBJS}
${VECREG}
:
${VECREGOBJS}
${VECREG}
:
${VECREGOBJS}
${
CXX
}
${
CXXFLAGS
}
${
LDFLAGS
}
-o
$@
${
VECREGOBJS
}
${
DLIBS
}
${
CXX
}
${
CXXFLAGS
}
${
LDFLAGS
}
-o
$@
${
VECREGOBJS
}
${
DLIBS
}
This diff is collapsed.
Click to expand it.
bedpost
+
4
−
6
View file @
d5e2a82c
#!/bin/sh
#!/bin/sh
# Copyright (C) 200
4
University of Oxford
# Copyright (C) 200
7
University of Oxford
#
#
# SHCOPYRIGHT
# SHCOPYRIGHT
echo
echo
echo
"Warning - bedpost has been deprecated! Please use bedpostX instead."
echo
"Error - bedpost has been superceded by bedpostx! Please instead run:"
[
-z
"
$@
"
]
&&
${
FSLDIR
}
/bin/bedpostX
echo
bedpostx
$@
-n
1
echo
"Executing
\"
bedpostX
$@
-n 1
\"
instead."
echo
echo
${
FSLDIR
}
/bin/bedpostX
$@
-n
1
This diff is collapsed.
Click to expand it.
bedpostx
+
5
−
5
View file @
d5e2a82c
...
@@ -14,7 +14,7 @@ fi
...
@@ -14,7 +14,7 @@ fi
Usage
()
{
Usage
()
{
echo
""
echo
""
echo
"Usage: bedpost
X
<subject directory> [options]"
echo
"Usage: bedpost
x
<subject directory> [options]"
echo
""
echo
""
echo
"expects to find bvals and bvecs in subject directory"
echo
"expects to find bvals and bvecs in subject directory"
echo
"expects to find data nodif_brain_mask nodif in subject directory"
echo
"expects to find data nodif_brain_mask nodif in subject directory"
...
@@ -93,7 +93,7 @@ if [ `${FSLDIR}/bin/imtest ${subjdir}/nodif_brain_mask` -eq 0 ]; then
...
@@ -93,7 +93,7 @@ if [ `${FSLDIR}/bin/imtest ${subjdir}/nodif_brain_mask` -eq 0 ]; then
exit
1
exit
1
fi
fi
echo
Making bedpost
X
directory structure
echo
Making bedpost
x
directory structure
mkdir
-p
${
subjdir
}
.bedpostX/
mkdir
-p
${
subjdir
}
.bedpostX/
mkdir
-p
${
subjdir
}
.bedpostX/diff_slices
mkdir
-p
${
subjdir
}
.bedpostX/diff_slices
...
@@ -103,19 +103,19 @@ mkdir -p ${subjdir}.bedpostX/xfms
...
@@ -103,19 +103,19 @@ mkdir -p ${subjdir}.bedpostX/xfms
mailto=
`
whoami
`
@fmrib.ox.ac.uk
mailto=
`
whoami
`
@fmrib.ox.ac.uk
echo Queuing preprocessing stages
echo Queuing preprocessing stages
preprocid=
`
${
FSLDIR
}
/bin/fsl_sub
-F
-l
${
subjdir
}
.bedpostX/logs
${
FSLDIR
}
/bin/bedpost
X
_preproc.sh
${
subjdir
}
`
preprocid=
`
${
FSLDIR
}
/bin/fsl_sub
-F
-l
${
subjdir
}
.bedpostX/logs
${
FSLDIR
}
/bin/bedpost
x
_preproc.sh
${
subjdir
}
`
echo Queuing parallel processing stage
echo Queuing parallel processing stage
nslices=
`
${
FSLDIR
}
/bin/fslval
${
subjdir
}
/data dim3
`
nslices=
`
${
FSLDIR
}
/bin/fslval
${
subjdir
}
/data dim3
`
[ -f
${
subjdir
}
.bedpostX/commands.txt ] && rm
${
subjdir
}
.bedpostX/commands.txt
[ -f
${
subjdir
}
.bedpostX/commands.txt ] && rm
${
subjdir
}
.bedpostX/commands.txt
for ((slice=0; slice <
$nslices
; slice++)) ; do
for ((slice=0; slice <
$nslices
; slice++)) ; do
echo
"
${
FSLDIR
}
/bin/bedpost
X
_single_slice.sh
$subjdir
$nfibres
$fudge
$burnin
$slice
"
\
echo
"
${
FSLDIR
}
/bin/bedpost
x
_single_slice.sh
$subjdir
$nfibres
$fudge
$burnin
$slice
"
\
>>
${
subjdir
}
.bedpostX/commands.txt
>>
${
subjdir
}
.bedpostX/commands.txt
done
done
bedpostid=
`
${
FSLDIR
}
/bin/fsl_sub
-j
$preprocid
-l
${
subjdir
}
.bedpostX/logs
-M
$mailto
-N
bedpostx
-t
${
subjdir
}
.bedpostX/commands.txt
`
bedpostid=
`
${
FSLDIR
}
/bin/fsl_sub
-j
$preprocid
-l
${
subjdir
}
.bedpostX/logs
-M
$mailto
-N
bedpostx
-t
${
subjdir
}
.bedpostX/commands.txt
`
echo Queuing post processing stage
echo Queuing post processing stage
mergeid=
`
${
FSLDIR
}
/bin/fsl_sub
-j
$bedpostid
-F
-l
${
subjdir
}
.bedpostX/logs
${
FSLDIR
}
/bin/bedpost
X
_postproc.sh
$subjdir
`
mergeid=
`
${
FSLDIR
}
/bin/fsl_sub
-j
$bedpostid
-F
-l
${
subjdir
}
.bedpostX/logs
${
FSLDIR
}
/bin/bedpost
x
_postproc.sh
$subjdir
`
if [
"x
$SGE_ROOT
"
!=
"x"
]; then
if [
"x
$SGE_ROOT
"
!=
"x"
]; then
echo
echo
...
...
This diff is collapsed.
Click to expand it.
fdt.tcl
+
285
−
462
View file @
d5e2a82c
This diff is collapsed.
Click to expand it.
fdtx.tcl
deleted
100644 → 0
+
0
−
912
View file @
598684f3
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