1 #ifndef MHO_MK4CorelInterface_HH__
2 #define MHO_MK4CorelInterface_HH__
61 void SetCorelFile(
const std::string& corel) { fCorelFile = corel; }
102 void ReadCorelFile();
111 std::string fVexFile;
112 std::string fCorelFile;
113 std::string fRootCode;
119 void DetermineDataDimensions();
122 std::size_t fNSpectral;
123 std::size_t fNChannels;
124 std::size_t fNChannelsPerPP;
125 std::set< std::string > fPolProducts;
128 std::string fBaselineName;
129 std::string fBaselineShortName;
130 std::string fRefStation;
131 std::string fRemStation;
132 std::string fRefStationMk4Id;
133 std::string fRemStationMk4Id;
136 std::map< std::string, mho_json > fAllChannelMap;
141 std::map< std::string, std::vector< mho_json* > > fPPSortedChannelInfo;
144 std::string getstr(
const char* char_array,
size_t max_size);
145 bool channel_info_match(
double ref_sky_freq,
double rem_sky_freq,
double ref_bw,
double rem_bw, std::string ref_net_sb,
146 std::string rem_net_sb);
147 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:44
MHO_MK4CorelInterface()
Definition: MHO_MK4CorelInterface.cc:66
int 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:95
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:54
uch_visibility_store_type * GetExtractedVisibilities()
Getter for extracted visibilities.
Definition: MHO_MK4CorelInterface.hh:88
struct mk4_corel * GetCorelData()
Getter for raw mk4 corel data struct.
Definition: MHO_MK4CorelInterface.hh:68
void SetCorelFile(const std::string &corel)
Setter for corel file.
Definition: MHO_MK4CorelInterface.hh:61
Class MHO_TableContainer.
Definition: MHO_TableContainer.hh:36
Definition: mk4_data.h:71
Definition: MHO_AdhocFlagging.hh:18