mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-22 06:40:03 +02:00
docs
This commit is contained in:
parent
6cde968c60
commit
078e5d81ec
@ -149,6 +149,12 @@ template <typename T, typename CoordType = int16_t> class ClusterVector {
|
|||||||
return sums;
|
return sums;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Return the maximum sum of the 2x2 subclusters in each cluster
|
||||||
|
* @return std::vector<T> vector of sums for each cluster
|
||||||
|
* @throws std::runtime_error if the cluster size is not 3x3
|
||||||
|
* @warning Only 3x3 clusters are supported for the 2x2 sum.
|
||||||
|
*/
|
||||||
std::vector<T> sum_2x2() {
|
std::vector<T> sum_2x2() {
|
||||||
std::vector<T> sums(m_size);
|
std::vector<T> sums(m_size);
|
||||||
const size_t stride = item_size();
|
const size_t stride = item_size();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user