HOPS
HOPS class reference
Public Member Functions | List of all members
hops::MHO_DiFXScanProcessor Class Reference

Class MHO_DiFXScanProcessor. More...

#include <MHO_DiFXScanProcessor.hh>

Public Member Functions

 MHO_DiFXScanProcessor ()
 
virtual ~MHO_DiFXScanProcessor ()
 
std::string get_correlation_vexdate () const
 Retrieves the correlation date as a string. More...
 
std::string get_fourfit_reftime_for_scan (mho_json scan_obj)
 Calculates and returns the fourfit reference time epoch string for a given scan object. More...
 
void ProcessScan (MHO_DiFXScanFileSet &fileSet)
 Processes a DiFX scan file set by loading input files, creating output directories, converting visibility and station files. More...
 
void SetAttachDiFXInputFalse ()
 Setter for attach difx .input data false. More...
 
void SetAttachDiFXInputTrue ()
 Setter for attach difx .input data true. More...
 
void SetExperimentNumber (int num)
 Setter for experiment number. More...
 
void SetExportAsMark4False ()
 
void SetExportAsMark4True ()
 
void SetFreqGroups (std::vector< std::string > fgroups)
 Setter for (allowed) freq groups/bands. More...
 
void SetFrequencyBands (std::vector< std::tuple< std::string, double, double > > fbands)
 Setter for frequency bands (name, limits) More...
 
void SetNormalizeFalse ()
 Setter for normalize false - Do NOT apply mk4 style visibility normalization. More...
 
void SetNormalizeTrue ()
 Setter for normalize true - apply mk4 style visibility normalization. More...
 
void SetOnlyBandwidth (double bw)
 Setter for allowed channel bandwidth - channels with other bandwidths will be discarded. More...
 
void SetPreserveDiFXScanNamesFalse ()
 Setter for preserve difx scan names false. More...
 
void SetPreserveDiFXScanNamesTrue ()
 Setter for preserve difx scan names true. More...
 
void SetRootCode (std::string rcode)
 Setter for root code. More...
 
void SetStationCodes (MHO_StationCodeMap *code_map)
 Setter for station codes. More...
 

Detailed Description

Class MHO_DiFXScanProcessor.

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
Date
Mon Jan 31 14:35:02 2022 -0500

Constructor & Destructor Documentation

◆ MHO_DiFXScanProcessor()

hops::MHO_DiFXScanProcessor::MHO_DiFXScanProcessor ( )

◆ ~MHO_DiFXScanProcessor()

hops::MHO_DiFXScanProcessor::~MHO_DiFXScanProcessor ( )
virtual

Member Function Documentation

◆ get_correlation_vexdate()

std::string hops::MHO_DiFXScanProcessor::get_correlation_vexdate ( ) const
inline

Retrieves the correlation date as a string.

Returns
std::string representing the correlation date.

◆ get_fourfit_reftime_for_scan()

std::string hops::MHO_DiFXScanProcessor::get_fourfit_reftime_for_scan ( mho_json  scan_obj)

Calculates and returns the fourfit reference time epoch string for a given scan object.

Parameters
scan_objInput mho_json scan object containing station data
Returns
std::string representing the fourfit reference time in VEX format

◆ ProcessScan()

void hops::MHO_DiFXScanProcessor::ProcessScan ( MHO_DiFXScanFileSet fileSet)

Processes a DiFX scan file set by loading input files, creating output directories, converting visibility and station files.

Parameters
fileSetReference to MHO_DiFXScanFileSet containing input files

◆ SetAttachDiFXInputFalse()

void hops::MHO_DiFXScanProcessor::SetAttachDiFXInputFalse ( )
inline

Setter for attach difx .input data false.

◆ SetAttachDiFXInputTrue()

void hops::MHO_DiFXScanProcessor::SetAttachDiFXInputTrue ( )
inline

Setter for attach difx .input data true.

◆ SetExperimentNumber()

void hops::MHO_DiFXScanProcessor::SetExperimentNumber ( int  num)
inline

Setter for experiment number.

Parameters
numNew experiment number to set

◆ SetExportAsMark4False()

void hops::MHO_DiFXScanProcessor::SetExportAsMark4False ( )
inline

◆ SetExportAsMark4True()

void hops::MHO_DiFXScanProcessor::SetExportAsMark4True ( )
inline

◆ SetFreqGroups()

void hops::MHO_DiFXScanProcessor::SetFreqGroups ( std::vector< std::string >  fgroups)
inline

Setter for (allowed) freq groups/bands.

Parameters
fgroupsVector of strings representing frequency groups

◆ SetFrequencyBands()

void hops::MHO_DiFXScanProcessor::SetFrequencyBands ( std::vector< std::tuple< std::string, double, double > >  fbands)
inline

Setter for frequency bands (name, limits)

Parameters
fbandsVector of tuples where each tuple contains a string (band name), double (lower freq), double (upper freq)

◆ SetNormalizeFalse()

void hops::MHO_DiFXScanProcessor::SetNormalizeFalse ( )
inline

Setter for normalize false - Do NOT apply mk4 style visibility normalization.

◆ SetNormalizeTrue()

void hops::MHO_DiFXScanProcessor::SetNormalizeTrue ( )
inline

Setter for normalize true - apply mk4 style visibility normalization.

◆ SetOnlyBandwidth()

void hops::MHO_DiFXScanProcessor::SetOnlyBandwidth ( double  bw)
inline

Setter for allowed channel bandwidth - channels with other bandwidths will be discarded.

Parameters
bwallowed channel bandwidth value.

◆ SetPreserveDiFXScanNamesFalse()

void hops::MHO_DiFXScanProcessor::SetPreserveDiFXScanNamesFalse ( )
inline

Setter for preserve difx scan names false.

◆ SetPreserveDiFXScanNamesTrue()

void hops::MHO_DiFXScanProcessor::SetPreserveDiFXScanNamesTrue ( )
inline

Setter for preserve difx scan names true.

◆ SetRootCode()

void hops::MHO_DiFXScanProcessor::SetRootCode ( std::string  rcode)
inline

Setter for root code.

Parameters
rcodeNew root code as string

◆ SetStationCodes()

void hops::MHO_DiFXScanProcessor::SetStationCodes ( MHO_StationCodeMap code_map)

Setter for station codes.

Parameters
code_mapPointer to an MHO_StationCodeMap object containing station codes.

The documentation for this class was generated from the following files: