1 #ifndef MHO_MK4CorelInterface_HH__
2 #define MHO_MK4CorelInterface_HH__
62 void SetCorelFile(
const std::string& corel) { fCorelFile = corel; }
103 void ReadCorelFile();
112 std::string fVexFile;
113 std::string fCorelFile;
114 std::string fRootCode;
120 void DetermineDataDimensions();
123 std::size_t fNSpectral;
124 std::size_t fNChannels;
125 std::size_t fNChannelsPerPP;
126 std::set< std::string > fPolProducts;
129 std::string fBaselineName;
130 std::string fBaselineShortName;
131 std::string fRefStation;
132 std::string fRemStation;
133 std::string fRefStationMk4Id;
134 std::string fRemStationMk4Id;
137 std::map< std::string, mho_json > fAllChannelMap;
142 std::map< std::string, std::vector< mho_json* > > fPPSortedChannelInfo;
145 std::string getstr(
const char* char_array,
size_t max_size);
146 bool channel_info_match(
double ref_sky_freq,
double rem_sky_freq,
double ref_bw,
double rem_bw, std::string ref_net_sb,
147 std::string rem_net_sb);
148 double calc_freq_bin(
double sky_freq,
double bw, std::string net_sb,
int nlags,
int bin_index);
MHO_MK4CorelInterface - Needed to import data from mk4_corel file objects (type_1xx) to HOPS4 format....
Definition: MHO_MK4CorelInterface.hh:45
MHO_MK4CorelInterface()
Definition: MHO_MK4CorelInterface.cc:66
void ExtractCorelFile()
Extracts Corel file data and stores it in visibility and weight containers.
Definition: MHO_MK4CorelInterface.cc:487
uch_weight_store_type * GetExtractedWeights()
Getter for extracted weights.
Definition: MHO_MK4CorelInterface.hh:96
virtual ~MHO_MK4CorelInterface()
Definition: MHO_MK4CorelInterface.cc:87
void SetVexFile(const std::string &vex)
Setter for vex file, we need both the vex (root) file and corel file to extract the data.
Definition: MHO_MK4CorelInterface.hh:55
uch_visibility_store_type * GetExtractedVisibilities()
Getter for extracted visibilities.
Definition: MHO_MK4CorelInterface.hh:89
struct mk4_corel * GetCorelData()
Getter for raw mk4 corel data struct.
Definition: MHO_MK4CorelInterface.hh:69
void SetCorelFile(const std::string &corel)
Setter for corel file.
Definition: MHO_MK4CorelInterface.hh:62
Class MHO_TableContainer.
Definition: MHO_TableContainer.hh:36
Definition: mk4_data.h:71
Definition: MHO_ChannelLabeler.hh:17