Changeset 3941 in Sophya for trunk/AddOn/TAcq/chanum_1210.cc
- Timestamp:
- Jan 26, 2011, 6:52:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/chanum_1210.cc
r3940 r3941 18 18 #include "nbtrixx.h" 19 19 20 // > chanum_1210 -f 1375.0610351 - F 0,8888,5 -o CasA02Dec.csh ../../crt*/PittsDec10/CasA02Dec/chanum_*.ppf21 // > chanum_1210 -f 1375.0610351 - F 0,8888,5 -o Crab03Dec.csh ../../crt*/PittsDec10/Crab03Dec/chanum_*.ppf22 // > chanum_1210 -f 1382.5378418 - F 0,8888,5 -o Sun03Dec.csh ../../crt*/PittsDec10/Sun03Dec/chanum_*.ppf23 // > chanum_1210 -f 1390.0146484 - F 0,8888,5 -o CasA03Dec.csh ../../crt*/PittsDec10/CasA03Dec/chanum_*.ppf20 // > chanum_1210 -f 1375.0610351 -o CasA02Dec.csh ../../crt*/PittsDec10/CasA02Dec/chanum_*.ppf 21 // > chanum_1210 -f 1375.0610351 -o Crab03Dec.csh ../../crt*/PittsDec10/Crab03Dec/chanum_*.ppf 22 // > chanum_1210 -f 1382.5378418 -o Sun03Dec.csh ../../crt*/PittsDec10/Sun03Dec/chanum_*.ppf 23 // > chanum_1210 -f 1390.0146484 -o CasA03Dec.csh ../../crt*/PittsDec10/CasA03Dec/chanum_*.ppf 24 24 25 25 int decode_numthread(string filein,string& dir); … … 31 31 cout<<"Usage: chanum_1210 [options] chanum_?.ppf ..."<<endl 32 32 <<" -f F0MHz : 1ere frequence pour cette acquisition (def=0.)"<<endl 33 <<" -F if0,if1,idf : selection freq de if0 a if1 moyenne par idf (def=\"0,8888,1\")"<<endl34 33 <<" -T it0,it1 : selection fichier temps de it0 a it1 (def=\"0,99999\")"<<endl 35 34 <<" -o fichier.csh : nom du fichier de sortie pour les commandes a lancer"<<endl; … … 40 39 { 41 40 string outname = "chanum_1210.csh"; 42 string sel freq = "0,8888,1", seltime = "0,99999";41 string seltime = "0,99999"; 43 42 double freq0 = 0.; 44 43 45 44 char c; 46 while((c = getopt(narg,arg,"hO:o:f: F:T:")) != -1) {45 while((c = getopt(narg,arg,"hO:o:f:T:")) != -1) { 47 46 switch (c) { 48 47 case 'f' : … … 51 50 case 'o' : 52 51 outname = optarg; 53 break;54 case 'F' :55 selfreq = optarg;56 52 break; 57 53 case 'T' : … … 108 104 for(uint_4 i=0;i<vcode.size();i++) { 109 105 char str[512]; 110 sprintf(str,"time ${TACQEXE}/svv2mtx2_1210 -f %.7f -T %s -F %s" 111 ,freq0,seltime.c_str(),selfreq.c_str()); 106 sprintf(str,"time ${TACQEXE}/svv2mtx2_1210 -f %.7f -T %s",freq0,seltime.c_str()); 112 107 string argu = str; 113 108 uint_4 ip = IVcode(i);
Note:
See TracChangeset
for help on using the changeset viewer.