Commit 1ba84dfa5e881f33ec92a5bd1fa5f9df18f8d9cd

Authored by Josh Cardenzana
Committed by Jürgen Knödlseder
1 parent c3b44516

Minor formatting changes

src/ctfindvar/ctfindvar.cpp
... ... @@ -40,7 +40,7 @@
40 40  
41 41 /* __ Method name definitions ____________________________________________ */
42 42 #define G_FILL_CUBE "ctfindvar::fill_cube(GCTAObservation*)"
43   -#define G_FILL_ALPHA_VECTOR "ctfindvar::fill_alpha_vector(const int&, std::vector<double>&)"
  43 +#define G_FILL_ALPHA_VECTOR "ctfindvar::fill_alpha_vector(const int&, vector<double>&)"
44 44 #define G_INIT_CUBE "ctfindvar::init_cube(void)"
45 45 #define G_INIT_GTIS "ctfindvar::init_gtis(void)"
46 46  
... ... @@ -116,7 +116,8 @@ ctfindvar::ctfindvar(int argc, char *argv[]) :
116 116 *
117 117 * @param[in] app search time variability tool.
118 118 *
119   - * Constructs search time variability tool from another search time variability tool.
  119 + * Constructs search time variability tool from another search time variability
  120 + * tool.
120 121 ***************************************************************************/
121 122 ctfindvar::ctfindvar(const ctfindvar& app) :
122 123 ctobservation(app)
... ... @@ -459,7 +460,7 @@ void ctfindvar::get_variability_sig(const int&amp; pix_number,
459 460 // Update the significance
460 461 sig_histogram(i) = sig;
461 462  
462   - // If the bin is significant, it is removed from the bckg and we loop again.
  463 + // If bin is significant, it's removed from bckg and we loop again.
463 464 if (sig > m_sig_threshold) {
464 465 accepted_bin_bckg_vector[i] = false;
465 466 background_validated = false;
... ...
src/ctfindvar/ctfindvar.hpp
... ... @@ -91,20 +91,20 @@ protected:
91 91 const GNdarray& src_info);
92 92  
93 93 // Protected members
94   - GSkyMap m_counts; //!< Counts for each time interval
95   - std::vector<GGti> m_gti; //!< List of time intervals
96   - GModels m_inmodel; //!< List of models for source positions
97   - GSkyDir m_max_sig_dir; //!< Sky direction associated with maximum significance
98   - double m_minoff; //!< Minimum counts for use in significance calculation
99   - double m_sig_threshold; //!< Minimum significance required to set source as variable
100   - GFits m_outfile; //!< FITS object to store output
101   - GSkyMap m_peaksigmap; //!< Skymap holding the maximum significance
102   - GNdarray m_pixsigsrc; //!< Store distributions of the source significances
103   - GNdarray m_pixsigmax; //!< Store distribution for pixel with max significance
104   - GTime m_tstart; //!< Start time for variability study
105   - GTime m_tstop; //!< Stop time for variability study
106   - GEnergy m_emin; //!< Minimum energy for events
107   - GEnergy m_emax; //!< Maximum energy for events
  94 + GSkyMap m_counts; //!< Counts for each time interval
  95 + std::vector<GGti> m_gti; //!< List of time intervals
  96 + GModels m_inmodel; //!< List of models for source positions
  97 + GSkyDir m_max_sig_dir; //!< Sky direction associated with maximum significance
  98 + double m_minoff; //!< Minimum counts for use in significance calculation
  99 + double m_sig_threshold; //!< Minimum significance required to set source as variable
  100 + GFits m_outfile; //!< FITS object to store output
  101 + GSkyMap m_peaksigmap; //!< Skymap holding the maximum significance
  102 + GNdarray m_pixsigsrc; //!< Store distributions of the source significances
  103 + GNdarray m_pixsigmax; //!< Store distribution for pixel with max significance
  104 + GTime m_tstart; //!< Start time for variability study
  105 + GTime m_tstop; //!< Stop time for variability study
  106 + GEnergy m_emin; //!< Minimum energy for events
  107 + GEnergy m_emax; //!< Maximum energy for events
108 108 GModels m_model_above_thr; //!< Model storing position with significance above thr
109 109  
110 110 };
... ...