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
46  {
47  visitor->Visit(this);
48  };
49 
50  protected:
56  int rjc_ion_search();
57 
64  void sort_tecs(int nion, std::vector< std::vector< double > >& dtec);
65 
71  int ion_search_smooth();
72 
81  void smoother(double* f, double* g, double* tec_step, int* npts);
82 
88  double calculate_approx_snr();
89 
90  double fInitialSBWin[2]; //save the initial SBD window
91 
92  int ion_npts;
93 };
94 
95 } // namespace hops
96 
97 #endif
Class MHO_BasicFringeFitter.
Definition: MHO_BasicFringeFitter.hh:30
Class MHO_FringeData.
Definition: MHO_FringeData.hh:30
Class MHO_FringeFitterVisitor.
Definition: MHO_FringeFitter.hh:186
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:796
void Finalize() override
Finalizes fringe fitting process by storing search windows and generating plot data.
Definition: MHO_IonosphericFringeFitter.cc:84
int ion_npts
Definition: MHO_IonosphericFringeFitter.hh:92
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:128
double fInitialSBWin[2]
Definition: MHO_IonosphericFringeFitter.hh:90
void sort_tecs(int nion, std::vector< std::vector< double > > &dtec)
Sorts TEC arrays and stores them in parameter store.
Definition: MHO_IonosphericFringeFitter.cc:447
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:489
Definition: MHO_ChannelLabeler.hh:17