Changeset 2355 in Sophya for trunk/ArchTOIPipe/TestPipes/tsttoi2ring.cc
- Timestamp:
- Mar 28, 2003, 5:06:40 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/tsttoi2ring.cc
r2331 r2355 23 23 void usage(void) { 24 24 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; 26 26 return; 27 27 } … … 39 39 bool snimplicit = false; 40 40 41 if(narg != 8) {usage(); exit(2);}41 if(narg != 9) {usage(); exit(2);} 42 42 char * fitsin_phase = arg[1]; 43 43 char * fitsin_value = arg[2]; … … 47 47 int_8 sdeb = atoi(arg[6]); 48 48 int_8 sfin = atoi(arg[7]); 49 int_8 Nring = atoi(arg[8]); 49 50 cout<<"Requested Samples from "<<sdeb<<" , "<<sfin<<endl; 50 51 … … 86 87 wfits.setNSamples(Nsamples); 87 88 wwfits.setNSamples(Nsamples); 88 wfits.setNRings(1); 89 wwfits.setNRings(1); 90 89 wfits.setNRings(Nring); 90 wwfits.setNRings(Nring); 91 91 92 93 cout << "fits writer created"<<endl;94 92 95 93 … … 115 113 plombier.Connect(m2ring,"WCircTheta",wwfits,"CircTheta"); 116 114 plombier.Connect(m2ring,"WCircPhi",wwfits,"CircPhi"); 117 plombier.Connect(m2ring,"WRvalue",wwfits,"signal"); 115 plombier.Connect(m2ring,"WRvalue",wwfits,"signal"); 118 116 119 117 // Run
Note:
See TracChangeset
for help on using the changeset viewer.