Commit 1c7cb6008bb09150e95cac19c5f8cb13792d07ee

Authored by Jürgen Knödlseder
1 parent 83a2a1d6

Fix some Doxygen issues

include/GResponseVectorCache.hpp
... ... @@ -115,11 +115,11 @@ bool GResponseVectorCache::is_empty(void) const
115 115  
116 116  
117 117 /***********************************************************************//**
118   - * @brief Remove cache for source
  118 + * @brief Returns size of vector chache
119 119 *
120   - * @param[in] name Source name.
  120 + * @return Size of vector cache.
121 121 *
122   - * Remove cache for source with @p name.
  122 + * Returns the number of vectors that are stored in the vector cache.
123 123 ***************************************************************************/
124 124 inline
125 125 int GResponseVectorCache::size(void) const
... ...
inst/com/include/GCOMEventBin.hpp
... ... @@ -135,7 +135,7 @@ const int& GCOMEventBin::index(void) const
135 135 /***********************************************************************//**
136 136 * @brief Set bin index
137 137 *
138   - * @return Bin index.
  138 + * @param[in] index Bin index.
139 139 *
140 140 * Set the index of the event bin if the bin is part of an event cube. If
141 141 * the event is not part of an event cube the index should be set to -1.
... ...
inst/com/src/GCOMResponse.cpp
... ... @@ -841,21 +841,19 @@ void GCOMResponse::free_members(void)
841 841  
842 842  
843 843 /***********************************************************************//**
844   - * @brief Return instrument response
  844 + * @brief Return instrument response vector
845 845 *
846   - * @param[in] event Event.
847   - * @param[in] source Source.
  846 + * @param[in] model Sky model.
848 847 * @param[in] obs Observation.
849   - * @return Instrument response.
  848 + * @return Instrument response vector.
850 849 *
851 850 * @exception GException::invalid_argument
852 851 * Invalid observation or event type specified.
853 852 * @exception GException::feature_not_implemented
854 853 * Computation for specified spatial model not implemented.
855 854 *
856   - * Returns the instrument response for a given event, source and observation.
857   - * If all spatial model parameters are fixed a DRM cube stored in the COMPTEL
858   - * observation is used. The computation of this cube is handled by the
  855 + * Returns the instrument response to a sky model for all events in a given
  856 + * observation. The computation of the response is handled by the
859 857 * GCOMObservation::drm() method that also will update the cube in case that
860 858 * any of the parameters changes.
861 859 ***************************************************************************/
... ...
inst/cta/src/cta_helpers_response_stacked_vector.cpp
... ... @@ -80,7 +80,14 @@ int cta_psf_radial_kerns_delta::size(void) const
80 80 /***********************************************************************//**
81 81 * @brief Kernel constructor for PSF integration of radial model
82 82 *
83   - * @param[in] delta PSF offset angle (radians).
  83 + * @param[in] rsp Pointer to CTA response cube.
  84 + * @param[in] model Pointer to radial spatial model.
  85 + * @param[in] obsDir Observed sky direction.
  86 + * @param[in] srcEngs True energies.
  87 + * @param[in] zeta Angular distance between event direction of model centre (radians).
  88 + * @param[in] theta_max Maximum model radius (radians).
  89 + * @param[in] iter Number of iterations for azimuth integration.
  90 + * @param[in] grad Compute parameter gradients?
84 91 ***************************************************************************/
85 92 cta_psf_radial_kerns_delta::cta_psf_radial_kerns_delta(const GCTAResponseCube* rsp,
86 93 const GModelSpatialRadial* model,
... ...
src/obs/GEnergies.cpp
... ... @@ -120,7 +120,7 @@ GEnergies::GEnergies(const GEbounds& ebounds)
120 120 /***********************************************************************//**
121 121 * @brief Copy constructor
122 122 *
123   - * @param energies[in] Energy container.
  123 + * @param[in] energies Energy container.
124 124 *
125 125 * Construct energy container by copying from another energy container.
126 126 ***************************************************************************/
... ...
src/obs/GResponse.cpp
... ... @@ -619,15 +619,15 @@ double GResponse::irf_spatial(const GEvent& event,
619 619  
620 620  
621 621 /***********************************************************************//**
622   - * @brief Return instrument response integrated over the spatial model
  622 + * @brief Return instrument response vector integrated over the spatial model
623 623 *
624   - * @param[in] source Source.
  624 + * @param[in] model Sky model.
625 625 * @param[in] obs Observation.
626 626 * @param[in] gradients Gradients matrix.
627   - * @return Instrument response to a spatial model.
  627 + * @return Instrument response vector to a spatial model.
628 628 *
629   - * Returns the instrument response for a given event, source and observation
630   - * integrated over the spatial model component. The method computes
  629 + * Returns the instrument response to a sky model integrated over the spatial
  630 + * model component for all events in a given observation. The method computes
631 631 *
632 632 * \f[
633 633 * {\tt irf}(p', E', t') = \int_p M_{\rm S}(p | E, t) \,
... ...
src/sky/GSkyDirs.cpp
... ... @@ -97,7 +97,7 @@ GSkyDirs::GSkyDirs(const GSkyDir& dir)
97 97 /***********************************************************************//**
98 98 * @brief Copy constructor
99 99 *
100   - * @param[in] dir Sky directions.
  100 + * @param[in] dirs Sky directions.
101 101 *
102 102 * Construct sky directions container by copying from another sky directions
103 103 * container.
... ...
src/sky/GSkyMap.cpp
... ... @@ -2169,8 +2169,6 @@ GSkyMap GSkyMap::extract(const GSkyRegions& inclusions) const
2169 2169 /***********************************************************************//**
2170 2170 * @brief Stack all maps into a single map
2171 2171 *
2172   - * @return Stacked map.
2173   - *
2174 2172 * The methods replaces the sky map by a version with only a single map
2175 2173 * by summing over the pixel values for all maps. If the sky map has no
2176 2174 * pixels or there is only a single map in the object, the method does
... ...