Commit 67a32cb274e4834412d87369bd536b728777570d
1 parent
ab61c2c6
Fix typos in docstrings
Showing
45 changed files
with
56 additions
and
56 deletions
include/GApplication.hpp
| @@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
| 39 | /***********************************************************************//** | 39 | /***********************************************************************//** |
| 40 | * @class GApplication | 40 | * @class GApplication |
| 41 | * | 41 | * |
| 42 | - * @brief GammaLib application interface defintion | 42 | + * @brief GammaLib application interface definition |
| 43 | * | 43 | * |
| 44 | * This class provides the base class for ftools-like executables based on | 44 | * This class provides the base class for ftools-like executables based on |
| 45 | * GammaLib. The ftools-like executables will be implemented as derived | 45 | * GammaLib. The ftools-like executables will be implemented as derived |
include/GDerivative.hpp
| @@ -221,7 +221,7 @@ const bool& GDerivative::silent(void) const | @@ -221,7 +221,7 @@ const bool& GDerivative::silent(void) const | ||
| 221 | * | 221 | * |
| 222 | * @param[in] function Function. | 222 | * @param[in] function Function. |
| 223 | * | 223 | * |
| 224 | - * Sets the function for which the derivate should be determined. | 224 | + * Sets the function for which the derivative should be determined. |
| 225 | ***************************************************************************/ | 225 | ***************************************************************************/ |
| 226 | inline | 226 | inline |
| 227 | void GDerivative::function(GFunction* function) | 227 | void GDerivative::function(GFunction* function) |
include/GEnergies.hpp
| @@ -148,7 +148,7 @@ bool GEnergies::is_empty(void) const | @@ -148,7 +148,7 @@ bool GEnergies::is_empty(void) const | ||
| 148 | 148 | ||
| 149 | 149 | ||
| 150 | /***********************************************************************//** | 150 | /***********************************************************************//** |
| 151 | - * @brief Reserves space for energues in container | 151 | + * @brief Reserves space for energies in container |
| 152 | * | 152 | * |
| 153 | * @param[in] num Number of energies. | 153 | * @param[in] num Number of energies. |
| 154 | * | 154 | * |
include/GEvent.hpp
| @@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
| 41 | * @brief Abstract interface for the event classes. | 41 | * @brief Abstract interface for the event classes. |
| 42 | * | 42 | * |
| 43 | * This class provides an abstract interface to an event. An event can be | 43 | * This class provides an abstract interface to an event. An event can be |
| 44 | - * either a physical event occuring in the instrument (called an event | 44 | + * either a physical event occurring in the instrument (called an event |
| 45 | * atom) or a collection of events with similar properties (called an | 45 | * atom) or a collection of events with similar properties (called an |
| 46 | * event bin). While event atoms are used for unbinned analysis, event bins | 46 | * event bin). While event atoms are used for unbinned analysis, event bins |
| 47 | * are used for binned analysis. The methods is_atom() and is_bin() inform | 47 | * are used for binned analysis. The methods is_atom() and is_bin() inform |
include/GEventAtom.hpp
| @@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
| 40 | * | 40 | * |
| 41 | * @brief Abstract interface for the event atom class. | 41 | * @brief Abstract interface for the event atom class. |
| 42 | * | 42 | * |
| 43 | - * An event atom is a single event occuring in an instrument. Event atoms | 43 | + * An event atom is a single event occurring in an instrument. Event atoms |
| 44 | * are used for unbinned analysis. | 44 | * are used for unbinned analysis. |
| 45 | * | 45 | * |
| 46 | * Each event has 3 attributes: energy, instrument direction and time. | 46 | * Each event has 3 attributes: energy, instrument direction and time. |
include/GException.hpp
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | ***************************************************************************/ | 20 | ***************************************************************************/ |
| 21 | /** | 21 | /** |
| 22 | * @file GException.hpp | 22 | * @file GException.hpp |
| 23 | - * @brief Exception handler interface definiton. | 23 | + * @brief Exception handler interface definition. |
| 24 | * @author Juergen Knoedlseder | 24 | * @author Juergen Knoedlseder |
| 25 | */ | 25 | */ |
| 26 | 26 |
include/GFitsImage.hpp
| @@ -157,7 +157,7 @@ const int& GFitsImage::naxis(void) const | @@ -157,7 +157,7 @@ const int& GFitsImage::naxis(void) const | ||
| 157 | 157 | ||
| 158 | 158 | ||
| 159 | /***********************************************************************//** | 159 | /***********************************************************************//** |
| 160 | - * @brief Return number of nul values envountered during loading | 160 | + * @brief Return number of nul values encountered during loading |
| 161 | ***************************************************************************/ | 161 | ***************************************************************************/ |
| 162 | inline | 162 | inline |
| 163 | const int& GFitsImage::anynul(void) const | 163 | const int& GFitsImage::anynul(void) const |
include/GFitsTableBitCol.hpp
| @@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
| 39 | * | 39 | * |
| 40 | * This class implements a FITS table Bit column. Bits are stored internally | 40 | * This class implements a FITS table Bit column. Bits are stored internally |
| 41 | * in an array of type char and is transferred to the file in junks of | 41 | * in an array of type char and is transferred to the file in junks of |
| 42 | - * 8 Bits (using the cfitsio type TBYTE). | 42 | + * 8 Bits (using the CFITSIO type TBYTE). |
| 43 | ***************************************************************************/ | 43 | ***************************************************************************/ |
| 44 | class GFitsTableBitCol : public GFitsTableCol { | 44 | class GFitsTableBitCol : public GFitsTableCol { |
| 45 | 45 |
include/GFitsTableCol.hpp
| @@ -132,7 +132,7 @@ protected: | @@ -132,7 +132,7 @@ protected: | ||
| 132 | //!< This parameter is used to signal if a | 132 | //!< This parameter is used to signal if a |
| 133 | //!< table column corresponds to a FITS file | 133 | //!< table column corresponds to a FITS file |
| 134 | //!< column. If it is set to 0 there is no | 134 | //!< column. If it is set to 0 there is no |
| 135 | - //!< correspondance. | 135 | + //!< correspondence. |
| 136 | int m_type; //!< Column type | 136 | int m_type; //!< Column type |
| 137 | int m_repeat; //!< Repeat value of column | 137 | int m_repeat; //!< Repeat value of column |
| 138 | int m_width; //!< Width of single column element | 138 | int m_width; //!< Width of single column element |
| @@ -140,7 +140,7 @@ protected: | @@ -140,7 +140,7 @@ protected: | ||
| 140 | //!< m_number = m_repeat / m_width | 140 | //!< m_number = m_repeat / m_width |
| 141 | int m_length; //!< Length of column (number of rows) | 141 | int m_length; //!< Length of column (number of rows) |
| 142 | bool m_variable; //!< Signals if column is variable length | 142 | bool m_variable; //!< Signals if column is variable length |
| 143 | - int m_varlen; //!< Maximum number of elements in variable-lgth | 143 | + int m_varlen; //!< Maximum number of elements in variable-length |
| 144 | std::vector<int> m_rowstart; //!< Start index of each row | 144 | std::vector<int> m_rowstart; //!< Start index of each row |
| 145 | mutable int m_size; //!< Size of allocated data area (0 if not loaded) | 145 | mutable int m_size; //!< Size of allocated data area (0 if not loaded) |
| 146 | int m_anynul; //!< Number of NULLs encountered | 146 | int m_anynul; //!< Number of NULLs encountered |
include/GHealpix.hpp
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | /***********************************************************************//** | 37 | /***********************************************************************//** |
| 38 | * @class GHealpix | 38 | * @class GHealpix |
| 39 | * | 39 | * |
| 40 | - * @brief HealPix projection class interface defintion | 40 | + * @brief HealPix projection class interface definition |
| 41 | * | 41 | * |
| 42 | * The HealPix projection class has been implemented by adapting code from | 42 | * The HealPix projection class has been implemented by adapting code from |
| 43 | * the HealPix library (version 2.1). For more information about HEALPix, see | 43 | * the HealPix library (version 2.1). For more information about HEALPix, see |
include/GIntegral.hpp
| @@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
| 36 | /***********************************************************************//** | 36 | /***********************************************************************//** |
| 37 | * @class GIntegral | 37 | * @class GIntegral |
| 38 | * | 38 | * |
| 39 | - * @brief GIntegral class interface defintion. | 39 | + * @brief GIntegral class interface definition. |
| 40 | * | 40 | * |
| 41 | * This class allows to perform integration using various methods. The | 41 | * This class allows to perform integration using various methods. The |
| 42 | * integrand is implemented by a derived class of GIntegrand. | 42 | * integrand is implemented by a derived class of GIntegrand. |
include/GLog.hpp
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | /***********************************************************************//** | 38 | /***********************************************************************//** |
| 39 | * @class GLog | 39 | * @class GLog |
| 40 | * | 40 | * |
| 41 | - * @brief Information logger interface defintion. | 41 | + * @brief Information logger interface definition. |
| 42 | * | 42 | * |
| 43 | * This class implements an interface for logging of text messages to the | 43 | * This class implements an interface for logging of text messages to the |
| 44 | * standard output and/or error streams and into an ASCII log file. It | 44 | * standard output and/or error streams and into an ASCII log file. It |
include/GMatrixSymmetric.hpp
| @@ -40,7 +40,7 @@ class GVector; | @@ -40,7 +40,7 @@ class GVector; | ||
| 40 | /***********************************************************************//** | 40 | /***********************************************************************//** |
| 41 | * @class GMatrixSymmetric | 41 | * @class GMatrixSymmetric |
| 42 | * | 42 | * |
| 43 | - * @brief Symmetric matrix class interface defintion | 43 | + * @brief Symmetric matrix class interface definition |
| 44 | * | 44 | * |
| 45 | * This class implements a symmetric matrix. The class stores only a triangle | 45 | * This class implements a symmetric matrix. The class stores only a triangle |
| 46 | * physically, imposing thus strict matrix symmetry. | 46 | * physically, imposing thus strict matrix symmetry. |
include/GObservation.hpp
| @@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
| 47 | * | 47 | * |
| 48 | * This class provides an abstract interface for an observation. The | 48 | * This class provides an abstract interface for an observation. The |
| 49 | * observation collects information about the instrument, holds the measured | 49 | * observation collects information about the instrument, holds the measured |
| 50 | - * events, and provides information about the analysis definiton. | 50 | + * events, and provides information about the analysis definition. |
| 51 | * The method model() returns the probability for an event to be measured | 51 | * The method model() returns the probability for an event to be measured |
| 52 | * with a given instrument direction, a given energy and at a given time, | 52 | * with a given instrument direction, a given energy and at a given time, |
| 53 | * given a source model and an instrument pointing direction. | 53 | * given a source model and an instrument pointing direction. |
include/GObservations.hpp
| @@ -80,7 +80,7 @@ | @@ -80,7 +80,7 @@ | ||
| 80 | * | 80 | * |
| 81 | * Based on the list of models, the optimize() method will optimize all | 81 | * Based on the list of models, the optimize() method will optimize all |
| 82 | * model parameters that are marked as free in the list of models. The | 82 | * model parameters that are marked as free in the list of models. The |
| 83 | - * npred() method returns the total number of events that are prediced | 83 | + * npred() method returns the total number of events that are predicted |
| 84 | * by all models after optimization. | 84 | * by all models after optimization. |
| 85 | * | 85 | * |
| 86 | * GObservations also provides an optimizer class that is derived from | 86 | * GObservations also provides an optimizer class that is derived from |
include/GOptimizerLM.hpp
| @@ -83,7 +83,7 @@ public: | @@ -83,7 +83,7 @@ public: | ||
| 83 | int max_boundary_hits(void) const { return m_max_hit; } //!< @brief Return maximum number of boundary hits | 83 | int max_boundary_hits(void) const { return m_max_hit; } //!< @brief Return maximum number of boundary hits |
| 84 | const double& lambda_start(void) const { return m_lambda_start; } //!< @brief Return lambda start value | 84 | const double& lambda_start(void) const { return m_lambda_start; } //!< @brief Return lambda start value |
| 85 | const double& lambda_inc(void) const { return m_lambda_inc; } //!< @brief Return lambda increment | 85 | const double& lambda_inc(void) const { return m_lambda_inc; } //!< @brief Return lambda increment |
| 86 | - const double& lambda_dec(void) const { return m_lambda_dec; } //!< @brief Return lambda derement | 86 | + const double& lambda_dec(void) const { return m_lambda_dec; } //!< @brief Return lambda decrement |
| 87 | const double& lambda(void) const { return m_lambda; } //!< @brief Return lambda value | 87 | const double& lambda(void) const { return m_lambda; } //!< @brief Return lambda value |
| 88 | const double& eps(void) const { return m_eps; } //!< @brief Return convergence precision | 88 | const double& eps(void) const { return m_eps; } //!< @brief Return convergence precision |
| 89 | 89 |
include/GTestSuites.hpp
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | ***************************************************************************/ | 20 | ***************************************************************************/ |
| 21 | /** | 21 | /** |
| 22 | * @file GTestSuites.hpp | 22 | * @file GTestSuites.hpp |
| 23 | - * @brief Test suite container class interface defintion | 23 | + * @brief Test suite container class interface definition |
| 24 | * @author Jean-Baptiste Cayrou | 24 | * @author Jean-Baptiste Cayrou |
| 25 | */ | 25 | */ |
| 26 | 26 |
include/GTools.hpp
| @@ -121,7 +121,7 @@ bool gammalib::is_infinite(const double& x) | @@ -121,7 +121,7 @@ bool gammalib::is_infinite(const double& x) | ||
| 121 | * | 121 | * |
| 122 | * Signals if the argument @p x is not a number. | 122 | * Signals if the argument @p x is not a number. |
| 123 | * | 123 | * |
| 124 | - * This function is a very simple kluge. It may not work on all systems. | 124 | + * This function is a very simple kludge. It may not work on all systems. |
| 125 | ***************************************************************************/ | 125 | ***************************************************************************/ |
| 126 | inline | 126 | inline |
| 127 | bool gammalib::is_notanumber(const double& x) | 127 | bool gammalib::is_notanumber(const double& x) |
include/GVector.hpp
| @@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
| 40 | * @brief Vector class | 40 | * @brief Vector class |
| 41 | * | 41 | * |
| 42 | * This class implement a double precision floating point vector class that | 42 | * This class implement a double precision floating point vector class that |
| 43 | - * is intended to be used for numerical computation (it is not ment to | 43 | + * is intended to be used for numerical computation (it is not meant to |
| 44 | * replace the std::vector template class). | 44 | * replace the std::vector template class). |
| 45 | ***************************************************************************/ | 45 | ***************************************************************************/ |
| 46 | class GVector : public GBase { | 46 | class GVector : public GBase { |
include/GXml.hpp
| @@ -115,7 +115,7 @@ | @@ -115,7 +115,7 @@ | ||
| 115 | * and to load and save the document from a URL. GXml derives from GContainer | 115 | * and to load and save the document from a URL. GXml derives from GContainer |
| 116 | * as it behaves like a container class. It does, however, not contain an | 116 | * as it behaves like a container class. It does, however, not contain an |
| 117 | * explicit list, as the only data member of the class is a single instance | 117 | * explicit list, as the only data member of the class is a single instance |
| 118 | - * of GXmlDocument. GXmlDocument contains the hierachical list of all XML | 118 | + * of GXmlDocument. GXmlDocument contains the hierarchical list of all XML |
| 119 | * nodes. | 119 | * nodes. |
| 120 | * | 120 | * |
| 121 | * To manipulate the child nodes of GXmlDocument, the usual container class | 121 | * To manipulate the child nodes of GXmlDocument, the usual container class |
inst/com/src/GCOMEventCube.cpp
| @@ -693,7 +693,7 @@ void GCOMEventCube::set_scatter_directions(void) | @@ -693,7 +693,7 @@ void GCOMEventCube::set_scatter_directions(void) | ||
| 693 | // Throw an error if we have no sky pixels | 693 | // Throw an error if we have no sky pixels |
| 694 | if (npix() < 1) { | 694 | if (npix() < 1) { |
| 695 | throw GCOMException::no_sky(G_SET_SCATTER_DIRECTIONS, | 695 | throw GCOMException::no_sky(G_SET_SCATTER_DIRECTIONS, |
| 696 | - "Every COMPTEL event cube needs a definiton of sky pixels."); | 696 | + "Every COMPTEL event cube needs a definition of sky pixels."); |
| 697 | } | 697 | } |
| 698 | 698 | ||
| 699 | // Clear vectors | 699 | // Clear vectors |
| @@ -760,7 +760,7 @@ void GCOMEventCube::set_energies(void) | @@ -760,7 +760,7 @@ void GCOMEventCube::set_energies(void) | ||
| 760 | // Throw an error if GTI is empty | 760 | // Throw an error if GTI is empty |
| 761 | if (m_ebounds.size() < 1) { | 761 | if (m_ebounds.size() < 1) { |
| 762 | throw GCOMException::no_ebds(G_SET_ENERGIES, "Every COMPTEL event" | 762 | throw GCOMException::no_ebds(G_SET_ENERGIES, "Every COMPTEL event" |
| 763 | - " cube needs a definiton of the energy boundaries."); | 763 | + " cube needs a definition of the energy boundaries."); |
| 764 | } | 764 | } |
| 765 | 765 | ||
| 766 | // Compute the logarithmic mean energy | 766 | // Compute the logarithmic mean energy |
inst/com/src/GCOMSupport.cpp
| @@ -59,7 +59,7 @@ void com_wcs_mer2car(GSkymap& map) | @@ -59,7 +59,7 @@ void com_wcs_mer2car(GSkymap& map) | ||
| 59 | // Apply kluge only if the skymap is in Mercator's projection | 59 | // Apply kluge only if the skymap is in Mercator's projection |
| 60 | if (wcs != NULL && wcs->code() == "MER") { | 60 | if (wcs != NULL && wcs->code() == "MER") { |
| 61 | 61 | ||
| 62 | - // Extract original WCS definiton | 62 | + // Extract original WCS definition |
| 63 | double crval1 = wcs->crval(0); | 63 | double crval1 = wcs->crval(0); |
| 64 | double crval2 = wcs->crval(1); | 64 | double crval2 = wcs->crval(1); |
| 65 | double crpix1 = wcs->crpix(0); | 65 | double crpix1 = wcs->crpix(0); |
inst/cta/include/GCTAAeffArf.hpp
| @@ -45,7 +45,7 @@ class GCTAResponse; | @@ -45,7 +45,7 @@ class GCTAResponse; | ||
| 45 | * @brief CTA ARF effective area class | 45 | * @brief CTA ARF effective area class |
| 46 | * | 46 | * |
| 47 | * This class implements the CTA effective area response that is defined by | 47 | * This class implements the CTA effective area response that is defined by |
| 48 | - * an auxilliary response function (ARF) file. | 48 | + * an auxiliary response function (ARF) file. |
| 49 | ***************************************************************************/ | 49 | ***************************************************************************/ |
| 50 | class GCTAAeffArf : public GCTAAeff { | 50 | class GCTAAeffArf : public GCTAAeff { |
| 51 | 51 | ||
| @@ -159,7 +159,7 @@ const double& GCTAAeffArf::sigma(void) const | @@ -159,7 +159,7 @@ const double& GCTAAeffArf::sigma(void) const | ||
| 159 | * | 159 | * |
| 160 | * Sets the theta cut angle which defines the energy independent cut that | 160 | * Sets the theta cut angle which defines the energy independent cut that |
| 161 | * has been assumed in deriving the ARF values. If @p thetacut os 0 (which | 161 | * has been assumed in deriving the ARF values. If @p thetacut os 0 (which |
| 162 | - * is the default avlue), not thetacut will be applied. | 162 | + * is the default value), not thetacut will be applied. |
| 163 | ***************************************************************************/ | 163 | ***************************************************************************/ |
| 164 | inline | 164 | inline |
| 165 | void GCTAAeffArf::thetacut(const double& thetacut) | 165 | void GCTAAeffArf::thetacut(const double& thetacut) |
inst/cta/include/GCTAEventBin.hpp
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | /***********************************************************************//** | 38 | /***********************************************************************//** |
| 39 | * @class GCTAEventBin | 39 | * @class GCTAEventBin |
| 40 | * | 40 | * |
| 41 | - * @brief GCTAEventBin class interface defintion | 41 | + * @brief GCTAEventBin class interface definition |
| 42 | * | 42 | * |
| 43 | * This class implements a CTA event bin. The event bin is a collection of | 43 | * This class implements a CTA event bin. The event bin is a collection of |
| 44 | * pointers that points to the relevant information in memory. The class | 44 | * pointers that points to the relevant information in memory. The class |
inst/cta/include/GCTAResponse.hpp
| @@ -246,9 +246,9 @@ const double& GCTAResponse::eps(void) const | @@ -246,9 +246,9 @@ const double& GCTAResponse::eps(void) const | ||
| 246 | 246 | ||
| 247 | 247 | ||
| 248 | /***********************************************************************//** | 248 | /***********************************************************************//** |
| 249 | - * @brief Return Redestribution Matrix File name | 249 | + * @brief Return Redistribution Matrix File name |
| 250 | * | 250 | * |
| 251 | - * @return Redestribution Matrix File name. | 251 | + * @return Redistribution Matrix File name. |
| 252 | ***************************************************************************/ | 252 | ***************************************************************************/ |
| 253 | inline | 253 | inline |
| 254 | const std::string& GCTAResponse::rmffile(void) const | 254 | const std::string& GCTAResponse::rmffile(void) const |
inst/cta/src/GCTAEventCube.cpp
| @@ -651,7 +651,7 @@ void GCTAEventCube::set_directions(void) | @@ -651,7 +651,7 @@ void GCTAEventCube::set_directions(void) | ||
| 651 | // Throw an error if we have no sky pixels | 651 | // Throw an error if we have no sky pixels |
| 652 | if (npix() < 1) { | 652 | if (npix() < 1) { |
| 653 | throw GCTAException::no_sky(G_SET_DIRECTIONS, "Every CTA event cube" | 653 | throw GCTAException::no_sky(G_SET_DIRECTIONS, "Every CTA event cube" |
| 654 | - " needs a definiton of the sky pixels."); | 654 | + " needs a definition of the sky pixels."); |
| 655 | } | 655 | } |
| 656 | 656 | ||
| 657 | // Clear old pixel directions and solid angle | 657 | // Clear old pixel directions and solid angle |
| @@ -697,7 +697,7 @@ void GCTAEventCube::set_energies(void) | @@ -697,7 +697,7 @@ void GCTAEventCube::set_energies(void) | ||
| 697 | // Throw an error if we have no energy bins | 697 | // Throw an error if we have no energy bins |
| 698 | if (ebins() < 1) { | 698 | if (ebins() < 1) { |
| 699 | throw GCTAException::no_ebds(G_SET_ENERGIES, "Every CTA event cube" | 699 | throw GCTAException::no_ebds(G_SET_ENERGIES, "Every CTA event cube" |
| 700 | - " needs a definiton of the energy boundaries."); | 700 | + " needs a definition of the energy boundaries."); |
| 701 | } | 701 | } |
| 702 | 702 | ||
| 703 | // Clear old bin energies and energy widths | 703 | // Clear old bin energies and energy widths |
inst/lat/include/GLATObservation.hpp
| @@ -130,7 +130,7 @@ const GLATLtCube* GLATObservation::ltcube(void) const | @@ -130,7 +130,7 @@ const GLATLtCube* GLATObservation::ltcube(void) const | ||
| 130 | inline | 130 | inline |
| 131 | std::string GLATObservation::instrument(void) const | 131 | std::string GLATObservation::instrument(void) const |
| 132 | { | 132 | { |
| 133 | - // Return instument name | 133 | + // Return instrument name |
| 134 | return ("LAT"); | 134 | return ("LAT"); |
| 135 | } | 135 | } |
| 136 | 136 |
inst/lat/src/GLATEventCube.cpp
| @@ -808,7 +808,7 @@ void GLATEventCube::set_directions(void) | @@ -808,7 +808,7 @@ void GLATEventCube::set_directions(void) | ||
| 808 | // Throw an error if we have no sky pixels | 808 | // Throw an error if we have no sky pixels |
| 809 | if (npix() < 1) { | 809 | if (npix() < 1) { |
| 810 | throw GLATException::no_sky(G_SET_DIRECTIONS, "Every LAT event cube" | 810 | throw GLATException::no_sky(G_SET_DIRECTIONS, "Every LAT event cube" |
| 811 | - " needs a definiton of the sky pixels."); | 811 | + " needs a definition of the sky pixels."); |
| 812 | } | 812 | } |
| 813 | 813 | ||
| 814 | // Clear old pixel directions and solid angle | 814 | // Clear old pixel directions and solid angle |
| @@ -848,7 +848,7 @@ void GLATEventCube::set_energies(void) | @@ -848,7 +848,7 @@ void GLATEventCube::set_energies(void) | ||
| 848 | // Throw an error if we have no energy bins | 848 | // Throw an error if we have no energy bins |
| 849 | if (ebins() < 1) { | 849 | if (ebins() < 1) { |
| 850 | throw GLATException::no_ebds(G_SET_ENERGIES, "Every LAT event cube" | 850 | throw GLATException::no_ebds(G_SET_ENERGIES, "Every LAT event cube" |
| 851 | - " needs a definiton of the energy boundaries."); | 851 | + " needs a definition of the energy boundaries."); |
| 852 | } | 852 | } |
| 853 | 853 | ||
| 854 | // Clear old bin energies and energy widths | 854 | // Clear old bin energies and energy widths |
pyext/GApplication.i
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | ***************************************************************************/ | 20 | ***************************************************************************/ |
| 21 | /** | 21 | /** |
| 22 | * @file GApplication.i | 22 | * @file GApplication.i |
| 23 | - * @brief GammaLib application base class Python interface defintion | 23 | + * @brief GammaLib application base class Python interface definition |
| 24 | * @author Juergen Knoedlseder | 24 | * @author Juergen Knoedlseder |
| 25 | */ | 25 | */ |
| 26 | %{ | 26 | %{ |
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | /***********************************************************************//** | 37 | /***********************************************************************//** |
| 38 | * @class GApplication | 38 | * @class GApplication |
| 39 | * | 39 | * |
| 40 | - * @brief GammaLib application Python interface defintion. | 40 | + * @brief GammaLib application Python interface definition. |
| 41 | ***************************************************************************/ | 41 | ***************************************************************************/ |
| 42 | class GApplication : public GBase { | 42 | class GApplication : public GBase { |
| 43 | public: | 43 | public: |
pyext/GIntegral.i
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | /***********************************************************************//** | 33 | /***********************************************************************//** |
| 34 | * @class GIntegral | 34 | * @class GIntegral |
| 35 | * | 35 | * |
| 36 | - * @brief Integration class Python interface defintion. | 36 | + * @brief Integration class Python interface definition. |
| 37 | * | 37 | * |
| 38 | * This class allows to perform integration using various methods. The | 38 | * This class allows to perform integration using various methods. The |
| 39 | * integrand is implemented by a derived class of GIntegrand. | 39 | * integrand is implemented by a derived class of GIntegrand. |
pyext/GLog.i
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | /***********************************************************************//** | 33 | /***********************************************************************//** |
| 34 | * @class GLog | 34 | * @class GLog |
| 35 | * | 35 | * |
| 36 | - * @brief Information logger interface defintion. | 36 | + * @brief Information logger interface definition. |
| 37 | ***************************************************************************/ | 37 | ***************************************************************************/ |
| 38 | class GLog { | 38 | class GLog { |
| 39 | public: | 39 | public: |
pyext/GMatrixBase.i
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | /***********************************************************************//** | 32 | /***********************************************************************//** |
| 33 | * @class GMatrixBase | 33 | * @class GMatrixBase |
| 34 | * | 34 | * |
| 35 | - * @brief Abstract matrix base class interface defintion | 35 | + * @brief Abstract matrix base class interface definition |
| 36 | ***************************************************************************/ | 36 | ***************************************************************************/ |
| 37 | class GMatrixBase : public GBase { | 37 | class GMatrixBase : public GBase { |
| 38 | public: | 38 | public: |
pyext/GOptimizerLM.i
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | /***********************************************************************//** | 33 | /***********************************************************************//** |
| 34 | * @class GOptimizerLM | 34 | * @class GOptimizerLM |
| 35 | * | 35 | * |
| 36 | - * @brief GOptimizerLM class SWIG interface defintion. | 36 | + * @brief GOptimizerLM class SWIG interface definition. |
| 37 | ***************************************************************************/ | 37 | ***************************************************************************/ |
| 38 | class GOptimizerLM : public GOptimizer { | 38 | class GOptimizerLM : public GOptimizer { |
| 39 | public: | 39 | public: |
pyext/GSkyPixel.i
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | /***********************************************************************//** | 33 | /***********************************************************************//** |
| 34 | * @class GSkyPixel | 34 | * @class GSkyPixel |
| 35 | * | 35 | * |
| 36 | - * @brief GSkyPixel class interface defintion | 36 | + * @brief GSkyPixel class interface definition |
| 37 | ***************************************************************************/ | 37 | ***************************************************************************/ |
| 38 | class GSkyPixel : public GBase { | 38 | class GSkyPixel : public GBase { |
| 39 | 39 |
pyext/GSkymap.i
| @@ -103,7 +103,7 @@ static int skymap_tuple(PyObject *input, int *ptr) { | @@ -103,7 +103,7 @@ static int skymap_tuple(PyObject *input, int *ptr) { | ||
| 103 | /***********************************************************************//** | 103 | /***********************************************************************//** |
| 104 | * @class GSkymap | 104 | * @class GSkymap |
| 105 | * | 105 | * |
| 106 | - * @brief GSkymap class interface defintion | 106 | + * @brief GSkymap class interface definition |
| 107 | ***************************************************************************/ | 107 | ***************************************************************************/ |
| 108 | class GSkymap : public GBase { | 108 | class GSkymap : public GBase { |
| 109 | 109 |
pyext/GTestCase.i
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | /***********************************************************************//** | 32 | /***********************************************************************//** |
| 33 | * @class GTestCase | 33 | * @class GTestCase |
| 34 | * | 34 | * |
| 35 | - * @brief Test case Python interface defintion | 35 | + * @brief Test case Python interface definition |
| 36 | ***************************************************************************/ | 36 | ***************************************************************************/ |
| 37 | class GTestCase : public GBase { | 37 | class GTestCase : public GBase { |
| 38 | public: | 38 | public: |
pyext/GTestSuite.i
| @@ -142,7 +142,7 @@ public: | @@ -142,7 +142,7 @@ public: | ||
| 142 | /***********************************************************************//** | 142 | /***********************************************************************//** |
| 143 | * @class GTestSuite | 143 | * @class GTestSuite |
| 144 | * | 144 | * |
| 145 | - * @brief Abstract test suite Python interface defintion | 145 | + * @brief Abstract test suite Python interface definition |
| 146 | ***************************************************************************/ | 146 | ***************************************************************************/ |
| 147 | class GTestSuite : public GBase { | 147 | class GTestSuite : public GBase { |
| 148 | public: | 148 | public: |
| @@ -222,7 +222,7 @@ public: | @@ -222,7 +222,7 @@ public: | ||
| 222 | /***********************************************************************//** | 222 | /***********************************************************************//** |
| 223 | * @class GTestSuite | 223 | * @class GTestSuite |
| 224 | * | 224 | * |
| 225 | - * @brief Test suite Python interface defintion | 225 | + * @brief Test suite Python interface definition |
| 226 | ***************************************************************************/ | 226 | ***************************************************************************/ |
| 227 | class GPythonTestSuite : public GTestSuite { | 227 | class GPythonTestSuite : public GTestSuite { |
| 228 | public: | 228 | public: |
pyext/GTestSuites.i
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | ***************************************************************************/ | 20 | ***************************************************************************/ |
| 21 | /** | 21 | /** |
| 22 | * @file GTestSuites.i | 22 | * @file GTestSuites.i |
| 23 | - * @brief Test suite container class interface defintion | 23 | + * @brief Test suite container class interface definition |
| 24 | * @author Jean-Baptiste Cayrou | 24 | * @author Jean-Baptiste Cayrou |
| 25 | */ | 25 | */ |
| 26 | %{ | 26 | %{ |
src/app/GException_app.cpp
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | ***************************************************************************/ | 20 | ***************************************************************************/ |
| 21 | /** | 21 | /** |
| 22 | * @file GException_app.cpp | 22 | * @file GException_app.cpp |
| 23 | - * @brief Application exception handler interface definiton | 23 | + * @brief Application exception handler interface definition |
| 24 | * @author Juergen Knoedlseder | 24 | * @author Juergen Knoedlseder |
| 25 | */ | 25 | */ |
| 26 | 26 |
src/app/GPars.cpp
| @@ -1266,7 +1266,7 @@ void GPars::parse(void) | @@ -1266,7 +1266,7 @@ void GPars::parse(void) | ||
| 1266 | if (contains(fields[0])) { | 1266 | if (contains(fields[0])) { |
| 1267 | throw GException::par_file_syntax_error(G_PARSE, | 1267 | throw GException::par_file_syntax_error(G_PARSE, |
| 1268 | gammalib::strip_chars(line,"\n"), | 1268 | gammalib::strip_chars(line,"\n"), |
| 1269 | - "redefiniton of parameter name \""+fields[0]+"\""); | 1269 | + "redefinition of parameter name \""+fields[0]+"\""); |
| 1270 | } | 1270 | } |
| 1271 | 1271 | ||
| 1272 | // Add parameter | 1272 | // Add parameter |
src/linalg/GMatrix.cpp
| @@ -908,7 +908,7 @@ GMatrix GMatrix::abs(void) const | @@ -908,7 +908,7 @@ GMatrix GMatrix::abs(void) const | ||
| 908 | * | 908 | * |
| 909 | * Returns the fill of the matrix. The fill of a matrix is defined as the | 909 | * Returns the fill of the matrix. The fill of a matrix is defined as the |
| 910 | * number non-zero elements devided by the number of total elements. By | 910 | * number non-zero elements devided by the number of total elements. By |
| 911 | - * definiton, the fill is comprised in the interval [0,..,1]. | 911 | + * definition, the fill is comprised in the interval [0,..,1]. |
| 912 | * | 912 | * |
| 913 | * The fill of a matrix with zero elements will be set to 0. | 913 | * The fill of a matrix with zero elements will be set to 0. |
| 914 | ***************************************************************************/ | 914 | ***************************************************************************/ |
src/linalg/GMatrixSparse.cpp
| @@ -1511,7 +1511,7 @@ GMatrixSparse GMatrixSparse::abs(void) const | @@ -1511,7 +1511,7 @@ GMatrixSparse GMatrixSparse::abs(void) const | ||
| 1511 | * @brief Returns fill of matrix | 1511 | * @brief Returns fill of matrix |
| 1512 | * | 1512 | * |
| 1513 | * The fill of a matrix is defined as the number non-zero elements devided | 1513 | * The fill of a matrix is defined as the number non-zero elements devided |
| 1514 | - * by the number of total elements. By definiton, the fill is comprised | 1514 | + * by the number of total elements. By definition, the fill is comprised |
| 1515 | * in the interval [0,..,1]. The fill of an undefined matrix is defined to | 1515 | * in the interval [0,..,1]. The fill of an undefined matrix is defined to |
| 1516 | * be 0. | 1516 | * be 0. |
| 1517 | ***************************************************************************/ | 1517 | ***************************************************************************/ |
src/sky/GHealpix.cpp
| @@ -140,7 +140,7 @@ GHealpix::GHealpix(const GFitsHDU& hdu) : GSkyProjection() | @@ -140,7 +140,7 @@ GHealpix::GHealpix(const GFitsHDU& hdu) : GSkyProjection() | ||
| 140 | // Initialise class members | 140 | // Initialise class members |
| 141 | init_members(); | 141 | init_members(); |
| 142 | 142 | ||
| 143 | - // Read Healpix defintion from FITS table | 143 | + // Read Healpix definition from FITS table |
| 144 | read(hdu); | 144 | read(hdu); |
| 145 | 145 | ||
| 146 | // Return | 146 | // Return |
| @@ -251,7 +251,7 @@ GHealpix* GHealpix::clone(void) const | @@ -251,7 +251,7 @@ GHealpix* GHealpix::clone(void) const | ||
| 251 | 251 | ||
| 252 | 252 | ||
| 253 | /***********************************************************************//** | 253 | /***********************************************************************//** |
| 254 | - * @brief Read Healpix definiton from FITS header | 254 | + * @brief Read Healpix definition from FITS header |
| 255 | * | 255 | * |
| 256 | * @param[in] hdu FITS HDU. | 256 | * @param[in] hdu FITS HDU. |
| 257 | * | 257 | * |
| @@ -309,7 +309,7 @@ void GHealpix::read(const GFitsHDU& hdu) | @@ -309,7 +309,7 @@ void GHealpix::read(const GFitsHDU& hdu) | ||
| 309 | 309 | ||
| 310 | 310 | ||
| 311 | /***********************************************************************//** | 311 | /***********************************************************************//** |
| 312 | - * @brief Write Healpix definiton into FITS HDU | 312 | + * @brief Write Healpix definition into FITS HDU |
| 313 | * | 313 | * |
| 314 | * @param[in] hdu FITS HDU. | 314 | * @param[in] hdu FITS HDU. |
| 315 | * | 315 | * |
src/sky/GWcs.cpp
| @@ -207,7 +207,7 @@ GWcs& GWcs::operator=(const GWcs& wcs) | @@ -207,7 +207,7 @@ GWcs& GWcs::operator=(const GWcs& wcs) | ||
| 207 | ==========================================================================*/ | 207 | ==========================================================================*/ |
| 208 | 208 | ||
| 209 | /***********************************************************************//** | 209 | /***********************************************************************//** |
| 210 | - * @brief Read WCS definiton from FITS header. | 210 | + * @brief Read WCS definition from FITS header. |
| 211 | * | 211 | * |
| 212 | * @param[in] hdu FITS HDU. | 212 | * @param[in] hdu FITS HDU. |
| 213 | * | 213 | * |
| @@ -298,7 +298,7 @@ void GWcs::read(const GFitsHDU& hdu) | @@ -298,7 +298,7 @@ void GWcs::read(const GFitsHDU& hdu) | ||
| 298 | 298 | ||
| 299 | 299 | ||
| 300 | /***********************************************************************//** | 300 | /***********************************************************************//** |
| 301 | - * @brief Write WCS definiton into FITS HDU header | 301 | + * @brief Write WCS definition into FITS HDU header |
| 302 | * | 302 | * |
| 303 | * @param[in] hdu FITS HDU. | 303 | * @param[in] hdu FITS HDU. |
| 304 | * | 304 | * |
src/template/GClass.hpp
| @@ -35,7 +35,7 @@ | @@ -35,7 +35,7 @@ | ||
| 35 | /***********************************************************************//** | 35 | /***********************************************************************//** |
| 36 | * @class GClass | 36 | * @class GClass |
| 37 | * | 37 | * |
| 38 | - * @brief [brief descriptor] interface defintion | 38 | + * @brief [brief descriptor] interface definition |
| 39 | ***************************************************************************/ | 39 | ***************************************************************************/ |
| 40 | class GClass : public GBase { | 40 | class GClass : public GBase { |
| 41 | 41 |