[Swift-commit] r3093 - 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:23:57 CDT 2009
Author: andric
Date: 2009-08-10 09:23:57 -0500 (Mon, 10 Aug 2009)
New Revision: 3093
Modified:
SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/surfclust.swift
Log:
now looping through rmm 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:22:56 UTC (rev 3092)
+++ SwiftApps/SIDGrid/swift/projects/andric/ccf_emblem/NonParametric_lag_analy/surfclust.swift 2009-08-10 14:23:57 UTC (rev 3093)
@@ -1,8 +1,10 @@
+# coded Tuesday; July 22, 2008
+# this version also loops the rmm value
type file{}
-(file surfclustOutput[]) SurfClust (file specFile, file surfFile, file input, float threshVal, string prefix){
+(file surfclustOutput[]) SurfClust (file specFile, file surfFile, file input, float threshVal, float rmmVal, string prefix){
app {
- SurfClust "-spec" @filename(specFile) "-surf_A" @filename(surfFile) "-input" @filename(input) "1 -rmm 2.8 -thresh_col 1 -thresh" threshVal "-amm2 2 -sort_n_nodes -out_clusterdset -out_roidset -prepend_node_index -out_fulllist -prefix" prefix;
+ 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;
}
}
@@ -10,20 +12,23 @@
string SeedRegions = ["IDEAL"];
string hemis = ["lh","rh"];
int vertexThresh[] = [6,9];
+float rmm_vals = [2.1,2.2];
foreach seed in SeedRegions{
foreach h in hemis{
foreach thresh in vertexThresh{
- 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")>;
- string outPrefix=@strcat(h,"_",seed,"_Thresh",thresh);
- string vals_name = @strcat(outPrefix,"_Clustered_r2.8_a2.0.niml.dset, ");
- string msk_name = @strcat(outPrefix,"_ClstMsk_r2.8_a2.0.niml.dset, ");
- string table_name = @strcat(outPrefix,"_ClstTable_r2.8_a2.0.1D");
- string out_files = @strcat(vals_name, msk_name, table_name);
- file surfclustOutput[] <fixed_array_mapper;files=out_files>;
- (surfclustOutput) = SurfClust(HORRYspec,HORRYsurf,inputFile,thresh,outPrefix);
+ 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")>;
+ 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, ");
+ string table_name = @strcat(outPrefix,"_ClstTable_r",rmm,"_a2.0.1D");
+ string out_files = @strcat(vals_name, msk_name, table_name);
+ file surfclustOutput[] <fixed_array_mapper;files=out_files>;
+ (surfclustOutput) = SurfClust(HORRYspec,HORRYsurf,inputFile,thresh,rmm,outPrefix);
+ }
}
}
}
More information about the Swift-commit
mailing list