Last change
on this file was
1123,
checked in by MatthewWhiting, 12 years ago
|
Moving the code that reads from and writes to FITS files containing reconstructed, momentmap, mask etc arrays to the FitsIO directory, away from Cubes. Updating all include statements as well.
|
File size:
719 bytes
|
Line | |
---|
1 | #ifndef DUCHAMP_WRITE_RECON_ARRAY_HH_ |
---|
2 | #define DUCHAMP_WRITE_RECON_ARRAY_HH_ |
---|
3 | |
---|
4 | #include <duchamp/duchamp.hh> |
---|
5 | #include <duchamp/FitsIO/WriteArray.hh> |
---|
6 | #include <duchamp/Cubes/cubes.hh> |
---|
7 | |
---|
8 | namespace duchamp { |
---|
9 | |
---|
10 | class WriteReconArray : public WriteArray |
---|
11 | { |
---|
12 | public: |
---|
13 | WriteReconArray(); |
---|
14 | WriteReconArray(Cube *cube); |
---|
15 | WriteReconArray(const WriteReconArray& other); |
---|
16 | WriteReconArray(const WriteArray& base); |
---|
17 | WriteReconArray& operator= (const WriteReconArray& other); |
---|
18 | WriteReconArray& operator= (const WriteArray& other); |
---|
19 | virtual ~WriteReconArray(){}; |
---|
20 | |
---|
21 | void setIsRecon(bool b){itsIsRecon = b;}; |
---|
22 | |
---|
23 | OUTCOME writeHeader(); |
---|
24 | OUTCOME writeData(); |
---|
25 | |
---|
26 | protected: |
---|
27 | bool itsIsRecon; |
---|
28 | }; |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.