VBStore.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef SYNTHESIS_TRANSFORM2_VBSTORE_H
00029 #define SYNTHESIS_TRANSFORM2_VBSTORE_H
00030 #include <synthesis/TransformMachines2/Utils.h>
00031 #include <synthesis/TransformMachines2/CFBuffer.h>
00032
00033 namespace casa {
00034 namespace refim{
00035 class VBStore
00036 {
00037 public:
00038 VBStore():dopsf_p(False) {};
00039 ~VBStore() {};
00040 inline Int nRow() {return nRow_p;};
00041 inline Int beginRow() {return beginRow_p;}
00042 inline Int endRow() {return endRow_p;}
00043 inline Int spwID() {return spwID_p;}
00044 inline Bool dopsf() {return dopsf_p;}
00045 inline Bool useCorrected() {return useCorrected_p;};
00046 Matrix<Double>& uvw() {return uvw_p;};
00047 Vector<Bool>& rowFlag() {return rowFlag_p;};
00048 Cube<Bool>& flagCube() {return flagCube_p;};
00049 Matrix<Float>& imagingWeight() {return imagingWeight_p;};
00050 Cube<Complex>& visCube() {return visCube_p;};
00051 Vector<Double>& freq() {return freq_p;};
00052 Cube<Complex>& modelCube() {return modelCube_p;};
00053 Cube<Complex>& correctedCube() {return correctedCube_p;};
00054 Quantity pa() {return paQuant_p;}
00055 const VisBuffer2& vb() {return *vb_p;}
00056 Double imRefFreq() {return imRefFreq_p;}
00057
00058 void reference(const VBStore& other)
00059 {
00060 nRow_p=other.nRow_p; beginRow_p=other.beginRow_p; endRow_p=other.endRow_p;
00061 dopsf_p = other.dopsf_p;
00062 useCorrected_p = other.useCorrected_p;
00063
00064 uvw_p.reference(other.uvw_p);
00065 rowFlag_p.reference(other.rowFlag_p);
00066 flagCube_p.reference(other.flagCube_p);
00067 imagingWeight_p.reference(other.imagingWeight_p);
00068 freq_p.reference(other.freq_p);
00069
00070
00071
00072
00073
00074
00075
00076
00077 correctedCube_p.reference(other.correctedCube_p);
00078 visCube_p.reference(other.visCube_p);
00079 modelCube_p.reference(other.modelCube_p);
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089 }
00090
00091 Int nRow_p, beginRow_p, endRow_p, spwID_p, startChan_p, endChan_p,nDataChan_p, nDataPol_p;
00092 Matrix<Double> uvw_p;
00093 Vector<Bool> rowFlag_p;
00094 Cube<Bool> flagCube_p;
00095 Matrix<Float> imagingWeight_p;
00096 Cube<Complex> visCube_p, modelCube_p, correctedCube_p;
00097 Vector<Double> freq_p;
00098 Bool dopsf_p,useCorrected_p, conjBeams_p;
00099 Vector<Int> corrType_p;
00100 Quantity paQuant_p;
00101 Vector<Int> antenna1_p, antenna2_p;
00102 const VisBuffer2 *vb_p;
00103 Double imRefFreq_p;
00104 CFBStruct cfBSt_p;
00105 Bool accumCFs_p;
00106 Matrix<uInt> BLCXi, BLCYi, TRCXi, TRCYi;
00107 };
00108 }
00109 }
00110 #endif