#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "xsh_hist.h"
Go to the source code of this file.
Data Structures | |
struct | _xsh_hist_ |
Functions | |
xsh_hist * | xsh_hist_new (void) |
void | xsh_hist_delete (xsh_hist *d) |
cpl_error_code | xsh_hist_init (xsh_hist *hist, unsigned long nbins, double start, double range) |
unsigned long | xsh_hist_get_value (const xsh_hist *hist, const unsigned long binpos) |
unsigned long | xsh_hist_get_nbins (const xsh_hist *hist) |
double | xsh_hist_get_bin_size (const xsh_hist *hist) |
double | xsh_hist_get_range (const xsh_hist *hist) |
double | xsh_hist_get_start (const xsh_hist *hist) |
cpl_error_code | xsh_hist_fill (xsh_hist *hist, const cpl_image *image) |
unsigned long | xsh_hist_get_max (const xsh_hist *hist, unsigned long *maxpos) |
cpl_table * | xsh_hist_cast_table (const xsh_hist *hist) |
cpl_error_code | xsh_hist_collapse (xsh_hist *hist, unsigned long new_nbins) |
cpl_table* xsh_hist_cast_table | ( | const xsh_hist * | hist | ) |
Definition at line 275 of file xsh_hist.c.
cpl_error_code xsh_hist_collapse | ( | xsh_hist * | hist, | |
unsigned long | new_nbins | |||
) |
Definition at line 300 of file xsh_hist.c.
References xsh_hist_init().
void xsh_hist_delete | ( | xsh_hist * | d | ) |
Definition at line 64 of file xsh_hist.c.
Referenced by irplib_calculate_total_noise(), and xsh_detmon_ronbias_histo_reduce().
cpl_error_code xsh_hist_fill | ( | xsh_hist * | hist, | |
const cpl_image * | image | |||
) |
Definition at line 174 of file xsh_hist.c.
References xsh_hist_init().
Referenced by irplib_calculate_total_noise(), and xsh_detmon_ronbias_histo_reduce().
double xsh_hist_get_bin_size | ( | const xsh_hist * | hist | ) |
Definition at line 133 of file xsh_hist.c.
Referenced by irplib_calculate_total_noise(), and xsh_detmon_ronbias_histo_reduce().
unsigned long xsh_hist_get_max | ( | const xsh_hist * | hist, | |
unsigned long * | maxpos | |||
) |
Definition at line 249 of file xsh_hist.c.
References xsh_hist_get_value().
Referenced by xsh_detmon_ronbias_histo_reduce().
unsigned long xsh_hist_get_nbins | ( | const xsh_hist * | hist | ) |
Definition at line 121 of file xsh_hist.c.
Referenced by irplib_calculate_total_noise(), and xsh_detmon_ronbias_histo_reduce().
double xsh_hist_get_range | ( | const xsh_hist * | hist | ) |
Definition at line 146 of file xsh_hist.c.
double xsh_hist_get_start | ( | const xsh_hist * | hist | ) |
Definition at line 159 of file xsh_hist.c.
Referenced by irplib_calculate_total_noise(), and xsh_detmon_ronbias_histo_reduce().
unsigned long xsh_hist_get_value | ( | const xsh_hist * | hist, | |
const unsigned long | binpos | |||
) |
Definition at line 106 of file xsh_hist.c.
Referenced by irplib_calculate_total_noise(), xsh_detmon_ronbias_histo_reduce(), and xsh_hist_get_max().
cpl_error_code xsh_hist_init | ( | xsh_hist * | hist, | |
unsigned long | nbins, | |||
double | start, | |||
double | range | |||
) |
Definition at line 80 of file xsh_hist.c.
Referenced by irplib_calculate_total_noise(), xsh_hist_collapse(), and xsh_hist_fill().
xsh_hist* xsh_hist_new | ( | void | ) |
Definition at line 54 of file xsh_hist.c.
Referenced by irplib_calculate_total_noise(), and xsh_detmon_ronbias_histo_reduce().