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: fitsringrdr.h,v 1.1 2003-03-24 10:59:45 cecile Exp $
|
---|
9 |
|
---|
10 | #ifndef FITSRINGRDR_H
|
---|
11 | #define FITSRINGRDR_H
|
---|
12 |
|
---|
13 | #include "toi.h"
|
---|
14 | #include "toiprocessor.h"
|
---|
15 | #include "fitsio.h"
|
---|
16 |
|
---|
17 | class FITSRingReader : public TOIProcessor {
|
---|
18 | public:
|
---|
19 | FITSRingReader(string fn,int buff_sz=1024);
|
---|
20 | ~FITSRingReader();
|
---|
21 |
|
---|
22 |
|
---|
23 | void setBufferSize(int buffsz=1024);
|
---|
24 | inline int getBufferSize() { return Buff_Sz; }
|
---|
25 |
|
---|
26 | void init();
|
---|
27 | void run();
|
---|
28 |
|
---|
29 | protected:
|
---|
30 | virtual void openFile(string fn);
|
---|
31 | int nSamples;
|
---|
32 | long nRings;
|
---|
33 | double aperture;
|
---|
34 | string fname;
|
---|
35 | fitsfile *fptr;
|
---|
36 | int fstatus;
|
---|
37 | int Buff_Sz; // buffer size = nSamples
|
---|
38 | vector<string> allfn;
|
---|
39 | };
|
---|
40 |
|
---|
41 |
|
---|
42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.