Changeset 2240 for branches/parallel/src/MSFiller.h
- Timestamp:
- 07/22/11 12:26:10 (13 years ago)
- Location:
- branches/parallel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/parallel
- Property svn:mergeinfo changed
/trunk merged: 2217-2228,2231-2239
- Property svn:mergeinfo changed
-
branches/parallel/src
- Property svn:mergeinfo changed
/trunk/src merged: 2217,2219,2221-2224,2226,2228,2231-2232,2234,2237-2239
- Property svn:mergeinfo changed
-
branches/parallel/src/MSFiller.h
r2021 r2240 90 90 91 91 // get direction for DIRECTION, AZIMUTH, and ELEVATION columns 92 casa::uInt getDirection( casa::uInt idx, casa::Vector<casa::Double> &dir, casa::Vector<casa::Double> &srate, casa::String &ref, casa::MSPointing &tab, casa::Double t ) ; 92 casa::uInt getDirection( casa::uInt idx, 93 casa::Vector<casa::Double> &dir, 94 casa::Vector<casa::Double> &srate, 95 casa::String &ref, 96 casa::ROScalarColumn<casa::Double> &ptcol, 97 casa::ROArrayColumn<casa::Double> &pdcol, 98 casa::Double t ) ; 99 casa::uInt getDirection( casa::uInt idx, 100 casa::Vector<casa::Double> &dir, 101 casa::Vector<casa::Double> &azel, 102 casa::Vector<casa::Double> &srate, 103 casa::ROScalarColumn<casa::Double> &ptcol, 104 casa::ROArrayColumn<casa::Double> &pdcol, 105 casa::MEpoch &t, casa::MPosition &antpos ) ; 106 void getSourceDirection( casa::Vector<casa::Double> &dir, 107 casa::Vector<casa::Double> &azel, 108 casa::Vector<casa::Double> &srate, 109 casa::MEpoch &t, 110 casa::MPosition &antpos, 111 casa::Vector<casa::MDirection> &srcdir ) ; 93 112 94 113 // create key for TCAL table … … 97 116 // binary search 98 117 casa::uInt binarySearch( casa::Vector<casa::MEpoch> &timeList, casa::Double target ) ; 118 casa::uInt binarySearch( casa::Vector<casa::Double> &timeList, casa::Double target ) ; 99 119 100 120 // tool for HPC 101 121 double gettimeofday_sec() ; 102 122 123 // get frequency frame 124 std::string getFrame() ; 125 126 // reshape SPECTRA and FLAGTRA 127 void reshapeSpectraAndFlagtra( casa::Cube<casa::Float> &sp, 128 casa::Cube<casa::Bool> &fl, 129 casa::Table &tab, 130 casa::Int &npol, 131 casa::Int &nchan, 132 casa::Int &nrow, 133 casa::Vector<casa::Int> &corrtype ) ; 134 135 // initialize header 136 void initHeader( STHeader &header ) ; 137 138 // get value from table column using object pool 139 casa::String asString( casa::String name, 140 casa::uInt idx, 141 casa::Table tab, 142 boost::object_pool<casa::ROTableColumn> *pool ) ; 143 casa::Bool asBool( casa::String name, 144 casa::uInt idx, 145 casa::Table &tab, 146 boost::object_pool<casa::ROTableColumn> *pool ) ; 147 casa::Int asInt( casa::String name, 148 casa::uInt idx, 149 casa::Table &tab, 150 boost::object_pool<casa::ROTableColumn> *pool ) ; 151 casa::uInt asuInt( casa::String name, 152 casa::uInt idx, 153 casa::Table &tab, 154 boost::object_pool<casa::ROTableColumn> *pool ) ; 155 casa::Float asFloat( casa::String name, 156 casa::uInt idx, 157 casa::Table &tab, 158 boost::object_pool<casa::ROTableColumn> *pool ) ; 159 casa::Double asDouble( casa::String name, 160 casa::uInt idx, 161 casa::Table &tab, 162 boost::object_pool<casa::ROTableColumn> *pool ) ; 163 164 void sourceInfo( casa::Int sourceId, 165 casa::Int spwId, 166 casa::String &name, 167 casa::MDirection &direction, 168 casa::Vector<casa::Double> &properMotion, 169 casa::Vector<casa::Double> &restFreqs, 170 casa::Vector<casa::String> &transitions, 171 casa::Vector<casa::Double> &sysVels, 172 boost::object_pool<casa::ROTableColumn> *pool ) ; 173 174 void spectralSetup( casa::Int spwId, 175 casa::MEpoch &me, 176 casa::MPosition &mp, 177 casa::MDirection &md, 178 casa::Double &refpix, 179 casa::Double &refval, 180 casa::Double &increment, 181 casa::Int &nchan, 182 casa::String &freqref, 183 casa::Double &reffreq, 184 casa::Double &bandwidth, 185 boost::object_pool<casa::ROTableColumn> *pool ) ; 186 103 187 casa::CountedPtr<Scantable> table_ ; 104 188 casa::MeasurementSet mstable_ ; … … 126 210 casa::Vector<casa::Double> mwTime_ ; 127 211 casa::Vector<casa::Double> mwInterval_ ; 212 casa::Vector<casa::uInt> mwIndex_ ; 128 213 129 214 // Record for TCAL_ID
Note: See TracChangeset
for help on using the changeset viewer.