Rev | Line | |
---|
[1365] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 |
|
---|
| 3 | #ifndef FITSTOIRDR_H
|
---|
| 4 | #define FITSTOIRDR_H
|
---|
| 5 |
|
---|
| 6 | #include "toiprocessor.h"
|
---|
| 7 | #include <string>
|
---|
| 8 | #include "fitsio.h"
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | class FITSTOIReader : public TOIProcessor {
|
---|
| 12 | public:
|
---|
| 13 | FITSTOIReader(string fn);
|
---|
| 14 | ~FITSTOIReader();
|
---|
| 15 | virtual void init();
|
---|
| 16 | virtual void run();
|
---|
| 17 |
|
---|
| 18 | protected:
|
---|
| 19 | virtual int calcMinOut();
|
---|
| 20 | virtual int calcMaxOut();
|
---|
| 21 |
|
---|
| 22 | private:
|
---|
| 23 | string fname;
|
---|
| 24 | fitsfile *fptr;
|
---|
| 25 | int fstatus;
|
---|
| 26 | long nrows;
|
---|
| 27 | int firstSn;
|
---|
| 28 | };
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.