[Swift-commit] r2132 - SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Fri Jul 18 13:02:27 CDT 2008
Author: skenny
Date: 2008-07-18 13:02:26 -0500 (Fri, 18 Jul 2008)
New Revision: 2132
Added:
SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/oldsurfclust.swift
Log:
param stuff
Added: SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/oldsurfclust.swift
===================================================================
--- SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/oldsurfclust.swift (rev 0)
+++ SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/oldsurfclust.swift 2008-07-18 18:02:26 UTC (rev 2132)
@@ -0,0 +1,34 @@
+type file{}
+
+type surfclust_obj{
+ file vals_dset;
+ file mask_dset;
+ file table;
+};
+
+
+(surfclust_obj surfclustOutput) SurfClust (file specFile, file surfFile, file input, float threshVal, string prefix){
+ app {
+ SurfClust "-spec" @filename(specFile) "-surf_A" @filename(surfFile) "-input" @filename(input) "-rmm 2.8 -thresh_col 1 -thresh" threshVal "-amm2 2 -sort_n_nodes -out_clusterdset -out_roidset -prepend_node_index -out_fulllist -prefix" prefix;
+ }
+}
+
+
+string SeedRegions = ["IDEAL"];
+string hemis = ["lh","rh"];
+float vertexThresh[] = [6.0,9.0];
+
+foreach seed in SeedRegions{
+ foreach h in hemis{
+ foreach thresh in vertexThresh{
+ string HORRYsurf_dir = @strcat("/disks/gpfs/fmri/NL-EMB/fs.subjs/HORRY/SUMA/");
+ file HORRYspec <simple_mapper;location=HORRYsurf_dir, file=@strcat("HORRY.",h,".mesh140_std.spec")>;
+ file HORRYsurf <simple_mapper;location=HORRYsurf_dir, file=@strcat("HORRY.",h,".mesh140_std.pial.asc")>;
+ string inputName=@strcat("results/",h,"_",seed,"_new_sorted.txt");
+ file inputFile <single_file_mapper;file=inputName>;
+ string outPrefix=@strcat(h,"_",seed,"_thresh",thresh);
+ surfclust_obj surfclustOutput <simple_mapper;prefix=outPrefix>;
+ (surfclustOutput) = SurfClust(HORRYspec,HORRYsurf,inputFile,thresh,outPrefix);
+ }
+ }
+}
More information about the Swift-commit
mailing list