Changeset 3941 in Sophya for trunk/AddOn/TAcq/chanum_1210.cc


Ignore:
Timestamp:
Jan 26, 2011, 6:52:12 PM (15 years ago)
Author:
cmv
Message:

on enleve le binnig en freq, pas bon car RFI, cmv 26/01/2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/chanum_1210.cc

    r3940 r3941  
    1818#include "nbtrixx.h"
    1919
    20 // > chanum_1210 -f 1375.0610351 -F 0,8888,5 -o CasA02Dec.csh ../../crt*/PittsDec10/CasA02Dec/chanum_*.ppf
    21 // > chanum_1210 -f 1375.0610351 -F 0,8888,5 -o Crab03Dec.csh ../../crt*/PittsDec10/Crab03Dec/chanum_*.ppf
    22 // > chanum_1210 -f 1382.5378418 -F 0,8888,5 -o Sun03Dec.csh  ../../crt*/PittsDec10/Sun03Dec/chanum_*.ppf
    23 // > chanum_1210 -f 1390.0146484 -F 0,8888,5 -o CasA03Dec.csh ../../crt*/PittsDec10/CasA03Dec/chanum_*.ppf
     20// > 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
    2424
    2525int decode_numthread(string filein,string& dir);
     
    3131cout<<"Usage: chanum_1210 [options] chanum_?.ppf ..."<<endl
    3232    <<" -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\")"<<endl
    3433    <<" -T it0,it1 : selection fichier temps de it0 a it1 (def=\"0,99999\")"<<endl
    3534    <<" -o fichier.csh : nom du fichier de sortie pour les commandes a lancer"<<endl;
     
    4039{
    4140  string outname = "chanum_1210.csh";
    42   string selfreq = "0,8888,1", seltime = "0,99999";
     41  string seltime = "0,99999";
    4342  double freq0 = 0.;
    4443
    4544  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) {
    4746    switch (c) {
    4847    case 'f' :
     
    5150    case 'o' :
    5251      outname = optarg;
    53       break;
    54     case 'F' :
    55       selfreq = optarg;
    5652      break;
    5753    case 'T' :
     
    108104  for(uint_4 i=0;i<vcode.size();i++) {
    109105    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());
    112107    string argu = str;
    113108    uint_4 ip = IVcode(i);
Note: See TracChangeset for help on using the changeset viewer.