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

Class MHO_DiFXVisibilityProcessor. More...

#include <MHO_DiFXVisibilityProcessor.hh>

Public Member Functions

 MHO_DiFXVisibilityProcessor ()
 
virtual ~MHO_DiFXVisibilityProcessor ()
 
void ReadDIFXFile (std::map< int, MHO_DiFXBaselineProcessor > &allBaselineVisibilities)
 read the visibilities from Swinburne file and allocate memory to store them as we go memory management of the visibility records is delegated to the caller More...
 
void SetDiFXInputData (const mho_json *input)
 Setter for difx .input data. More...
 
void SetFilename (std::string filename)
 Setter for filename. More...
 
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 (label, limits) More...
 
void SetOnlyBandwidth (double bw)
 Setter for allow channel bandwidth (only channels with this bandwidth will be kept) More...
 

Detailed Description

Class MHO_DiFXVisibilityProcessor.

reads a DiFX Swinburne file and extracts the visibilities into a baseline-index mapped set of vectors, and keeps track of the unique pol-pairs seen on each baseline

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
Date
Fri Feb 11 12:44:50 2022 -0500

Constructor & Destructor Documentation

◆ MHO_DiFXVisibilityProcessor()

hops::MHO_DiFXVisibilityProcessor::MHO_DiFXVisibilityProcessor ( )

◆ ~MHO_DiFXVisibilityProcessor()

virtual hops::MHO_DiFXVisibilityProcessor::~MHO_DiFXVisibilityProcessor ( )
inlinevirtual

Member Function Documentation

◆ ReadDIFXFile()

void hops::MHO_DiFXVisibilityProcessor::ReadDIFXFile ( std::map< int, MHO_DiFXBaselineProcessor > &  allBaselineVisibilities)

read the visibilities from Swinburne file and allocate memory to store them as we go memory management of the visibility records is delegated to the caller

Parameters
allBaselineVisibilitiesReference to std::map containing baseline visibilities

◆ SetDiFXInputData()

void hops::MHO_DiFXVisibilityProcessor::SetDiFXInputData ( const mho_json input)
inline

Setter for difx .input data.

Parameters
inputInput mho_json object containing DiFX data

◆ SetFilename()

void hops::MHO_DiFXVisibilityProcessor::SetFilename ( std::string  filename)
inline

Setter for filename.

Parameters
filenameThe new filename to set.

◆ SetFreqGroups()

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

Setter for (allowed) freq groups/bands.

Parameters
fgroupsInput vector of frequency group strings

◆ SetFrequencyBands()

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

Setter for frequency bands (label, limits)

Parameters
fbandsVector of tuples containing band name, lower and upper frequencies

◆ SetOnlyBandwidth()

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

Setter for allow channel bandwidth (only channels with this bandwidth will be kept)

Parameters
bwThe allowed channel bandwidth value.

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