|
HOPS
HOPS class reference
|
Class MHO_SpectralLineFringeSearch. More...
#include <MHO_SpectralLineFringeSearch.hh>
Public Member Functions | |
| MHO_SpectralLineFringeSearch () | |
| virtual | ~MHO_SpectralLineFringeSearch () |
| int | GetChanMaxBin () const |
| Channel index of the coarse peak (-1 if not found). More... | |
| double | GetCoarseDR () const |
| Delay rate (sec/sec) at the coarse peak. More... | |
| double | GetCoarsePeakSkyFrequencyMHz () const |
| Sky frequency (MHz) at the coarse peak channel. This is the CHANNEL_AXIS value for the peak channel. More... | |
| delay_rate_axis_type * | GetDRAxis () |
| Pointer to the delay-rate axis (size = GetNDRBins()). Values are delay rates in sec/sec, centred on zero. More... | |
| double | GetDRBinSeparation () const |
| Delay-rate bin spacing (sec/sec). More... | |
| int | GetDRMaxBin () const |
| Delay-rate bin index of the coarse peak (-1 if not found). More... | |
| void | GetDRWindow (double &low, double &high) const |
| Retrieve the delay-rate window actually used (sec/sec). More... | |
| int | GetFreqMaxBin () const |
| Intra-channel frequency bin index of the coarse peak (-1 if not found). More... | |
| void | GetFrequencyWindow (double &low_mhz, double &high_mhz) const |
| Retrieve the sky-frequency search window (MHz). More... | |
| int | GetNDRBins () const |
| Number of delay-rate bins after zero-padding. More... | |
| double | GetSearchMaximumAmplitude () const |
| Raw (un-normalised) amplitude at the search maximum. More... | |
| visibility_type * | GetSpecDRData () |
| Pointer to the internal (channel x DR x freq) workspace. Valid after Execute(); used by MHO_InterpolateSpectralLinePeak. More... | |
| void | SetDRWindow (double low, double high) |
| Restrict the delay-rate search to low, high. More... | |
| void | SetFrequencyWindow (double low_mhz, double high_mhz) |
| Restrict the frequency search to channels whose sky frequency falls in [low_mhz, high_mhz]. Both bounds are in MHz. More... | |
| void | SetReferenceFrequency (double ref_freq_mhz) |
| Set the reference frequency in MHz (used to convert fringe rate -> delay rate). More... | |
| void | SetWeights (weight_type *wt_data) |
| Set the weight array (per polprod x channel x AP, freq dim ignored). More... | |
Public Member Functions inherited from hops::MHO_InspectingOperator< visibility_type > | |
| MHO_InspectingOperator () | |
| virtual | ~MHO_InspectingOperator () |
| virtual bool | Execute () override |
| Executes the inspection on the input array. More... | |
| virtual bool | Initialize () override |
| initializes inspection for a single const array of type XArgType. More... | |
| virtual void | SetArgs (const 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 Types | |
| using | XArgType = visibility_type |
Protected Member Functions | |
| virtual bool | ExecuteImpl (const XArgType *in) override |
| Inspects a single const array. More... | |
| virtual bool | InitializeImpl (const XArgType *in) override |
| initializes inspection for a single const array of type XArgType. More... | |
Additional Inherited Members | |
Protected Attributes inherited from hops::MHO_InspectingOperator< visibility_type > | |
| const visibility_type * | fArg |
Class MHO_SpectralLineFringeSearch.
Coarse fringe search for spectral line (narrow-band) VLBI data.
Instead of the broadband (SBD, MBD, DR) search, this operator works in (channel, intra-channel frequency bin, delay rate) space. It applies a 1-D FFT along the accumulation-period (time) axis of the weighted visibilities to produce a coherent delay-rate spectrum for every spectral bin, then finds the global amplitude peak.
Assumes the polarization-product axis has size 1 (either a single pol product or a pre-summed coherent combination).
|
protected |
| hops::MHO_SpectralLineFringeSearch::MHO_SpectralLineFringeSearch | ( | ) |
|
virtual |
|
overrideprotectedvirtual |
Inspects a single const array.
| in | Input const array of type XArgType to inspect. |
Implements hops::MHO_InspectingOperator< visibility_type >.
|
inline |
Channel index of the coarse peak (-1 if not found).
|
inline |
Delay rate (sec/sec) at the coarse peak.
|
inline |
Sky frequency (MHz) at the coarse peak channel. This is the CHANNEL_AXIS value for the peak channel.
|
inline |
Pointer to the delay-rate axis (size = GetNDRBins()). Values are delay rates in sec/sec, centred on zero.
|
inline |
Delay-rate bin spacing (sec/sec).
|
inline |
Delay-rate bin index of the coarse peak (-1 if not found).
| void hops::MHO_SpectralLineFringeSearch::GetDRWindow | ( | double & | low, |
| double & | high | ||
| ) | const |
Retrieve the delay-rate window actually used (sec/sec).
|
inline |
Intra-channel frequency bin index of the coarse peak (-1 if not found).
| void hops::MHO_SpectralLineFringeSearch::GetFrequencyWindow | ( | double & | low_mhz, |
| double & | high_mhz | ||
| ) | const |
Retrieve the sky-frequency search window (MHz).
|
inline |
Number of delay-rate bins after zero-padding.
|
inline |
Raw (un-normalised) amplitude at the search maximum.
|
inline |
Pointer to the internal (channel x DR x freq) workspace. Valid after Execute(); used by MHO_InterpolateSpectralLinePeak.
|
overrideprotectedvirtual |
initializes inspection for a single const array of type XArgType.
| in | Input const array of type XArgType to inspect |
Implements hops::MHO_InspectingOperator< visibility_type >.
| void hops::MHO_SpectralLineFringeSearch::SetDRWindow | ( | double | low, |
| double | high | ||
| ) |
Restrict the delay-rate search to low, high.
| void hops::MHO_SpectralLineFringeSearch::SetFrequencyWindow | ( | double | low_mhz, |
| double | high_mhz | ||
| ) |
Restrict the frequency search to channels whose sky frequency falls in [low_mhz, high_mhz]. Both bounds are in MHz.
|
inline |
Set the reference frequency in MHz (used to convert fringe rate -> delay rate).
|
inline |
Set the weight array (per polprod x channel x AP, freq dim ignored).