Changeset 3106 for trunk/external-alma/asdm2ASAP/ASDMReader.h
- Timestamp:
- 10/04/16 18:20:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/asdm2ASAP/ASDMReader.h
r2979 r3106 38 38 * @return boolean status (true or false) 39 39 **/ 40 bool open( const std::string &filename, const casa ::Record &rec ) ;40 bool open( const std::string &filename, const casacore::Record &rec ) ; 41 41 42 42 /** … … 53 53 * get antenna id 54 54 **/ 55 casa ::Int getAntennaId() { return antennaId_ ; } ;55 casacore::Int getAntennaId() { return antennaId_ ; } ; 56 56 57 57 /** 58 58 * get antenna name 59 59 **/ 60 casa ::String getAntennaName() { return antennaName_ ; } ;60 casacore::String getAntennaName() { return antennaName_ ; } ; 61 61 62 62 /** … … 81 81 * @param poltype polarization type 82 82 **/ 83 void fillHeader( casa ::Int &nchan,84 casa ::Int &npol,85 casa ::Int &nif,86 casa ::Int &nbeam,87 casa ::String &observer,88 casa ::String &project,89 casa ::String &obstype,90 casa ::String &antennaname,91 casa ::Vector<casa::Double> &antennaposition,92 casa ::Float &equinox,93 casa ::String &freqref,94 casa ::Double &reffreq,95 casa ::Double &bandwidth,96 casa ::Double &utc,97 casa ::String &fluxunit,98 casa ::String &epoch,99 casa ::String &poltype ) ;83 void fillHeader( casacore::Int &nchan, 84 casacore::Int &npol, 85 casacore::Int &nif, 86 casacore::Int &nbeam, 87 casacore::String &observer, 88 casacore::String &project, 89 casacore::String &obstype, 90 casacore::String &antennaname, 91 casacore::Vector<casacore::Double> &antennaposition, 92 casacore::Float &equinox, 93 casacore::String &freqref, 94 casacore::Double &reffreq, 95 casacore::Double &bandwidth, 96 casacore::Double &utc, 97 casacore::String &fluxunit, 98 casacore::String &epoch, 99 casacore::String &poltype ) ; 100 100 101 101 /** … … 107 107 * @return list of valid configDescriptionId 108 108 **/ 109 casa ::Vector<casa::uInt> getConfigDescriptionIdList() { return configDescIdList_ ; } ;109 casacore::Vector<casacore::uInt> getConfigDescriptionIdList() { return configDescIdList_ ; } ; 110 110 111 111 /** 112 112 * get list of fieldId 113 113 * 114 * @return list of fieldId as casa ::uInt115 **/ 116 casa ::Vector<casa::uInt> getFieldIdList() ;114 * @return list of fieldId as casacore::uInt 115 **/ 116 casacore::Vector<casacore::uInt> getFieldIdList() ; 117 117 118 118 /** … … 121 121 * @return number of rows in Main table 122 122 **/ 123 casa ::uInt getNumMainRow() ;123 casacore::uInt getNumMainRow() ; 124 124 125 125 /** … … 135 135 * @param fieldId 136 136 **/ 137 casa ::Bool setMainRow( casa::uInt configDescId, casa::uInt fieldId ) ;137 casacore::Bool setMainRow( casacore::uInt configDescId, casacore::uInt fieldId ) ; 138 138 139 139 /** … … 143 143 * @return boolean indicating the row is valid or not 144 144 **/ 145 casa ::Bool setMainRow( casa::uInt irow ) ;145 casacore::Bool setMainRow( casacore::uInt irow ) ; 146 146 147 147 /** … … 181 181 * @return IF number 182 182 **/ 183 casa ::uInt getIFNo( unsigned int idx ) ;184 casa ::uInt getIFNo() ;183 casacore::uInt getIFNo( unsigned int idx ) ; 184 casacore::uInt getIFNo() ; 185 185 186 186 /** … … 387 387 * @return boolean status 388 388 **/ 389 casa ::Bool setData() ;389 casacore::Bool setData() ; 390 390 391 391 /** … … 408 408 * @param logger (LogSinkInterface) 409 409 **/ 410 void setLogger( casa ::CountedPtr<casa::LogSinkInterface> &logsink ) ;410 void setLogger( casacore::CountedPtr<casacore::LogSinkInterface> &logsink ) ; 411 411 412 412 … … 507 507 **/ 508 508 std::vector<double> toJ2000( std::vector<double> &dir, 509 casa ::String &dirref,509 casacore::String &dirref, 510 510 double &mjd ) ; 511 511 … … 579 579 const sdmbin::VMSData *vmsData_ ; 580 580 581 casa ::Int antennaId_ ; // antenna id582 casa ::String antennaName_ ; // antenna name583 casa ::String stationName_ ; // station name584 casa ::Vector<casa::Quantity> antennaPosition_ ; // antenna position585 casa ::Vector<casa::uInt> configDescIdList_ ; // list of valid configDescriptionId586 casa ::Vector<casa::uInt> feedIdList_ ; // list of valid feedId587 casa ::Vector<casa::uInt> fieldIdList_ ; // list of fieldId588 casa ::Int row_ ; // current row index589 map<asdm::Tag,casa ::uInt> ifno_ ; // list of IFNO for each SpectralWindow rows581 casacore::Int antennaId_ ; // antenna id 582 casacore::String antennaName_ ; // antenna name 583 casacore::String stationName_ ; // station name 584 casacore::Vector<casacore::Quantity> antennaPosition_ ; // antenna position 585 casacore::Vector<casacore::uInt> configDescIdList_ ; // list of valid configDescriptionId 586 casacore::Vector<casacore::uInt> feedIdList_ ; // list of valid feedId 587 casacore::Vector<casacore::uInt> fieldIdList_ ; // list of fieldId 588 casacore::Int row_ ; // current row index 589 map<asdm::Tag,casacore::uInt> ifno_ ; // list of IFNO for each SpectralWindow rows 590 590 unsigned int numData_ ; // number of valid data in vmsData_ where v_antennaId equals antennaId_ 591 591 vector<unsigned int> dataIdList_ ; // list of valid data indexes in vmsData_ … … 597 597 EnumSet<TimeSamplingMod::TimeSampling> timeSampling_ ; // time sampling 598 598 EnumSet<SpectralResolutionTypeMod::SpectralResolutionType> resolutionType_ ; // spectral resolution type 599 casa ::CountedPtr<casa::LogSinkInterface> logsink_ ; // Logger600 casa ::String className_ ;599 casacore::CountedPtr<casacore::LogSinkInterface> logsink_ ; // Logger 600 casacore::String className_ ; 601 601 unsigned int dataIndex_ ; 602 602 603 603 // Tables/Rows for ASDM 604 casa ::Vector<asdm::MainRow *> mainRow_ ; // list of pointers to all Main rows604 casacore::Vector<asdm::MainRow *> mainRow_ ; // list of pointers to all Main rows 605 605 //asdm::AntennaRow *antennaRow_p ; // pointer to target Antenna row 606 606 //asdm::StationRow *stationRow_p ; // pointer to target Station row that target antenna is located … … 617 617 asdm::ArrayTimeInterval timeInterval_ ; 618 618 619 casa ::MDirection::Convert toj2000_ ;620 casa ::MeasFrame mf_ ;621 casa ::MPosition mp_ ;622 casa ::MEpoch me_ ;619 casacore::MDirection::Convert toj2000_ ; 620 casacore::MeasFrame mf_ ; 621 casacore::MPosition mp_ ; 622 casacore::MEpoch me_ ; 623 623 } ; 624 624 #endif // ASAP_ASDM_READER_H
Note: See TracChangeset
for help on using the changeset viewer.