Class MHO_SamplerLabeler.
More...
#include <MHO_SamplerLabeler.hh>
|
virtual bool | ExecuteInPlace (XArrayType *in) override |
| Function ExecuteInPlace - actual implementation, map channel label (e.g. 'a', 'b', etc.) to sampler index for both reference and remote stations, and attaches label to visibility data. More...
|
|
virtual bool | ExecuteOutOfPlace (const XArrayType *in, XArrayType *out) override |
| Copies input array and executes in-place operation on output. More...
|
|
virtual bool | InitializeInPlace (XArrayType *in) override |
| Initializes in-place mapping for channel labels to sampler indices. More...
|
|
virtual bool | InitializeOutOfPlace (const XArrayType *, XArrayType *) override |
| Initializes output array in-place from input array. More...
|
|
template<typename XArrayType>
class hops::MHO_SamplerLabeler< XArrayType >
Class MHO_SamplerLabeler.
When the 'samplers' keyword is encountered, this operator loops over all channels and inserts a label for each channel which contains the sampler index associated with that channel. This can later be used to look up the station sampler delay (ambiguities) for this channel by the pcal operators e.g.: samplers 4 abcdefgh ijklmnop qrstuvwx yzABCDEF.
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Wed Dec 13 16:55:25 2023 -0500
◆ MHO_SamplerLabeler()
template<typename XArrayType >
◆ ~MHO_SamplerLabeler()
template<typename XArrayType >
◆ ExecuteInPlace()
template<typename XArrayType >
|
inlineoverrideprotectedvirtual |
Function ExecuteInPlace - actual implementation, map channel label (e.g. 'a', 'b', etc.) to sampler index for both reference and remote stations, and attaches label to visibility data.
- Parameters
-
- Returns
- Return value (bool)
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArrayType >.
◆ ExecuteOutOfPlace()
template<typename XArrayType >
|
inlineoverrideprotectedvirtual |
Copies input array and executes in-place operation on output.
- Parameters
-
in | Const reference to input XArrayType |
out | Reference to output XArrayType |
- Returns
- Result of ExecuteInPlace operation on out
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArrayType >.
◆ InitializeInPlace()
template<typename XArrayType >
|
inlineoverrideprotectedvirtual |
Initializes in-place mapping for channel labels to sampler indices.
- Parameters
-
in | Input XArrayType pointer for initializing in-place. |
- Returns
- True if initialization is successful, false otherwise.
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArrayType >.
◆ InitializeOutOfPlace()
template<typename XArrayType >
|
inlineoverrideprotectedvirtual |
Initializes output array in-place from input array.
- Parameters
-
!in | Const reference to input XArrayType |
!out | Reference to output XArrayType |
- Returns
- Boolean indicating success of initialization
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArrayType >.
◆ SetReferenceStationSamplerChannelSets()
template<typename XArrayType >
void hops::MHO_SamplerLabeler< XArrayType >::SetReferenceStationSamplerChannelSets |
( |
const std::vector< std::string > & |
channel_sets | ) |
|
|
inline |
Setter for reference station sampler channel sets.
- Parameters
-
channel_sets | Input vector of string channel set names |
◆ SetRemoteStationSamplerChannelSets()
template<typename XArrayType >
void hops::MHO_SamplerLabeler< XArrayType >::SetRemoteStationSamplerChannelSets |
( |
const std::vector< std::string > & |
channel_sets | ) |
|
|
inline |
Setter for remote station sampler channel sets.
- Parameters
-
channel_sets | Input vector of strings representing channel sets |
The documentation for this class was generated from the following file: