Changeset 3106 for trunk/external-alma/oldasdm2ASAP/OldASDMReader.h
- Timestamp:
- 10/04/16 18:20:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/oldasdm2ASAP/OldASDMReader.h
r2301 r3106 31 31 * @return boolean status (true or false) 32 32 **/ 33 bool open( const std::string &filename, const casa ::Record &rec ) ;33 bool open( const std::string &filename, const casacore::Record &rec ) ; 34 34 35 35 /** … … 46 46 * get antenna id 47 47 **/ 48 casa ::Int getAntennaId() { return antennaId_ ; } ;48 casacore::Int getAntennaId() { return antennaId_ ; } ; 49 49 50 50 /** 51 51 * get antenna name 52 52 **/ 53 casa ::String getAntennaName() { return antennaName_ ; } ;53 casacore::String getAntennaName() { return antennaName_ ; } ; 54 54 55 55 /** … … 74 74 * @param poltype polarization type 75 75 **/ 76 void fillHeader( casa ::Int &nchan,77 casa ::Int &npol,78 casa ::Int &nif,79 casa ::Int &nbeam,80 casa ::String &observer,81 casa ::String &project,82 casa ::String &obstype,83 casa ::String &antennaname,84 casa ::Vector<casa::Double> &antennaposition,85 casa ::Float &equinox,86 casa ::String &freqref,87 casa ::Double &reffreq,88 casa ::Double &bandwidth,89 casa ::Double &utc,90 casa ::String &fluxunit,91 casa ::String &epoch,92 casa ::String &poltype ) ;76 void fillHeader( casacore::Int &nchan, 77 casacore::Int &npol, 78 casacore::Int &nif, 79 casacore::Int &nbeam, 80 casacore::String &observer, 81 casacore::String &project, 82 casacore::String &obstype, 83 casacore::String &antennaname, 84 casacore::Vector<casacore::Double> &antennaposition, 85 casacore::Float &equinox, 86 casacore::String &freqref, 87 casacore::Double &reffreq, 88 casacore::Double &bandwidth, 89 casacore::Double &utc, 90 casacore::String &fluxunit, 91 casacore::String &epoch, 92 casacore::String &poltype ) ; 93 93 94 94 /** … … 100 100 * @return list of valid configDescriptionId 101 101 **/ 102 casa ::Vector<casa::uInt> getConfigDescriptionIdList() { return configDescIdList_ ; } ;102 casacore::Vector<casacore::uInt> getConfigDescriptionIdList() { return configDescIdList_ ; } ; 103 103 104 104 /** 105 105 * get list of fieldId 106 106 * 107 * @return list of fieldId as casa ::uInt108 **/ 109 casa ::Vector<casa::uInt> getFieldIdList() ;107 * @return list of fieldId as casacore::uInt 108 **/ 109 casacore::Vector<casacore::uInt> getFieldIdList() ; 110 110 111 111 /** … … 114 114 * @return number of rows in Main table 115 115 **/ 116 casa ::uInt getNumMainRow() ;116 casacore::uInt getNumMainRow() ; 117 117 118 118 /** … … 128 128 * @param fieldId 129 129 **/ 130 casa ::Bool setMainRow( casa::uInt configDescId, casa::uInt fieldId ) ;130 casacore::Bool setMainRow( casacore::uInt configDescId, casacore::uInt fieldId ) ; 131 131 132 132 /** … … 136 136 * @return boolean indicating the row is valid or not 137 137 **/ 138 casa ::Bool setMainRow( casa::uInt irow ) ;138 casacore::Bool setMainRow( casacore::uInt irow ) ; 139 139 140 140 /** … … 174 174 * @return IF number 175 175 **/ 176 casa ::uInt getIFNo( unsigned int idx ) ;177 casa ::uInt getIFNo() ;176 casacore::uInt getIFNo( unsigned int idx ) ; 177 casacore::uInt getIFNo() ; 178 178 179 179 /** … … 380 380 * @return boolean status 381 381 **/ 382 casa ::Bool setData() ;382 casacore::Bool setData() ; 383 383 384 384 /** … … 401 401 * @param logger (LogSinkInterface) 402 402 **/ 403 void setLogger( casa ::CountedPtr<casa::LogSinkInterface> &logsink ) ;403 void setLogger( casacore::CountedPtr<casacore::LogSinkInterface> &logsink ) ; 404 404 405 405 … … 490 490 double &el, 491 491 double &mjd, 492 casa ::Vector<casa::Quantity> &antpos ) ;492 casacore::Vector<casacore::Quantity> &antpos ) ; 493 493 494 494 /** … … 502 502 **/ 503 503 std::vector<double> toJ2000( std::vector<double> &dir, 504 casa ::String &dirref,504 casacore::String &dirref, 505 505 double &mjd, 506 casa ::Vector<casa::Quantity> &antpos ) ;506 casacore::Vector<casacore::Quantity> &antpos ) ; 507 507 /** 508 508 * get nIF … … 569 569 const sdmbin::VMSData *vmsData_ ; 570 570 571 casa ::Int antennaId_ ; // antenna id572 casa ::String antennaName_ ; // antenna name573 casa ::String stationName_ ; // station name574 casa ::Vector<casa::Quantity> antennaPosition_ ; // antenna position575 casa ::Vector<casa::uInt> configDescIdList_ ; // list of valid configDescriptionId576 casa ::Vector<casa::uInt> feedIdList_ ; // list of valid feedId577 casa ::Vector<casa::uInt> fieldIdList_ ; // list of fieldId578 casa ::Int row_ ; // current row index579 map<asdm::Tag,casa ::uInt> ifno_ ; // list of IFNO for each SpectralWindow rows571 casacore::Int antennaId_ ; // antenna id 572 casacore::String antennaName_ ; // antenna name 573 casacore::String stationName_ ; // station name 574 casacore::Vector<casacore::Quantity> antennaPosition_ ; // antenna position 575 casacore::Vector<casacore::uInt> configDescIdList_ ; // list of valid configDescriptionId 576 casacore::Vector<casacore::uInt> feedIdList_ ; // list of valid feedId 577 casacore::Vector<casacore::uInt> fieldIdList_ ; // list of fieldId 578 casacore::Int row_ ; // current row index 579 map<asdm::Tag,casacore::uInt> ifno_ ; // list of IFNO for each SpectralWindow rows 580 580 unsigned int numData_ ; // number of valid data in vmsData_ where v_antennaId equals antennaId_ 581 581 vector<unsigned int> dataIdList_ ; // list of valid data indexes in vmsData_ … … 587 587 EnumSet<TimeSamplingMod::TimeSampling> timeSampling_ ; // time sampling 588 588 EnumSet<SpectralResolutionTypeMod::SpectralResolutionType> resolutionType_ ; // spectral resolution type 589 casa ::CountedPtr<casa::LogSinkInterface> logsink_ ; // Logger590 casa ::String className_ ;589 casacore::CountedPtr<casacore::LogSinkInterface> logsink_ ; // Logger 590 casacore::String className_ ; 591 591 unsigned int dataIndex_ ; 592 592 593 593 // Tables/Rows for ASDM 594 casa ::Vector<asdm::MainRow *> mainRow_ ; // list of pointers to all Main rows594 casacore::Vector<asdm::MainRow *> mainRow_ ; // list of pointers to all Main rows 595 595 //asdm::AntennaRow *antennaRow_p ; // pointer to target Antenna row 596 596 //asdm::StationRow *stationRow_p ; // pointer to target Station row that target antenna is located
Note: See TracChangeset
for help on using the changeset viewer.