#include <volume_io/internal_volume_io.h>
#include <bicpl/numerical.h>
#include <bicpl/data_structures.h>
Include dependency graph for statistics.c:
Go to the source code of this file.
Defines | |
#define | DEFAULT_N_MEDIAN_BOXES 100000 |
#define | MAX_SAMPLES_RECORDED 100000 |
Functions | |
public void | compute_statistics (int n, Real samples[], Real *min_value, Real *max_value, Real *mean_value, Real *std_dev, Real *median) |
public void | initialize_statistics (statistics_struct *stats, Real median_lower_bound, Real median_upper_bound) |
public void | add_sample_to_statistics (statistics_struct *stats, Real sample) |
private void | get_median (statistics_struct *stats, Real *min_range, Real *max_range) |
public void | restart_statistics_with_narrower_median_range (statistics_struct *stats) |
public void | get_statistics (statistics_struct *stats, int *n_samples, Real *mean, Real *median, Real *median_error, Real *min_value, Real *max_value, Real *std_deviation) |
public void | terminate_statistics (statistics_struct *stats) |
public void | compute_mean_and_variance (int n, Real samples[], Real *mean, Real *variance) |
public Real | compute_two_means_t_statistic (int n1, Real samples1[], int n2, Real samples2[]) |
|
Definition at line 23 of file statistics.c. Referenced by initialize_statistics(). |
|
Definition at line 25 of file statistics.c. Referenced by add_sample_to_statistics(), get_median(), and terminate_statistics(). |
|
|
Definition at line 364 of file statistics.c. Referenced by compute_two_means_t_statistic(). |
|
Definition at line 45 of file statistics.c. References add_sample_to_statistics(), FALSE, get_statistics(), initialize_statistics(), restart_statistics_with_narrower_median_range(), terminate_statistics(), and TRUE. |
|
Definition at line 390 of file statistics.c. References compute_mean_and_variance(). |
|
|
Definition at line 283 of file statistics.c. References get_median(), statistics_struct::max_value, statistics_struct::min_value, statistics_struct::n_samples, statistics_struct::sum_x, and statistics_struct::sum_xx. Referenced by compute_statistics(). |
|
|
Definition at line 264 of file statistics.c. References get_median(), initialize_statistics(), statistics_struct::max_median_range, statistics_struct::min_median_range, and terminate_statistics(). Referenced by compute_statistics(). |
|
Definition at line 351 of file statistics.c. References statistics_struct::max_median_range, MAX_SAMPLES_RECORDED, statistics_struct::median_box_counts, statistics_struct::median_box_values, statistics_struct::min_median_range, statistics_struct::n_samples, and statistics_struct::samples. Referenced by compute_statistics(), and restart_statistics_with_narrower_median_range(). |