Ignore:
Timestamp:
Mar 28, 2003, 5:06:40 PM (23 years ago)
Author:
cecile
Message:

ok

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/TestPipes/tsttoi2ring.cc

    r2331 r2355  
    2323void usage(void) {
    2424  cout<<"tsttoi2ring fitsin_phase fitsin_value fitsout_value fitsout_weight ";
    25    cout<<" Nsamples SN_begin SN_last (all -f SN_last<SN_begin)"<<endl;
     25   cout<<" Nsamples SN_begin SN_last Nring (all if SN_last<SN_begin)"<<endl;
    2626 return;
    2727}
     
    3939bool snimplicit = false;
    4040
    41 if(narg != 8) {usage(); exit(2);}
     41if(narg != 9) {usage(); exit(2);}
    4242char * fitsin_phase    = arg[1];
    4343char * fitsin_value    = arg[2];
     
    4747 int_8 sdeb               = atoi(arg[6]);
    4848 int_8 sfin              = atoi(arg[7]);
     49 int_8 Nring             = atoi(arg[8]);
    4950    cout<<"Requested Samples from "<<sdeb<<" , "<<sfin<<endl;
    5051 
     
    8687 wfits.setNSamples(Nsamples);
    8788 wwfits.setNSamples(Nsamples);
    88  wfits.setNRings(1);
    89  wwfits.setNRings(1);
    90  
     89 wfits.setNRings(Nring);
     90 wwfits.setNRings(Nring);
    9191
    92 
    93  cout << "fits writer created"<<endl;
    9492
    9593
     
    115113 plombier.Connect(m2ring,"WCircTheta",wwfits,"CircTheta");
    116114 plombier.Connect(m2ring,"WCircPhi",wwfits,"CircPhi");
    117  plombier.Connect(m2ring,"WRvalue",wwfits,"signal");
     115 plombier.Connect(m2ring,"WRvalue",wwfits,"signal"); 
    118116
    119117 // Run
Note: See TracChangeset for help on using the changeset viewer.