casa
5.7.0-16
|
#include <NRO2MSReader.h>
Classes | |
struct | NROArrayData |
Public Types | |
typedef NROOptionalTables | OptionalTables |
Public Types inherited from casa::ReaderInterface | |
typedef NullOptionalTables < ReaderInterface > | OptionalTables |
Protected Member Functions | |
void | initializeSpecific () |
void | finalizeSpecific () |
Private Member Functions | |
void | readObsHeader () |
void | readScanData (int const irow, sdfiller::NRODataScanData &data) |
void | checkEndian () |
template<typename T > | |
void | convertEndian (T &value) |
template<typename T > | |
void | readHeader (T &v) |
template<typename T > | |
void | readHeader (T *v, size_t numArray) |
void | readHeader (string &v, size_t strLength) |
void | readHeader (string *v, size_t strLength, size_t numArray) |
void | constructArrayTable () |
bool | checkScanArray (string const scan_array, NROArrayData const *header_array) |
int | getFirstArrayIdWithSpwID (int spwid) |
Returns the first array ID whose SPW ID is spwid. More... | |
double | getMJD (string const &time) |
double | getIntMiddleTimeSec (sdfiller::NRODataScanData const &data) |
double | getIntStartTimeSec (int const scanno) |
double | getIntEndTimeSec (int const scanno) |
void | getFullTimeRange () |
double | getMiddleOfTimeRangeSec () |
double | getRestFrequency (int const spwno) |
string | convertVRefName (string const &vref0) |
void | shiftFrequency (string const &vdef, double const v, std::vector< double > &freqs) |
std::vector< double > | getSpectrum (int const irow, sdfiller::NRODataScanData const &data) |
casacore::Bool | getAntennaRowImpl (sdfiller::AntennaRecord &record) |
casacore::Bool | getFieldRowImpl (sdfiller::FieldRecord &record) |
casacore::Bool | getObservationRowImpl (sdfiller::ObservationRecord &record) |
casacore::Bool | getProcessorRowImpl (sdfiller::ProcessorRecord &record) |
casacore::Bool | getSourceRowImpl (sdfiller::SourceRecord &record) |
casacore::Bool | getSpectralWindowRowImpl (sdfiller::SpectralWindowRecord &record) |
template<class _Record > | |
casacore::Bool | noMoreRowImpl (_Record &) |
Private Attributes | |
FILE * | fp_ |
sdfiller::NRODataObsHeader | obs_header_ |
bool | same_endian_ |
std::vector< NROArrayData > | array_mapper_ |
int | beam_id_counter_ |
int | source_spw_id_counter_ |
int | spw_id_counter_ |
casacore::Vector < casacore::Double > | time_range_sec_ |
int const | len_obs_header_ |
casacore::Double const | posx_ |
casacore::Double const | posy_ |
casacore::Double const | posz_ |
casacore::Bool(NRO2MSReader::* | get_antenna_row_ )(sdfiller::AntennaRecord &) |
casacore::Int getPolNo(string const &rx); More... | |
casacore::Bool(NRO2MSReader::* | get_field_row_ )(sdfiller::FieldRecord &) |
casacore::Bool(NRO2MSReader::* | get_observation_row_ )(sdfiller::ObservationRecord &) |
casacore::Bool(NRO2MSReader::* | get_processor_row_ )(sdfiller::ProcessorRecord &) |
casacore::Bool(NRO2MSReader::* | get_source_row_ )(sdfiller::SourceRecord &) |
casacore::Bool(NRO2MSReader::* | get_spw_row_ )(sdfiller::SpectralWindowRecord &) |
Additional Inherited Members | |
Protected Attributes inherited from casa::ReaderInterface | |
std::string const | name_ |
Definition at line 30 of file NRO2MSReader.h.
Definition at line 32 of file NRO2MSReader.h.
casa::NRO2MSReader::NRO2MSReader | ( | std::string const & | scantable_name | ) |
|
virtual |
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 142 of file NRO2MSReader.h.
References first, and casacore::value().
|
private |
|
protectedvirtual |
Implements casa::ReaderInterface.
|
inlinevirtual |
to get ANTENNA table
Implements casa::ReaderInterface.
Definition at line 59 of file NRO2MSReader.h.
References POST_END, and POST_START.
|
private |
|
virtual |
for DataAccumulator
Implements casa::ReaderInterface.
|
inlinevirtual |
Reimplemented from casa::ReaderInterface.
Definition at line 46 of file NRO2MSReader.h.
|
virtual |
Reimplemented from casa::ReaderInterface.
|
inlinevirtual |
to get FIELD table
Implements casa::ReaderInterface.
Definition at line 83 of file NRO2MSReader.h.
References POST_END, and POST_START.
|
private |
|
inlineprivate |
Returns the first array ID whose SPW ID is spwid.
no array with spwid found
Definition at line 233 of file NRO2MSReader.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
assert(array_id >= 0 && array_id < getNROArraySize());
Definition at line 118 of file NRO2MSReader.h.
Referenced by casa::NROOptionalTables::Generate_NRO_ARRAY().
|
inline |
assert(array_id >= 0 && array_id < getNROArraySize());
Definition at line 122 of file NRO2MSReader.h.
Referenced by casa::NROOptionalTables::Generate_NRO_ARRAY().
|
inline |
return obs_header_.ARYNM0; //obs_header_.NBEAM * obs_header_.NPOL * obs_header_.NSPWIN;
Definition at line 101 of file NRO2MSReader.h.
References NRO_ARYMAX.
Referenced by casa::NROOptionalTables::Generate_NRO_ARRAY().
|
inline |
assert(array_id >= 0 && array_id < getNROArraySize());
Definition at line 126 of file NRO2MSReader.h.
Referenced by casa::NROOptionalTables::Generate_NRO_ARRAY().
|
inline |
Definition at line 105 of file NRO2MSReader.h.
|
inline |
Definition at line 108 of file NRO2MSReader.h.
|
inline |
Definition at line 111 of file NRO2MSReader.h.
|
virtual |
get number of rows
Implements casa::ReaderInterface.
|
inlinevirtual |
to get OBSERVATION table
Implements casa::ReaderInterface.
Definition at line 51 of file NRO2MSReader.h.
References POST_END, and POST_START.
|
private |
|
inlinevirtual |
to get PROCESSOR table
Implements casa::ReaderInterface.
Definition at line 67 of file NRO2MSReader.h.
References POST_END, and POST_START.
|
private |
|
private |
|
inlinevirtual |
to get SOURCE table
Implements casa::ReaderInterface.
Definition at line 75 of file NRO2MSReader.h.
References POST_END, and POST_START.
|
private |
|
inlinevirtual |
to get SOURCE table
Implements casa::ReaderInterface.
Definition at line 91 of file NRO2MSReader.h.
References POST_END, and POST_START.
|
private |
|
private |
|
protectedvirtual |
Implements casa::ReaderInterface.
|
inlinevirtual |
Reimplemented from casa::ReaderInterface.
Definition at line 42 of file NRO2MSReader.h.
|
inline |
Definition at line 115 of file NRO2MSReader.h.
Referenced by casa::NROOptionalTables::Generate_NRO_ARRAY().
|
inlineprivate |
Definition at line 283 of file NRO2MSReader.h.
References POST_END, and POST_START.
|
inlineprivate |
Definition at line 151 of file NRO2MSReader.h.
|
inlineprivate |
Definition at line 161 of file NRO2MSReader.h.
|
inlineprivate |
Definition at line 167 of file NRO2MSReader.h.
References STRING2CHAR.
|
inlineprivate |
Definition at line 175 of file NRO2MSReader.h.
|
private |
|
private |
|
private |
|
private |
Definition at line 228 of file NRO2MSReader.h.
|
private |
Definition at line 243 of file NRO2MSReader.h.
|
private |
Definition at line 136 of file NRO2MSReader.h.
|
private |
casacore::Int getPolNo(string const &rx);
Definition at line 268 of file NRO2MSReader.h.
|
private |
Definition at line 269 of file NRO2MSReader.h.
|
private |
Definition at line 270 of file NRO2MSReader.h.
|
private |
Definition at line 271 of file NRO2MSReader.h.
|
private |
Definition at line 272 of file NRO2MSReader.h.
|
private |
Definition at line 273 of file NRO2MSReader.h.
|
private |
Definition at line 247 of file NRO2MSReader.h.
|
private |
Definition at line 137 of file NRO2MSReader.h.
|
private |
Definition at line 255 of file NRO2MSReader.h.
|
private |
Definition at line 256 of file NRO2MSReader.h.
|
private |
Definition at line 257 of file NRO2MSReader.h.
|
private |
Definition at line 148 of file NRO2MSReader.h.
|
private |
Definition at line 244 of file NRO2MSReader.h.
|
private |
Definition at line 245 of file NRO2MSReader.h.
|
private |
Definition at line 246 of file NRO2MSReader.h.