Changeset 2237 for trunk/src/MSFiller.h
- Timestamp:
- 07/20/11 15:20:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MSFiller.h
r2234 r2237 91 91 // get direction for DIRECTION, AZIMUTH, and ELEVATION columns 92 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 ) ; 93 casa::uInt getDirection( casa::uInt idx, casa::Vector<casa::Double> &dir, casa::Vector<casa::Double> &azel, casa::Vector<casa::Double> &srate, casa::MSPointing &tab, casa::MEpoch &t, casa::MPosition &antpos ) ; 94 void getSourceDirection( casa::Vector<casa::Double> &dir, casa::Vector<casa::Double> &azel, casa::Vector<casa::Double> &srate, casa::MEpoch &t, casa::MPosition &antpos, casa::Vector<casa::MDirection> &srcdir ) ; 93 95 94 96 // create key for TCAL table … … 103 105 // get frequency frame 104 106 std::string getFrame() ; 105 107 108 // reshape SPECTRA and FLAGTRA 109 void reshapeSpectraAndFlagtra( casa::Cube<casa::Float> &sp, 110 casa::Cube<casa::Bool> &fl, 111 casa::Table &tab, 112 casa::Int &npol, 113 casa::Int &nchan, 114 casa::Int &nrow, 115 casa::Vector<casa::Int> &corrtype ) ; 116 117 // initialize header 118 void initHeader( STHeader &header ) ; 119 120 // get value from table column using object pool 121 casa::String asString( casa::String name, 122 casa::uInt idx, 123 casa::Table tab, 124 boost::object_pool<casa::ROTableColumn> *pool ) ; 125 casa::Bool asBool( casa::String name, 126 casa::uInt idx, 127 casa::Table &tab, 128 boost::object_pool<casa::ROTableColumn> *pool ) ; 129 casa::Int asInt( casa::String name, 130 casa::uInt idx, 131 casa::Table &tab, 132 boost::object_pool<casa::ROTableColumn> *pool ) ; 133 casa::uInt asuInt( casa::String name, 134 casa::uInt idx, 135 casa::Table &tab, 136 boost::object_pool<casa::ROTableColumn> *pool ) ; 137 casa::Float asFloat( casa::String name, 138 casa::uInt idx, 139 casa::Table &tab, 140 boost::object_pool<casa::ROTableColumn> *pool ) ; 141 casa::Double asDouble( casa::String name, 142 casa::uInt idx, 143 casa::Table &tab, 144 boost::object_pool<casa::ROTableColumn> *pool ) ; 145 146 void sourceInfo( casa::Int sourceId, 147 casa::Int spwId, 148 casa::String &name, 149 casa::MDirection &direction, 150 casa::Vector<casa::Double> &properMotion, 151 casa::Vector<casa::Double> &restFreqs, 152 casa::Vector<casa::String> &transitions, 153 casa::Vector<casa::Double> &sysVels, 154 boost::object_pool<casa::ROTableColumn> *pool ) ; 155 156 void spectralSetup( casa::Int spwId, 157 casa::MEpoch &me, 158 casa::MPosition &mp, 159 casa::MDirection &md, 160 casa::Double &refpix, 161 casa::Double &refval, 162 casa::Double &increment, 163 casa::Int &nchan, 164 casa::String &freqref, 165 casa::Double &reffreq, 166 casa::Double &bandwidth, 167 boost::object_pool<casa::ROTableColumn> *pool ) ; 168 106 169 casa::CountedPtr<Scantable> table_ ; 107 170 casa::MeasurementSet mstable_ ;
Note: See TracChangeset
for help on using the changeset viewer.