|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Class to apply Richardson-Lucy deconvolution. More...
#include <RLDeconvolutor.h>
Public Member Functions | |
| RLDeconvolutor (const std::vector< float > &y, const std::vector< float > &kernel_, const float R2threshold_, const int max_iterations_) | |
| void | setR2threshold (float thr) |
| void | setMaxIterations (int max) |
| bool | runDeconvolution () |
| const std::vector< std::pair< size_t, float > > & | getSignalInfo () const |
| const std::vector< std::vector< float > > & | getSignalDeconvolution () const |
| const std::vector< std::vector< float > > & | getSignalDecomposition () const |
| std::vector< float > | getWfmApproximation () const |
| const std::vector< float > & | getR2 () const |
| RLDeconvolutor (const std::vector< float > &y, const std::vector< float > &kernel_, const float R2threshold_, const int max_iterations_) | |
| void | setR2threshold (float thr) |
| void | setMaxIterations (int max) |
| bool | runDeconvolution () |
| const std::vector< std::pair< size_t, float > > & | getSignalInfo () const |
| const std::vector< std::vector< float > > & | getSignalDeconvolution () const |
| const std::vector< std::vector< float > > & | getSignalDecomposition () const |
| std::vector< float > | getWfmApproximation () const |
| const std::vector< float > & | getR2 () const |
Private Member Functions | |
| std::vector< float > | convolution (const std::vector< float > &signal, const std::vector< float > &kern) const |
| std::vector< float > | constrainOperator (const std::vector< float > &data_array) |
| std::vector< float > | elementwiseMultiplication (const std::vector< float > &vec1, const std::vector< float > &vec2) const |
| std::vector< float > | elementwiseDivision (const std::vector< float > &vec1, const std::vector< float > &vec2) const |
| float | R2score (const std::vector< float > &true_values, const std::vector< float > &predicted_values) const |
| std::vector< size_t > | findMaximaIndices (const std::vector< float > &vec) const |
| std::vector< size_t > | findCamelPoints () const |
| std::vector< float > | getSubvector (const std::vector< float > &vec, size_t start, size_t end) const |
| void | extractSignalInfo () |
| std::vector< float > | convolution (const std::vector< float > &signal, const std::vector< float > &kern) const |
| std::vector< float > | constrainOperator (const std::vector< float > &data_array) |
| std::vector< float > | elementwiseMultiplication (const std::vector< float > &vec1, const std::vector< float > &vec2) const |
| std::vector< float > | elementwiseDivision (const std::vector< float > &vec1, const std::vector< float > &vec2) const |
| float | R2score (const std::vector< float > &true_values, const std::vector< float > &predicted_values) const |
| std::vector< size_t > | findMaximaIndices (const std::vector< float > &vec) const |
| std::vector< size_t > | findCamelPoints () const |
| std::vector< float > | getSubvector (const std::vector< float > &vec, size_t start, size_t end) const |
| void | extractSignalInfo () |
Private Attributes | |
| std::vector< float > | blurred_signal |
| std::vector< float > | deconvolved |
| std::vector< float > | kernel |
| std::vector< float > | reversed_kernel |
| std::vector< float > | R2 |
| float | R2threshold |
| int | max_iterations |
| bool | converged |
| std::vector< size_t > | camel_points |
| std::vector< std::pair< size_t, float > > | signal_info |
| std::vector< std::vector< float > > | signal_deconvolved |
| std::vector< std::vector< float > > | signal_decomposed |
Static Private Attributes | |
| static constexpr float | R2default = 2.0 |
Definition at line 19 of file RLDeconvolutor.h.
|
inline |
Definition at line 22 of file RLDeconvolutor.h.
References blurred_signal, converged, deconvolved, kernel, max_iterations, R2, R2threshold, reversed_kernel, and y.
|
inline |
Definition at line 22 of file RLDeconvolutor.h.
References blurred_signal, converged, deconvolved, kernel, max_iterations, R2, R2threshold, reversed_kernel, and y.
|
inlineprivate |
Definition at line 130 of file RLDeconvolutor.h.
References i.
Referenced by runDeconvolution().
|
inlineprivate |
Definition at line 130 of file RLDeconvolutor.h.
References i.
|
inlineprivate |
Definition at line 110 of file RLDeconvolutor.h.
Referenced by extractSignalInfo(), getWfmApproximation(), and runDeconvolution().
|
inlineprivate |
|
inlineprivate |
Definition at line 158 of file RLDeconvolutor.h.
References i.
Referenced by runDeconvolution().
|
inlineprivate |
Definition at line 158 of file RLDeconvolutor.h.
References i.
|
inlineprivate |
Definition at line 147 of file RLDeconvolutor.h.
References i.
Referenced by runDeconvolution().
|
inlineprivate |
Definition at line 147 of file RLDeconvolutor.h.
References i.
|
inlineprivate |
Definition at line 233 of file RLDeconvolutor.h.
References camel_points, convolution(), deconvolved, getSubvector(), i, kernel, signal_decomposed, signal_deconvolved, and signal_info.
Referenced by runDeconvolution().
|
inlineprivate |
Definition at line 233 of file RLDeconvolutor.h.
References camel_points, convolution(), deconvolved, getSubvector(), i, kernel, signal_decomposed, signal_deconvolved, and signal_info.
|
inlineprivate |
Definition at line 202 of file RLDeconvolutor.h.
References deconvolved, findMaximaIndices(), getSubvector(), and i.
Referenced by runDeconvolution().
|
inlineprivate |
Definition at line 202 of file RLDeconvolutor.h.
References deconvolved, findMaximaIndices(), getSubvector(), and i.
|
inlineprivate |
Definition at line 187 of file RLDeconvolutor.h.
References i.
Referenced by findCamelPoints().
|
inlineprivate |
Definition at line 187 of file RLDeconvolutor.h.
References i.
|
inline |
Definition at line 91 of file RLDeconvolutor.h.
References R2.
Referenced by BmnHodoRaw2Digit::FillEvent().
|
inline |
Definition at line 91 of file RLDeconvolutor.h.
References R2.
|
inline |
Definition at line 87 of file RLDeconvolutor.h.
References signal_decomposed.
Referenced by BmnHodoRaw2Digit::FillEvent().
|
inline |
Definition at line 87 of file RLDeconvolutor.h.
References signal_decomposed.
|
inline |
Definition at line 84 of file RLDeconvolutor.h.
References signal_deconvolved.
|
inline |
Definition at line 84 of file RLDeconvolutor.h.
References signal_deconvolved.
|
inline |
Definition at line 81 of file RLDeconvolutor.h.
References signal_info.
Referenced by BmnHodoRaw2Digit::FillEvent().
|
inline |
Definition at line 81 of file RLDeconvolutor.h.
References signal_info.
|
inlineprivate |
Definition at line 228 of file RLDeconvolutor.h.
Referenced by extractSignalInfo(), and findCamelPoints().
|
inlineprivate |
Definition at line 228 of file RLDeconvolutor.h.
|
inline |
Definition at line 89 of file RLDeconvolutor.h.
References convolution(), deconvolved, and kernel.
|
inline |
Definition at line 89 of file RLDeconvolutor.h.
References convolution(), deconvolved, and kernel.
|
inlineprivate |
Definition at line 169 of file RLDeconvolutor.h.
Referenced by runDeconvolution().
|
inlineprivate |
Definition at line 169 of file RLDeconvolutor.h.
|
inline |
Definition at line 41 of file RLDeconvolutor.h.
References blurred_signal, camel_points, constrainOperator(), converged, convolution(), deconvolved, elementwiseDivision(), elementwiseMultiplication(), extractSignalInfo(), findCamelPoints(), kernel, max_iterations, R2, R2default, R2score(), R2threshold, and reversed_kernel.
Referenced by BmnHodoRaw2Digit::FillEvent().
|
inline |
Definition at line 41 of file RLDeconvolutor.h.
References blurred_signal, camel_points, constrainOperator(), converged, convolution(), deconvolved, elementwiseDivision(), elementwiseMultiplication(), extractSignalInfo(), findCamelPoints(), kernel, max_iterations, R2, R2default, R2score(), R2threshold, and reversed_kernel.
|
inline |
Definition at line 39 of file RLDeconvolutor.h.
References max(), and max_iterations.
|
inline |
Definition at line 39 of file RLDeconvolutor.h.
References max(), and max_iterations.
|
inline |
Definition at line 38 of file RLDeconvolutor.h.
References R2threshold, and thr.
|
inline |
Definition at line 38 of file RLDeconvolutor.h.
References R2threshold, and thr.
|
private |
Definition at line 94 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), and runDeconvolution().
|
private |
Definition at line 105 of file RLDeconvolutor.h.
Referenced by extractSignalInfo(), and runDeconvolution().
|
private |
Definition at line 103 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), and runDeconvolution().
|
private |
Definition at line 96 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), extractSignalInfo(), findCamelPoints(), getWfmApproximation(), and runDeconvolution().
|
private |
Definition at line 97 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), extractSignalInfo(), getWfmApproximation(), and runDeconvolution().
|
private |
Definition at line 102 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), runDeconvolution(), and setMaxIterations().
|
private |
Definition at line 99 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), getR2(), and runDeconvolution().
|
inlinestaticconstexprprivate |
Definition at line 101 of file RLDeconvolutor.h.
Referenced by R2score(), and runDeconvolution().
|
private |
Definition at line 100 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), runDeconvolution(), and setR2threshold().
|
private |
Definition at line 98 of file RLDeconvolutor.h.
Referenced by RLDeconvolutor(), and runDeconvolution().
|
private |
Definition at line 108 of file RLDeconvolutor.h.
Referenced by extractSignalInfo(), and getSignalDecomposition().
|
private |
Definition at line 107 of file RLDeconvolutor.h.
Referenced by extractSignalInfo(), and getSignalDeconvolution().
|
private |
Definition at line 106 of file RLDeconvolutor.h.
Referenced by extractSignalInfo(), and getSignalInfo().