Class MHO_Passband.
More...
#include <MHO_Passband.hh>
Class MHO_Passband.
Selects a chunk of frequency space for inclusion or removal.
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Tue Apr 2 09:41:24 AM EDT 2024
◆ MHO_Passband()
hops::MHO_Passband::MHO_Passband |
( |
| ) |
|
◆ ~MHO_Passband()
hops::MHO_Passband::~MHO_Passband |
( |
| ) |
|
|
virtual |
◆ ExecuteInPlace()
Checks and excludes specific passbands within each channel of visibility data.
- Parameters
-
in | Input visibility_type* containing channel axis. |
- Returns
- bool indicating successful exclusion operation.
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< visibility_type >.
◆ ExecuteOutOfPlace()
Copies input visibility data and executes in-place processing.
- Parameters
-
in | Input visibility_type data to be copied. |
out | (visibility_type*) |
- Returns
- Result of ExecuteInPlace operation on out parameter.
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< visibility_type >.
◆ InitializeInPlace()
Initializes visibility_type pointer in-place and returns true.
- Parameters
-
in | Pointer to visibility_type that will be initialized in-place. |
- Returns
- Boolean indicating success (always true).
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< visibility_type >.
◆ InitializeOutOfPlace()
Initializes out-of-place visibility data.
- Parameters
-
in | Input visibility_type pointer |
out | Output visibility_type pointer |
- Returns
- True if initialization is successful.
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< visibility_type >.
◆ SetPassband()
void hops::MHO_Passband::SetPassband |
( |
const double & |
first, |
|
|
const double & |
second |
|
) |
| |
|
inline |
Setter for passband.
- Parameters
-
first | Lower frequency limit in Hz |
second | Upper frequency limit in Hz |
if second < first then this operation is an 'exclusion' which tells us this is a chunk of spectrum to cut out, otherwise if first < second, then it is an inclusion, and everything outside will be cut (this is the legacy behavior)
◆ SetWeights()
void hops::MHO_Passband::SetWeights |
( |
weight_type * |
weights | ) |
|
|
inline |
Setter for weights.
- Parameters
-
weights | Input weight values of type weight_type |
The documentation for this class was generated from the following files: