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_VBSTORE_H
00029 #define SYNTHESIS_VBSTORE_H
00030 #include <synthesis/TransformMachines/Utils.h>
00031 #include <synthesis/TransformMachines/CFBuffer.h>
00032
00033 namespace casa {
00034 class VBStore
00035 {
00036 public:
00037 VBStore():dopsf_p(False) {};
00038 ~VBStore() {};
00039 inline Int nRow() {return nRow_p;};
00040 inline Int beginRow() {return beginRow_p;}
00041 inline Int endRow() {return endRow_p;}
00042 inline Int spwID() {return spwID_p;}
00043 inline Bool dopsf() {return dopsf_p;}
00044 inline Bool useCorrected() {return useCorrected_p;};
00045 Matrix<Double>& uvw() {return uvw_p;};
00046 Vector<Bool>& rowFlag() {return rowFlag_p;};
00047 Cube<Bool>& flagCube() {return flagCube_p;};
00048 Matrix<Float>& imagingWeight() {return imagingWeight_p;};
00049 Cube<Complex>& visCube() {return visCube_p;};
00050 Vector<Double>& freq() {return freq_p;};
00051 Cube<Complex>& modelCube() {return modelCube_p;};
00052 Cube<Complex>& correctedCube() {return correctedCube_p;};
00053 Quantity pa() {return paQuant_p;}
00054 const VisBuffer& vb() {return *vb_p;}
00055 Double imRefFreq() {return imRefFreq_p;}
00056
00057 void reference(const VBStore& other)
00058 {
00059 nRow_p=other.nRow_p; beginRow_p=other.beginRow_p; endRow_p=other.endRow_p;
00060 dopsf_p = other.dopsf_p;
00061 useCorrected_p = other.useCorrected_p;
00062
00063 uvw_p.reference(other.uvw_p);
00064 rowFlag_p.reference(other.rowFlag_p);
00065 flagCube_p.reference(other.flagCube_p);
00066 imagingWeight_p.reference(other.imagingWeight_p);
00067 freq_p.reference(other.freq_p);
00068
00069
00070
00071
00072
00073
00074
00075
00076 correctedCube_p.reference(other.correctedCube_p);
00077 visCube_p.reference(other.visCube_p);
00078 modelCube_p.reference(other.modelCube_p);
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088 }
00089
00090 Int nRow_p, beginRow_p, endRow_p, spwID_p, startChan_p, endChan_p,nDataChan_p, nDataPol_p;
00091 Matrix<Double> uvw_p;
00092 Vector<Bool> rowFlag_p;
00093 Cube<Bool> flagCube_p;
00094 Matrix<Float> imagingWeight_p;
00095 Cube<Complex> visCube_p, modelCube_p, correctedCube_p;
00096 Vector<Double> freq_p;
00097 Bool dopsf_p,useCorrected_p, conjBeams_p;
00098 Vector<Int> corrType_p;
00099 Quantity paQuant_p;
00100 Vector<Int> antenna1_p, antenna2_p;
00101 const VisBuffer *vb_p;
00102 Double imRefFreq_p;
00103 CFBStruct cfBSt_p;
00104 Bool accumCFs_p;
00105 Matrix<uInt> BLCXi, BLCYi, TRCXi, TRCYi;
00106 };
00107
00108 }
00109 #endif