Changeset 2331 in Sophya
- Timestamp:
- Feb 24, 2003, 3:47:10 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2ring.cc
r2329 r2331 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toi2ring.cc,v 1. 3 2003-02-24 14:14:51cecile Exp $5 // $Id: toi2ring.cc,v 1.4 2003-02-24 14:47:10 cecile Exp $ 6 6 7 7 #include "toimanager.h" … … 33 33 cout << "Toi2RING::init" << endl; 34 34 declareInput("Theta"); // input index 0 35 declareInput("Phi"); // input index 036 declareInput("Phase"); // input index 037 declareInput("Value"); // input index 135 declareInput("Phi"); // input index 1 36 declareInput("Phase"); // input index 2 37 declareInput("Value"); // input index 3 38 38 declareOutput("CircTheta"); // output index 0 39 declareOutput("CircPhi"); // output index 0 40 declareOutput("Rvalue"); // output index 0 41 // declareOutput("WRvalue"); // output index 1 39 declareOutput("CircPhi"); // output index 1 40 declareOutput("Rvalue"); // output index 2 41 declareOutput("WCircTheta"); // output index 3 42 declareOutput("WCircPhi"); // output index 4 43 declareOutput("WRvalue"); // output index 5 42 44 } 43 45 … … 94 96 putData(1,Nrings*Nsamples+i,cphi); 95 97 putData(2,Nrings*Nsamples+i,r[i]); 98 putData(3,Nrings*Nsamples+i,ctheta); 99 putData(4,Nrings*Nsamples+i,cphi); 100 putData(5,Nrings*Nsamples+i,wr[i]); 96 101 wr[i]=0; 97 102 r[i]=0.; -
trunk/ArchTOIPipe/TestPipes/tsttoi2ring.cc
r2330 r2331 79 79 80 80 FITSRingWriter wfits(fitsout_value); 81 //FITSRingWriter wwfits(fitsout_weight);81 FITSRingWriter wwfits(fitsout_weight); 82 82 cout << "setAperture" << endl; 83 83 wfits.setAperture(85.); 84 //wwfits.setAperture(85.);84 wwfits.setAperture(85.); 85 85 cout << "setNSamples" << endl; 86 86 wfits.setNSamples(Nsamples); 87 //wwfits.setNSamples(Nsamples);87 wwfits.setNSamples(Nsamples); 88 88 wfits.setNRings(1); 89 //wwfits.setNRings(1);89 wwfits.setNRings(1); 90 90 91 91 … … 113 113 plombier.Connect(m2ring,"Rvalue",wfits,"signal"); 114 114 115 // plombier.Connect(m2ring,"CircTheta",wwfits,"CircTheta"); 116 // plombier.Connect(m2ring,"CircPhi",wwfits,"CircPhi"); 117 // plombier.Connect(m2ring,"WRvalue",wwfits,"signal"); 118 115 plombier.Connect(m2ring,"WCircTheta",wwfits,"CircTheta"); 116 plombier.Connect(m2ring,"WCircPhi",wwfits,"CircPhi"); 117 plombier.Connect(m2ring,"WRvalue",wwfits,"signal"); 119 118 120 119 // Run
Note:
See TracChangeset
for help on using the changeset viewer.