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

Class MHO_ManualChannelPhaseCorrection. More...

#include <MHO_ManualChannelPhaseCorrection.hh>

Inheritance diagram for hops::MHO_ManualChannelPhaseCorrection:
[legend]

Public Member Functions

 MHO_ManualChannelPhaseCorrection ()
 
virtual ~MHO_ManualChannelPhaseCorrection ()
 
std::string GetStationIdentifier () const
 
void SetChannelToPCPhaseMap (const std::map< std::string, double > &map)
 Setter for channel to pc_phase map. More...
 
void SetPolarization (const std::string &pol)
 Setter for polarization. More...
 
void SetStationIdentifier (const std::string &id)
 Setter for station identifier. More...
 
void SetStationIdentifiers (const std::vector< std::string > &ids)
 
- Public Member Functions inherited from hops::MHO_UnaryOperator< visibility_type >
 MHO_UnaryOperator ()
 
virtual ~MHO_UnaryOperator ()
 
virtual bool Execute () override
 Executes operation using provided arguments and return type. More...
 
virtual bool Execute () override=0
 Function Execute. More...
 
virtual bool Initialize () override
 Initializes the system using in-place or out-of-place arguments. More...
 
virtual bool Initialize () override=0
 Function Initialize. More...
 
 MHO_Operator ()
 
void SetArgs (const visibility_type *in, visibility_type *out)
 Setter for args. More...
 
void SetArgs (visibility_type *in)
 Setter for args. More...
 
- Public Member Functions inherited from hops::MHO_Operator
 MHO_Operator ()
 
virtual ~MHO_Operator ()
 
std::string GetName () const
 Getter for operator name. More...
 
double Priority () const
 Get the the priority field value. More...
 
void SetName (std::string name)
 Setter for operator name. More...
 
void SetPriority (double priority)
 Setter for operator priority (determines order of execution within a operator category) More...
 

Protected Member Functions

virtual bool ExecuteInPlace (visibility_type *in) override
 Applies phase correction to visibility data in-place for reference or remote station. More...
 
- Protected Member Functions inherited from hops::MHO_UnaryOperator< visibility_type >
virtual bool ExecuteOutOfPlace (const visibility_type *in, visibility_type *out)
 
virtual bool InitializeInPlace (visibility_type *)
 
virtual bool InitializeOutOfPlace (const visibility_type *, visibility_type *)
 

Additional Inherited Members

- Protected Attributes inherited from hops::MHO_UnaryOperator< visibility_type >
bool fInPlace
 
std::tuple< visibility_type * > fInPlaceArgs
 
std::tuple< const visibility_type *, visibility_type * > fOutOfPlaceArgs
 

Detailed Description

Class MHO_ManualChannelPhaseCorrection.

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
Date
Thu Jan 27 10:36:00 2022 -0500

Constructor & Destructor Documentation

◆ MHO_ManualChannelPhaseCorrection()

hops::MHO_ManualChannelPhaseCorrection::MHO_ManualChannelPhaseCorrection ( )

◆ ~MHO_ManualChannelPhaseCorrection()

hops::MHO_ManualChannelPhaseCorrection::~MHO_ManualChannelPhaseCorrection ( )
virtual

Member Function Documentation

◆ ExecuteInPlace()

bool hops::MHO_ManualChannelPhaseCorrection::ExecuteInPlace ( visibility_type in)
overrideprotectedvirtual

Applies phase correction to visibility data in-place for reference or remote station.

Parameters
inInput visibility_type* containing pol-products and channels.
Returns
bool indicating successful execution.
Note
This is a virtual function.

Implements hops::MHO_UnaryOperator< visibility_type >.

◆ GetStationIdentifier()

std::string hops::MHO_ManualChannelPhaseCorrection::GetStationIdentifier ( ) const
inline

◆ SetChannelToPCPhaseMap()

void hops::MHO_ManualChannelPhaseCorrection::SetChannelToPCPhaseMap ( const std::map< std::string, double > &  map)
inline

Setter for channel to pc_phase map.

Parameters
mapInput map of channel labels to phase values

◆ SetPolarization()

void hops::MHO_ManualChannelPhaseCorrection::SetPolarization ( const std::string &  pol)
inline

Setter for polarization.

Parameters
polInput polarization string

◆ SetStationIdentifier()

void hops::MHO_ManualChannelPhaseCorrection::SetStationIdentifier ( const std::string &  id)
inline

Setter for station identifier.

Parameters
station_idmk4 id of type std::string

station_id is treated as follows: 1-char => mk4 id 2-char => 2char station code

◆ SetStationIdentifiers()

void hops::MHO_ManualChannelPhaseCorrection::SetStationIdentifiers ( const std::vector< std::string > &  ids)
inline

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