[Swift-commit] r3094 - SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Aug 10 09:25:16 CDT 2009


Author: andric
Date: 2009-08-10 09:25:16 -0500 (Mon, 10 Aug 2009)
New Revision: 3094

Modified:
   SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/surfclust.swift
Log:
correctly iterating through rmm as 'float' val

Modified: SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/surfclust.swift
===================================================================
--- SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/surfclust.swift	2009-08-10 14:23:57 UTC (rev 3093)
+++ SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/surfclust.swift	2009-08-10 14:25:16 UTC (rev 3094)
@@ -1,18 +1,19 @@
 # coded Tuesday; July 22, 2008
+#---- re-coded: Sunday; August 24, 2008
 # this version also loops the rmm value
 type file{}
 
-(file surfclustOutput[]) SurfClust (file specFile, file surfFile, file input, float threshVal, float rmmVal, string prefix){
+(file surfclustOutput[]) SurfClust (file specFile, file surfFile, file input, int threshVal, float rmmVal, string prefix){
     app {
         SurfClust "-spec" @filename(specFile) "-surf_A" @filename(surfFile) "-input" @filename(input) "1" "-rmm" rmmVal "-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"];
+string SeedRegions[] = ["IDEAL"];
+string hemis[] = ["lh","rh"];
 int vertexThresh[] = [6,9];
-float rmm_vals = [2.1,2.2];
+float rmm_vals[] = [2.5];
 
 foreach seed in SeedRegions{
     foreach h in hemis{
@@ -20,7 +21,7 @@
             foreach rmm in rmm_vals{
                 file HORRYspec <single_file_mapper;file=@strcat("HORRY.",h,".mesh140_std.spec")>;
                 file HORRYsurf <single_file_mapper;file=@strcat("HORRY.",h,".mesh140_std.pial.asc")>;
-                file inputFile <single_file_mapper;file=@strcat("results/",h,"_",seed,"_new_sorted.txt")>;
+                file inputFile <single_file_mapper;file=@strcat("oldResults/",h,"_",seed,"_new_sorted.txt")>;
                 string outPrefix=@strcat(h,"_",seed,"_Thresh",thresh);
                 string vals_name = @strcat(outPrefix,"_Clustered_r",rmm,"_a2.0.niml.dset, ");
                 string msk_name = @strcat(outPrefix,"_ClstMsk_r",rmm,"_a2.0.niml.dset, ");




More information about the Swift-commit mailing list