From 1ba84dfa5e881f33ec92a5bd1fa5f9df18f8d9cd Mon Sep 17 00:00:00 2001 From: Josh Cardenzana Date: Fri, 16 Nov 2018 14:43:53 +0100 Subject: [PATCH] Minor formatting changes --- src/ctfindvar/ctfindvar.cpp | 7 ++++--- src/ctfindvar/ctfindvar.hpp | 28 ++++++++++++++-------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/ctfindvar/ctfindvar.cpp b/src/ctfindvar/ctfindvar.cpp index d176c29..632eec2 100644 --- a/src/ctfindvar/ctfindvar.cpp +++ b/src/ctfindvar/ctfindvar.cpp @@ -40,7 +40,7 @@ /* __ Method name definitions ____________________________________________ */ #define G_FILL_CUBE "ctfindvar::fill_cube(GCTAObservation*)" -#define G_FILL_ALPHA_VECTOR "ctfindvar::fill_alpha_vector(const int&, std::vector&)" +#define G_FILL_ALPHA_VECTOR "ctfindvar::fill_alpha_vector(const int&, vector&)" #define G_INIT_CUBE "ctfindvar::init_cube(void)" #define G_INIT_GTIS "ctfindvar::init_gtis(void)" @@ -116,7 +116,8 @@ ctfindvar::ctfindvar(int argc, char *argv[]) : * * @param[in] app search time variability tool. * - * Constructs search time variability tool from another search time variability tool. + * Constructs search time variability tool from another search time variability + * tool. ***************************************************************************/ ctfindvar::ctfindvar(const ctfindvar& app) : ctobservation(app) @@ -459,7 +460,7 @@ void ctfindvar::get_variability_sig(const int& pix_number, // Update the significance sig_histogram(i) = sig; - // If the bin is significant, it is removed from the bckg and we loop again. + // If bin is significant, it's removed from bckg and we loop again. if (sig > m_sig_threshold) { accepted_bin_bckg_vector[i] = false; background_validated = false; diff --git a/src/ctfindvar/ctfindvar.hpp b/src/ctfindvar/ctfindvar.hpp index 825f883..bb6dbe8 100644 --- a/src/ctfindvar/ctfindvar.hpp +++ b/src/ctfindvar/ctfindvar.hpp @@ -91,20 +91,20 @@ protected: const GNdarray& src_info); // Protected members - GSkyMap m_counts; //!< Counts for each time interval - std::vector m_gti; //!< List of time intervals - GModels m_inmodel; //!< List of models for source positions - GSkyDir m_max_sig_dir; //!< Sky direction associated with maximum significance - double m_minoff; //!< Minimum counts for use in significance calculation - double m_sig_threshold; //!< Minimum significance required to set source as variable - GFits m_outfile; //!< FITS object to store output - GSkyMap m_peaksigmap; //!< Skymap holding the maximum significance - GNdarray m_pixsigsrc; //!< Store distributions of the source significances - GNdarray m_pixsigmax; //!< Store distribution for pixel with max significance - GTime m_tstart; //!< Start time for variability study - GTime m_tstop; //!< Stop time for variability study - GEnergy m_emin; //!< Minimum energy for events - GEnergy m_emax; //!< Maximum energy for events + GSkyMap m_counts; //!< Counts for each time interval + std::vector m_gti; //!< List of time intervals + GModels m_inmodel; //!< List of models for source positions + GSkyDir m_max_sig_dir; //!< Sky direction associated with maximum significance + double m_minoff; //!< Minimum counts for use in significance calculation + double m_sig_threshold; //!< Minimum significance required to set source as variable + GFits m_outfile; //!< FITS object to store output + GSkyMap m_peaksigmap; //!< Skymap holding the maximum significance + GNdarray m_pixsigsrc; //!< Store distributions of the source significances + GNdarray m_pixsigmax; //!< Store distribution for pixel with max significance + GTime m_tstart; //!< Start time for variability study + GTime m_tstop; //!< Stop time for variability study + GEnergy m_emin; //!< Minimum energy for events + GEnergy m_emax; //!< Maximum energy for events GModels m_model_above_thr; //!< Model storing position with significance above thr }; -- libgit2 0.21.4