diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/csv2sto.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | scripts/gen_sto_dominici.sh | 22 |
2 files changed, 21 insertions, 2 deletions
diff --git a/scripts/csv2sto.py b/scripts/csv2sto.py index 97d768b..338b773 100755 --- a/scripts/csv2sto.py +++ b/scripts/csv2sto.py @@ -89,7 +89,6 @@ def main(): for line in csv_reader: if nRows == 0: nCols = len(line) - print("nCols: {}".format(nCols)) nRows += 1 if tot_nRows == 0: diff --git a/scripts/gen_sto_dominici.sh b/scripts/gen_sto_dominici.sh index 98c462f..af11c99 100644..100755 --- a/scripts/gen_sto_dominici.sh +++ b/scripts/gen_sto_dominici.sh @@ -1 +1,21 @@ -./csv2sto.py -f -T 3.0 -Y 1.0 -m add_long_r,add_long_l,ercspn_r,ercspn_l,gm_r,gm_l,hs_r,hs_l,lat_gas_r,lat_gas_l,med_gas_r,med_gas_l,rect_fem_r,rect_fem_l,soleus_r,soleus_l,tib_ant_r,tib_ant_l,tfl_r,tfl_l,vas_lat_r,vas_lat_l,vas_med_r,vas_med_l /adults_add_r.txt.interp /adults_add_l.txt.interp /adults_es_r.txt.interp /adults_es_l.txt.interp /adults_gm_r.txt.interp /adults_gm_l.txt.interp /adults_hs_r.txt.interp /adults_hs_l.txt.interp /adults_lg_r.txt.interp /adults_lg_l.txt.interp /adults_mg_r.txt.interp /adults_mg_l.txt.interp /adults_rf_r.txt.interp /adults_rf_l.txt.interp /adults_sol_r.txt.interp /adults_sol_l.txt.interp /adults_ta_r.txt.interp /adults_ta_l.txt.interp /adults_tfl_r.txt.interp /adults_tfl_l.txt.interp /adults_vl_r.txt.interp /adults_vl_l.txt.interp /adults_vm_r.txt.interp /adults_vm_l.txt.interp ../data/dominici/4_adults/adults.sto +#!/bin/sh + +D=../data/dominici/4_adults/interpolated +TSCALE=3.0 +YSCALE=0.75 + +./csv2sto.py -f -T $TSCALE -Y $YSCALE \ + -m add_long_r,add_long_l,ercspn_r,ercspn_l,gm_r,gm_l,hs_r,hs_l,lat_gas_r,lat_gas_l,med_gas_r,med_gas_l,rect_fem_r,rect_fem_l,soleus_r,soleus_l,tib_ant_r,tib_ant_l,tfl_r,tfl_l,vas_lat_r,vas_lat_l,vas_med_r,vas_med_l \ + $D/adults_add_r.txt.interp $D/adults_add_l.txt.interp \ + $D/adults_es_r.txt.interp $D/adults_es_l.txt.interp \ + $D/adults_gm_r.txt.interp $D/adults_gm_l.txt.interp \ + $D/adults_hs_r.txt.interp $D/adults_hs_l.txt.interp \ + $D/adults_lg_r.txt.interp $D/adults_lg_l.txt.interp \ + $D/adults_mg_r.txt.interp $D/adults_mg_l.txt.interp \ + $D/adults_rf_r.txt.interp $D/adults_rf_l.txt.interp \ + $D/adults_sol_r.txt.interp $D/adults_sol_l.txt.interp \ + $D/adults_ta_r.txt.interp $D/adults_ta_l.txt.interp \ + $D/adults_tfl_r.txt.interp $D/adults_tfl_l.txt.interp \ + $D/adults_vl_r.txt.interp $D/adults_vl_l.txt.interp \ + $D/adults_vm_r.txt.interp $D/adults_vm_l.txt.interp \ + ../data/dominici/4_adults/adults_${TSCALE}_${YSCALE}.sto |