1 #ifndef MHO_InterpolateFringePeak_HH__
2 #define MHO_InterpolateFringePeak_HH__
64 void SetMaxBins(
int sbd_max,
int mbd_max,
int dr_max);
101 void SetSBDWindow(
double low,
double high) { SetWindow(fSBDWin, fSBDWinSet, low, high); }
103 void SetMBDWindow(
double low,
double high) { SetWindow(fMBDWin, fMBDWinSet, low, high); }
105 void SetDRWindow(
double low,
double high) { SetWindow(fDRWin, fDRWinSet, low, high); }
130 virtual bool Execute()
override;
174 double fTotalSummedWeights;
181 void fine_peak_interpolation();
183 static void SetWindow(
double* win,
bool& win_set,
double low,
double high)
208 double dwin(
double,
double,
double);
211 MHO_FringeRotation fRot;
virtual void Copy(const MHO_Axis &rhs)
Expensive copy for MHO_Axis that handles special treatment of index/interval labels.
Definition: MHO_Axis.hh:212
void SetOptimizeClosureTrue()
Setter for optimize closure true.
Definition: MHO_FringeRotation.hh:78
void SetOptimizeClosureFalse()
Setter for optimize closure false.
Definition: MHO_FringeRotation.hh:83
Class MHO_InterpolateFringePeak.
Definition: MHO_InterpolateFringePeak.hh:28
void SetMBDWindow(double low, double high)
Definition: MHO_InterpolateFringePeak.hh:103
void SetDRWindow(double low, double high)
Definition: MHO_InterpolateFringePeak.hh:105
virtual ~MHO_InterpolateFringePeak()
Definition: MHO_InterpolateFringePeak.hh:31
virtual bool Initialize() override
Initializes MHO_InterpolateFringePeak object by checking and retrieving necessary data.
Definition: MHO_InterpolateFringePeak.cc:33
double GetFringeAmplitude() const
Getter for fringe amplitude.
Definition: MHO_InterpolateFringePeak.hh:165
void SetReferenceTimeOffset(double frt_offset)
Setter for reference time offset.
Definition: MHO_InterpolateFringePeak.hh:55
MHO_InterpolateFringePeak()
Definition: MHO_InterpolateFringePeak.cc:7
void SetMaxBins(int sbd_max, int mbd_max, int dr_max)
Setter for max bins (location)
Definition: MHO_InterpolateFringePeak.cc:67
void SetSBDArray(const visibility_type *sbd_arr)
Setter for sbd array.
Definition: MHO_InterpolateFringePeak.hh:71
double GetDelayRate() const
Getter for delay rate.
Definition: MHO_InterpolateFringePeak.hh:151
void SetMBDAxis(const time_axis_type *mbd_ax)
Setter for mbd axis.
Definition: MHO_InterpolateFringePeak.hh:85
double GetSBDelay() const
Getter for sbdelay.
Definition: MHO_InterpolateFringePeak.hh:137
void SetReferenceFrequency(double ref_freq)
Setter for reference frequency.
Definition: MHO_InterpolateFringePeak.hh:48
void ClearWindows()
Removes any previously set search windows.
Definition: MHO_InterpolateFringePeak.hh:110
void EnableOptimizeClosure()
Sets optimize closure to true (not used for 'simul' method).
Definition: MHO_InterpolateFringePeak.hh:36
double GetMBDelay() const
Getter for mbdelay.
Definition: MHO_InterpolateFringePeak.hh:144
void SetWeights(const weight_type *weights)
Setter for weights.
Definition: MHO_InterpolateFringePeak.hh:78
void DisableOptimizeClosure()
Disables optimize closure.
Definition: MHO_InterpolateFringePeak.hh:41
void SetSBDWindow(double low, double high)
Setters for the (user) search windows, the interpolation is constrained to lie within these windows a...
Definition: MHO_InterpolateFringePeak.hh:101
void SetDRAxis(const delay_rate_axis_type *dr_ax)
Setter for dr axis.
Definition: MHO_InterpolateFringePeak.hh:92
double GetFringeRate() const
Getter for fringe rate.
Definition: MHO_InterpolateFringePeak.hh:158
virtual bool Execute() override
Executes fine peak interpolation and returns success.
Definition: MHO_InterpolateFringePeak.cc:61
Class MHO_Operator.
Definition: MHO_Operator.hh:21
#define min(a, b)
Definition: max555.c:9
#define max(a, b)
Definition: max555.c:10
Definition: MHO_AdhocFlagging.hh:18