1 #ifndef MHO_SpectralLineFringeSearch_HH__
2 #define MHO_SpectralLineFringeSearch_HH__
99 int GetNDRBins()
const {
return static_cast< int >(fNDR); }
123 void SetWindow(
double* win,
double low,
double high);
136 std::size_t fNPaddedAP;
148 double fCoarsePeakSkyFreqMHz;
157 #ifdef HOPS_USE_FFTW3
Class MHO_CyclicRotator.
Definition: MHO_CyclicRotator.hh:29
Class MHO_InspectingOperator.
Definition: MHO_InspectingOperator.hh:21
Class MHO_SpectralLineFringeSearch.
Definition: MHO_SpectralLineFringeSearch.hh:41
void SetWeights(weight_type *wt_data)
Set the weight array (per polprod x channel x AP, freq dim ignored).
Definition: MHO_SpectralLineFringeSearch.hh:49
void SetDRWindow(double low, double high)
Restrict the delay-rate search to low, high.
Definition: MHO_SpectralLineFringeSearch.cc:53
void SetFrequencyWindow(double low_mhz, double high_mhz)
Restrict the frequency search to channels whose sky frequency falls in [low_mhz, high_mhz]....
Definition: MHO_SpectralLineFringeSearch.cc:79
double GetSearchMaximumAmplitude() const
Raw (un-normalised) amplitude at the search maximum.
Definition: MHO_SpectralLineFringeSearch.hh:96
void SetReferenceFrequency(double ref_freq_mhz)
Set the reference frequency in MHz (used to convert fringe rate -> delay rate).
Definition: MHO_SpectralLineFringeSearch.hh:54
delay_rate_axis_type * GetDRAxis()
Pointer to the delay-rate axis (size = GetNDRBins()). Values are delay rates in sec/sec,...
Definition: MHO_SpectralLineFringeSearch.hh:108
int GetDRMaxBin() const
Delay-rate bin index of the coarse peak (-1 if not found).
Definition: MHO_SpectralLineFringeSearch.hh:81
virtual bool ExecuteImpl(const XArgType *in) override
Inspects a single const array.
Definition: MHO_SpectralLineFringeSearch.cc:187
int GetChanMaxBin() const
Channel index of the coarse peak (-1 if not found).
Definition: MHO_SpectralLineFringeSearch.hh:78
double GetCoarsePeakSkyFrequencyMHz() const
Sky frequency (MHz) at the coarse peak channel. This is the CHANNEL_AXIS value for the peak channel.
Definition: MHO_SpectralLineFringeSearch.hh:93
int GetNDRBins() const
Number of delay-rate bins after zero-padding.
Definition: MHO_SpectralLineFringeSearch.hh:99
virtual bool InitializeImpl(const XArgType *in) override
initializes inspection for a single const array of type XArgType.
Definition: MHO_SpectralLineFringeSearch.cc:92
MHO_SpectralLineFringeSearch()
Definition: MHO_SpectralLineFringeSearch.cc:6
double GetCoarseDR() const
Delay rate (sec/sec) at the coarse peak.
Definition: MHO_SpectralLineFringeSearch.hh:87
double GetDRBinSeparation() const
Delay-rate bin spacing (sec/sec).
Definition: MHO_SpectralLineFringeSearch.hh:102
virtual ~MHO_SpectralLineFringeSearch()
Definition: MHO_SpectralLineFringeSearch.cc:36
visibility_type * GetSpecDRData()
Pointer to the internal (channel x DR x freq) workspace. Valid after Execute(); used by MHO_Interpola...
Definition: MHO_SpectralLineFringeSearch.hh:114
void GetDRWindow(double &low, double &high) const
Retrieve the delay-rate window actually used (sec/sec).
Definition: MHO_SpectralLineFringeSearch.cc:60
void GetFrequencyWindow(double &low_mhz, double &high_mhz) const
Retrieve the sky-frequency search window (MHz).
Definition: MHO_SpectralLineFringeSearch.cc:86
int GetFreqMaxBin() const
Intra-channel frequency bin index of the coarse peak (-1 if not found).
Definition: MHO_SpectralLineFringeSearch.hh:84
Definition: MHO_AdhocFlagging.hh:18
MHO_TableContainer< visibility_element_type, baseline_axis_pack > visibility_type
Definition: MHO_BaselineContainers.hh:52