|
HOPS
HOPS class reference
|
Class MHO_ChannelLabeler. More...
#include <MHO_ChannelLabeler.hh>
Public Member Functions | |
| MHO_ChannelLabeler () | |
| virtual | ~MHO_ChannelLabeler () |
| void | SetChannelLabelToFrequencyMap (const std::map< std::string, double > &map) |
| Setter for channel label to frequency map so if there is a user provided labeling scheme, use that (i.e. chan_ids) More... | |
| void | SetTolerance (double tol) |
| Setter for tolerance - allows channel freq association to use a (freq) difference tolerance. More... | |
Public Member Functions inherited from hops::MHO_UnaryOperator< XArrayType > | |
| 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 XArrayType *in, XArrayType *out) |
| Setter for args. More... | |
| void | SetArgs (XArrayType *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... | |
Public Member Functions inherited from hops::MHO_ChannelIndexLabeler | |
| MHO_ChannelIndexLabeler () | |
| virtual | ~MHO_ChannelIndexLabeler () |
| uint64_t | DecodeLabelToValue (const std::string &label) const |
| Decodes a channel label to its corresponding value. More... | |
| std::string | EncodeValueToLabel (const uint64_t &value) const |
| Encodes a uint64_t value into a label string using default and extended encoding schemes. More... | |
| void | SetDefaultChannelChars (const std::string &ch_set) |
| Setter for channel chars - provides the option to use different character sets. More... | |
| void | SetExtendedChannelChars (const std::string &ex_set) |
| Setter for extended channel chars. More... | |
Protected Member Functions | |
| virtual bool | ExecuteInPlace (XArrayType *in) override |
| Function ExecuteInPlace - attaches channel labels based on sky frequency or user specified map. More... | |
Protected Member Functions inherited from hops::MHO_UnaryOperator< XArrayType > | |
| virtual bool | ExecuteOutOfPlace (const XArrayType *in, XArrayType *out) |
| virtual bool | InitializeInPlace (XArrayType *) |
| virtual bool | InitializeOutOfPlace (const XArrayType *, XArrayType *) |
Additional Inherited Members | |
Protected Attributes inherited from hops::MHO_UnaryOperator< XArrayType > | |
| bool | fInPlace |
| std::tuple< XArrayType * > | fInPlaceArgs |
| std::tuple< const XArrayType *, XArrayType * > | fOutOfPlaceArgs |
Protected Attributes inherited from hops::MHO_ChannelIndexLabeler | |
| std::string | fDefaultChannelChars |
| std::string | fExtendedChannelChars |
Class MHO_ChannelLabeler.
Applies 'fourfit' labels to each channel (e.g. a, b,...), if no user-defined map is supplied then the default mapping is in order of frequency low -> high, starting with 'a'.
|
inline |
|
inlinevirtual |
|
inlineoverrideprotectedvirtual |
Function ExecuteInPlace - attaches channel labels based on sky frequency or user specified map.
| in | (XArrayType*) |
Implements hops::MHO_UnaryOperator< XArrayType >.
|
inline |
Setter for channel label to frequency map so if there is a user provided labeling scheme, use that (i.e. chan_ids)
| map | Input map of channel labels to frequencies |
|
inline |
Setter for tolerance - allows channel freq association to use a (freq) difference tolerance.
| tol | New tolerance value for frequency mapping |