| Line |   | 
|---|
| 1 | // This may look like C code, but it is really -*- C++ -*-
 | 
|---|
| 2 | 
 | 
|---|
| 3 | // ArchTOIPipe           (C)     CEA/DAPNIA/SPP IN2P3/LAL
 | 
|---|
| 4 | //                               Eric Aubourg
 | 
|---|
| 5 | //                               Cecile Renault
 | 
|---|
| 6 | //                               Christophe Magneville
 | 
|---|
| 7 | //                               Reza Ansari
 | 
|---|
| 8 | // $Id: fitsringwtr.h,v 1.1 2002-11-28 14:41:12 aubourg Exp $
 | 
|---|
| 9 | 
 | 
|---|
| 10 | #ifndef FITSRINGWTR_H
 | 
|---|
| 11 | #define FITSRINGWTR_H
 | 
|---|
| 12 | 
 | 
|---|
| 13 | #include "toi.h"
 | 
|---|
| 14 | #include "toiprocessor.h"
 | 
|---|
| 15 | #include "fitsio.h"
 | 
|---|
| 16 | 
 | 
|---|
| 17 | class FITSRingWriter : public TOIProcessor {
 | 
|---|
| 18 | public:
 | 
|---|
| 19 |   FITSRingWriter(string fn);
 | 
|---|
| 20 |   ~FITSRingWriter();
 | 
|---|
| 21 | 
 | 
|---|
| 22 |   void  setNSamples(long n); // number of samples in a ring
 | 
|---|
| 23 |   void  setNRings(long n);  // number of rings (-> number of HDU)
 | 
|---|
| 24 |   void  setAperture(double a);
 | 
|---|
| 25 |   
 | 
|---|
| 26 |   void  init();
 | 
|---|
| 27 |   void  run();
 | 
|---|
| 28 |   
 | 
|---|
| 29 | protected:
 | 
|---|
| 30 |   long nSamples;
 | 
|---|
| 31 |   long nRings;
 | 
|---|
| 32 |   double aperture;
 | 
|---|
| 33 |   string fname;
 | 
|---|
| 34 |   fitsfile *fptr;
 | 
|---|
| 35 |   int fstatus;
 | 
|---|
| 36 | };
 | 
|---|
| 37 | 
 | 
|---|
| 38 | 
 | 
|---|
| 39 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.