Class MHO_DiFXChannelNameConstructor.
More...
#include <MHO_DiFXChannelNameConstructor.hh>
Class MHO_DiFXChannelNameConstructor.
Name channels in a vex object, according to the d2m4 convention. Needed in order to convert vex to ovex.
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Tue Jul 12 16:54:42 2022 -0400
◆ MHO_DiFXChannelNameConstructor()
hops::MHO_DiFXChannelNameConstructor::MHO_DiFXChannelNameConstructor |
( |
| ) |
|
◆ ~MHO_DiFXChannelNameConstructor()
hops::MHO_DiFXChannelNameConstructor::~MHO_DiFXChannelNameConstructor |
( |
| ) |
|
|
virtual |
◆ AddBandLabel()
void hops::MHO_DiFXChannelNameConstructor::AddBandLabel |
( |
std::string |
band_label, |
|
|
double |
freq_low, |
|
|
double |
freq_high |
|
) |
| |
Adds a frequency range for a specific band label.
- Parameters
-
band_label | Band label as string |
freq_low | Lower frequency limit in Hz |
freq_high | Upper frequency limit in Hz |
◆ AddChannelNames()
void hops::MHO_DiFXChannelNameConstructor::AddChannelNames |
( |
mho_json & |
vex_root | ) |
|
Adds channel names to VEX experiment data based on scan and mode information.
- Parameters
-
vex_root | Reference to the root JSON object containing VEX experiment data |
◆ SetScanName()
void hops::MHO_DiFXChannelNameConstructor::SetScanName |
( |
std::string |
scan_id | ) |
|
|
inline |
Setter for scan name if the (o)vex file has more than one scan, we may want to specify a specific one in order to construct the channel names, otherwise, we will just use the first in the schedule (assumes there is not later change to channel setup)
- Parameters
-
scan_id | New scan ID to set |
The documentation for this class was generated from the following files: