Changeset 2761 for trunk/external-alma/atnf/PKSIO/NROReader.h
- Timestamp:
- 02/06/13 13:13:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/atnf/PKSIO/NROReader.h
r2643 r2761 42 42 #include <casa/BasicSL/String.h> 43 43 #include <measures/Measures/MPosition.h> 44 #include <measures/Measures/MEpoch.h> 44 45 #include <measures/Measures/MCPosition.h> 45 46 #include <measures/Measures/MDirection.h> … … 56 57 #include <atnf/PKSIO/NRODataset.h> 57 58 #include <atnf/PKSIO/NRODataRecord.h> 58 59 using namespace std ;60 59 61 60 // <summary> … … 103 102 // Destructor. 104 103 virtual ~NROReader() ; 104 105 // determine whether to import frequency as REST (frequency is same as 106 // NEWSTAR/NOSTAR) or as is (velocity is same as NEWSTAR/NOSTAR) 107 void setFreqRefFromVREF( bool fromVREF ) ; 105 108 106 109 // Read data header … … 133 136 uInt &beamno, 134 137 uInt &polno, 135 vector<double> &freqs,138 std::vector<double> &freqs, 136 139 Vector<Double> &restfreq, 137 140 uInt &refbeamno, … … 171 174 172 175 // Get IF settings 173 virtual vector<Bool> getIFs() ;176 virtual std::vector<Bool> getIFs() ; 174 177 175 178 // Get Number of IFs … … 177 180 178 181 // Get Beam settings 179 virtual vector<Bool> getBeams() ;182 virtual std::vector<Bool> getBeams() ; 180 183 181 184 // Get Number of Beams … … 188 191 189 192 // Get spectrum 190 virtual vector<vector<double> > getSpectrum() ;193 virtual std::vector< std::vector<double> > getSpectrum() ; 191 194 192 195 // Get number of polarization … … 196 199 virtual double getStartTime() ; 197 200 virtual double getEndTime() ; 198 virtual vector<double> getStartIntTime() ;201 virtual std::vector<double> getStartIntTime() ; 199 202 //virtual double getStartIntTime( int i ) ; 200 203 201 204 // Get Antenna Position in ITRF coordinate 202 virtual vector<double> getAntennaPosition() = 0 ;205 virtual std::vector<double> getAntennaPosition() = 0 ; 203 206 204 207 // Get SRCDIRECTION in RADEC(J2000) … … 209 212 virtual void initConvert( int icoord, double t, char *epoch ) ; 210 213 214 // Shift frequency by given velocity with respect to specified 215 // velocity reference 216 std::vector<double> shiftFrequency( const std::vector<double> &f, const double &v, const string &vref ) ; 217 211 218 // filename 212 219 string filename_ ; … … 222 229 CountedPtr<MDirection::Convert> converter_ ; 223 230 CountedPtr<MeasFrame> mf_ ; 231 MEpoch me_ ; 232 MPosition mp_ ; 224 233 int coord_ ; 225 234 235 bool freqRefFromVREF_ ; 236 226 237 // Logger 227 //LogIO os;238 LogIO os_ ; 228 239 }; 229 240
Note: See TracChangeset
for help on using the changeset viewer.