00001 00005 class CorrAlongLine : public EmpiricalStatistics 00006 00007 { 00008 private: 00009 00010 Ptv(real) main_point; 00011 Ptv(real) line_start, line_stop; 00012 int npoints_along_line; 00013 int nsd; 00014 00015 VecSimple(Ptv(real)) points; 00016 Vec(real) collector; 00017 Vec(real) estimated_covariance; 00018 00019 void initPoints(); 00020 void estimate (Field& Eu1, Field& Eu2); 00021 00022 public: 00023 00024 CorrAlongLine () {} 00025 ~CorrAlongLine () {} 00026 00027 void init (); 00028 void update (Field& u1, Field& u2); 00029 void dump (CurvePlotFile& plot_manager, 00030 Field& Eu1, Field& Eu2); 00031 00032 const VecSimple(Ptv(real))& getPoints () { return points; } 00033 00034 void scan (Is is); 00035 void scan 00036 (Ptv(real)& main_point, 00037 Ptv(real)& line_start, 00038 Ptv(real)& line_stop, 00039 int npoints_along_line, 00040 const String& name); 00041 }; 00042 00043