HOPS
HOPS class reference
MHO_IonosphericFringeFitter.hh
Go to the documentation of this file.
1 #ifndef MHO_IonosphericFringeFitter_HH__
2 #define MHO_IonosphericFringeFitter_HH__
3 
5 #include "MHO_Tokenizer.hh"
6 
7 namespace hops
8 {
9 
22 {
23 
24  public:
27 
32  virtual void Run() override;
33 
37  void Finalize() override;
38 
45  virtual void Accept(MHO_FringeFitterVisitor* visitor) override { visitor->Visit(this); };
46 
47  protected:
53  int rjc_ion_search();
54 
61  void sort_tecs(int nion, std::vector< std::vector< double > >& dtec);
62 
68  int ion_search_smooth();
69 
78  void smoother(double* f, double* g, double* tec_step, int* npts);
79 
85  double calculate_approx_snr();
86 
87  double fInitialSBWin[2]; //save the initial SBD window
88 
89  int ion_npts;
90 };
91 
92 } // namespace hops
93 
94 #endif
Class MHO_BasicFringeFitter.
Definition: MHO_BasicFringeFitter.hh:35
Class MHO_FringeData.
Definition: MHO_FringeData.hh:30
Class MHO_FringeFitterVisitor.
Definition: Calibration/include/MHO_FringeFitter.hh:189
virtual void Visit(MHO_FringeFitter *fitter)=0
Function Visit.
Class MHO_IonosphericFringeFitter.
Definition: MHO_IonosphericFringeFitter.hh:22
virtual void Accept(MHO_FringeFitterVisitor *visitor) override
Accepts and invokes a visitor to visit this object.
Definition: MHO_IonosphericFringeFitter.hh:45
void smoother(double *f, double *g, double *tec_step, int *npts)
Applies a smoothing curve (half-cosine) to input data array for fringe finding in ionospheric process...
Definition: MHO_IonosphericFringeFitter.cc:797
void Finalize() override
Finalizes fringe fitting process by storing search windows and generating plot data.
Definition: MHO_IonosphericFringeFitter.cc:88
int ion_npts
Definition: MHO_IonosphericFringeFitter.hh:89
double calculate_approx_snr()
Calculates approximate signal-to-noise ratio (SNR) for fringe fitting.
Definition: MHO_IonosphericFringeFitter.cc:866
int rjc_ion_search()
Searches for fringe peak in dtec/delay/delay-rate space.
Definition: MHO_IonosphericFringeFitter.cc:131
double fInitialSBWin[2]
Definition: MHO_IonosphericFringeFitter.hh:87
void sort_tecs(int nion, std::vector< std::vector< double > > &dtec)
Sorts TEC arrays and stores them in parameter store.
Definition: MHO_IonosphericFringeFitter.cc:451
virtual void Run() override
Runs fringe fitting process with additial search over dTEC (with optional smoothing)
Definition: MHO_IonosphericFringeFitter.cc:44
MHO_IonosphericFringeFitter(MHO_FringeData *data)
Definition: MHO_IonosphericFringeFitter.cc:37
virtual ~MHO_IonosphericFringeFitter()
Definition: MHO_IonosphericFringeFitter.cc:42
int ion_search_smooth()
Searches for fringe peak while applying smoothing function (convolution w/ half-cosine).
Definition: MHO_IonosphericFringeFitter.cc:491
Definition: fit_gsl.h:54
Definition: MHO_AdhocFlagging.hh:18