[Swift-commit] r2412 - text/hpdc09submission
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Fri Jan 9 06:23:13 CST 2009
Author: benc
Date: 2009-01-09 06:23:12 -0600 (Fri, 09 Jan 2009)
New Revision: 2412
Modified:
text/hpdc09submission/paper.latex
Log:
reformat fmri example code to fit in column
Modified: text/hpdc09submission/paper.latex
===================================================================
--- text/hpdc09submission/paper.latex 2009-01-09 12:09:34 UTC (rev 2411)
+++ text/hpdc09submission/paper.latex 2009-01-09 12:23:12 UTC (rev 2412)
@@ -882,32 +882,33 @@
type Group { Subject s[]; }
type AirVector { Air a[]; }
type Subject {
- Volume anat;
- Run run[];
+ Volume anat;
+ Run run[];
}
(Run resliced) reslice_wf ( Run r) {
- Run yR = reorientRun( r , "y", "n" );
- Run roR = reorientRun( yR , "x", "n" );
- Volume std = roR.v[1];
- AirVector roAirVec =
- alignlinearRun(std, roR, 12, 1000, 1000, "81 3 3");
- resliced = resliceRun( roR, roAirVec, "-o", "-k");
+ Run yR = reorientRun( r , "y", "n" );
+ Run roR = reorientRun( yR , "x", "n" );
+ Volume std = roR.v[1];
+ AirVector roAirVec = alignlinearRun(std, roR,
+ 12, 1000, 1000, "81 3 3");
+ resliced = resliceRun( roR, roAirVec, "-o",
+ "-k");
}
-(Volume ov) reorient (Volume iv, string direction, string overwrite) {
- app {
- reorient @filename(iv.hdr)
- @filename(ov.hdr)
- direction
- overwrite;
- }
+app (Volume ov) reorient (Volume iv,
+ string direction, string overwrite) {
+
+ reorient @filename(iv.hdr) @filename(ov.hdr)
+ direction overwrite;
+
}
-(Run or) reorientRun (Run ir, string direction, string overwrite) {
- foreach Volume iv, i in ir.v {
- or.v[i] = reorient (iv, direction, overwrite);
- }
+(Run or) reorientRun (Run ir, string direction,
+ string overwrite) {
+ foreach Volume iv, i in ir.v {
+ or.v[i] = reorient (iv, direction, overwrite);
+ }
}
\end{verbatim}
More information about the Swift-commit
mailing list