Runs some statistics over a one-dimensional curve. More...
#include <mia/core/slopestatistics.hh>
Public Types | |
| enum | EEnergyCenterpos { ecp_none = 0, ecp_begin, ecp_center, ecp_end } |
Public Member Functions | |
| CSlopeStatistics (const std::vector< float > &series, int index) | |
| CSlopeStatistics (const CSlopeStatistics &other)=delete | |
| float | get_curve_length () const |
| float | get_energy () const |
| std::pair< size_t, float > | get_first_peak () const |
| std::pair< size_t, float > | get_gradient_peak (int start_movement) const |
| int | get_index () const |
| float | get_level_change (size_t center) const |
| const std::vector< float > & | get_level_coefficient_sums () const |
| const std::vector< EEnergyCenterpos > & | get_level_mean_energy_position () const |
| int | get_max_frequency_slot () const |
| float | get_maximum_gradient_from_zero () const |
| CSlopeStatistics::EEnergyCenterpos | get_mean_energy_position () const |
| float | get_mean_frequency () const |
| float | get_mean_frequency_level () const |
| std::pair< int, int > | get_peak_level_and_time_index () const |
| float | get_peak_wavelet_coefficient () const |
| std::pair< size_t, float > | get_perfusion_high_peak () const |
| float | get_positive_time_mean () const |
| float | get_range () const |
| std::pair< size_t, float > | get_second_peak () const |
| float | get_wavelet_energy () const |
| ~CSlopeStatistics () | |
Runs some statistics over a one-dimensional curve.
Evaluates some statistics about a one-dimensional mapping [0, 1,..., N-1] -> R. This is mostly used for myocardial perfusion analysis.
Definition at line 39 of file slopestatistics.hh.
Ths enumerate is used to identify the time position of the movement
| Enumerator | |
|---|---|
| ecp_none | no identifictaion |
| ecp_begin | movement only beginning of sequence |
| ecp_center | movement throuout the sequence or only in the middle |
| ecp_end | movement only end of sequence |
Definition at line 44 of file slopestatistics.hh.
| CSlopeStatistics::CSlopeStatistics | ( | const std::vector< float > & | series, |
| int | index | ||
| ) |
Initialize the statistice with the data of a curve
| series | |
| index | colum index of the series |
|
delete |
The copy constructor is not allowed
| CSlopeStatistics::~CSlopeStatistics | ( | ) |
| float CSlopeStatistics::get_curve_length | ( | ) | const |
| float CSlopeStatistics::get_energy | ( | ) | const |
| std::pair<size_t, float> CSlopeStatistics::get_first_peak | ( | ) | const |
| std::pair<size_t, float> CSlopeStatistics::get_gradient_peak | ( | int | start_movement | ) | const |
| start_movement | indicates the first index where a movement in the series starts. The part after this time point will be ignored in the gradinet evaluation |
| int CSlopeStatistics::get_index | ( | ) | const |
| float CSlopeStatistics::get_level_change | ( | size_t | center | ) | const |
Evaluate the change in mean from before the indicated center to the mean after the indicated center. The value at the specified center is ignored.
| center | balance point to evaluate change |
| const std::vector<float>& CSlopeStatistics::get_level_coefficient_sums | ( | ) | const |
| const std::vector<EEnergyCenterpos>& CSlopeStatistics::get_level_mean_energy_position | ( | ) | const |
| int CSlopeStatistics::get_max_frequency_slot | ( | ) | const |
| float CSlopeStatistics::get_maximum_gradient_from_zero | ( | ) | const |
| CSlopeStatistics::EEnergyCenterpos CSlopeStatistics::get_mean_energy_position | ( | ) | const |
| float CSlopeStatistics::get_mean_frequency | ( | ) | const |
| float CSlopeStatistics::get_mean_frequency_level | ( | ) | const |
| std::pair<int, int> CSlopeStatistics::get_peak_level_and_time_index | ( | ) | const |
| float CSlopeStatistics::get_peak_wavelet_coefficient | ( | ) | const |
| std::pair<size_t, float> CSlopeStatistics::get_perfusion_high_peak | ( | ) | const |
| float CSlopeStatistics::get_positive_time_mean | ( | ) | const |
| float CSlopeStatistics::get_range | ( | ) | const |
| std::pair<size_t, float> CSlopeStatistics::get_second_peak | ( | ) | const |
| float CSlopeStatistics::get_wavelet_energy | ( | ) | const |