Changeset 2331 in Sophya


Ignore:
Timestamp:
Feb 24, 2003, 3:47:10 PM (23 years ago)
Author:
cecile
Message:

avec wring

Location:
trunk/ArchTOIPipe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/ProcWSophya/toi2ring.cc

    r2329 r2331  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toi2ring.cc,v 1.3 2003-02-24 14:14:51 cecile Exp $
     5// $Id: toi2ring.cc,v 1.4 2003-02-24 14:47:10 cecile Exp $
    66
    77#include "toimanager.h"
     
    3333  cout << "Toi2RING::init" << endl;
    3434  declareInput("Theta");     // input  index 0
    35   declareInput("Phi");     // input  index 0
    36   declareInput("Phase");     // input  index 0
    37   declareInput("Value");     // input  index 1
     35  declareInput("Phi");     // input  index 1
     36  declareInput("Phase");     // input  index 2
     37  declareInput("Value");     // input  index 3
    3838  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
    4244}
    4345
     
    9496      putData(1,Nrings*Nsamples+i,cphi);
    9597      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]);
    96101      wr[i]=0;
    97102      r[i]=0.;
  • trunk/ArchTOIPipe/TestPipes/tsttoi2ring.cc

    r2330 r2331  
    7979
    8080 FITSRingWriter wfits(fitsout_value);
    81  // FITSRingWriter wwfits(fitsout_weight);
     81 FITSRingWriter wwfits(fitsout_weight);
    8282 cout << "setAperture" << endl;
    8383 wfits.setAperture(85.);
    84  // wwfits.setAperture(85.);
     84 wwfits.setAperture(85.);
    8585 cout << "setNSamples" << endl;
    8686 wfits.setNSamples(Nsamples);
    87  // wwfits.setNSamples(Nsamples);
     87 wwfits.setNSamples(Nsamples);
    8888 wfits.setNRings(1);
    89  // wwfits.setNRings(1);
     89 wwfits.setNRings(1);
    9090 
    9191
     
    113113 plombier.Connect(m2ring,"Rvalue",wfits,"signal");
    114114
    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");
    119118
    120119 // Run
Note: See TracChangeset for help on using the changeset viewer.