X-shooter Pipeline Reference Manual 3.8.15
Typedefs | Functions
xsh_hist.h File Reference
#include <cpl.h>

Go to the source code of this file.

Typedefs

typedef struct _xsh_hist_ xsh_hist
 

Functions

xsh_histxsh_hist_new (void)
 
void xsh_hist_delete (xsh_hist *)
 
cpl_error_code xsh_hist_init (xsh_hist *, unsigned long, double, double)
 
unsigned long xsh_hist_get_value (const xsh_hist *, const unsigned long)
 
unsigned long xsh_hist_get_nbins (const xsh_hist *)
 
double xsh_hist_get_bin_size (const xsh_hist *)
 
double xsh_hist_get_range (const xsh_hist *)
 
double xsh_hist_get_start (const xsh_hist *)
 
cpl_error_code xsh_hist_fill (xsh_hist *, const cpl_image *)
 
unsigned long xsh_hist_get_max (const xsh_hist *, unsigned long *)
 
cpl_table * xsh_hist_cast_table (const xsh_hist *)
 
cpl_error_code xsh_hist_collapse (xsh_hist *, unsigned long)
 

Typedef Documentation

◆ xsh_hist

typedef struct _xsh_hist_ xsh_hist

Definition at line 33 of file xsh_hist.h.

Function Documentation

◆ xsh_hist_cast_table()

cpl_table * xsh_hist_cast_table ( const xsh_hist hist)

Definition at line 275 of file xsh_hist.c.

◆ xsh_hist_collapse()

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().

◆ xsh_hist_delete()

void xsh_hist_delete ( xsh_hist d)

Definition at line 64 of file xsh_hist.c.

◆ xsh_hist_fill()

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().

◆ xsh_hist_get_bin_size()

double xsh_hist_get_bin_size ( const xsh_hist hist)

Definition at line 133 of file xsh_hist.c.

◆ xsh_hist_get_max()

unsigned long xsh_hist_get_max ( const xsh_hist hist,
unsigned long *  maxpos 
)

Definition at line 249 of file xsh_hist.c.

References max, and xsh_hist_get_value().

◆ xsh_hist_get_nbins()

unsigned long xsh_hist_get_nbins ( const xsh_hist hist)

Definition at line 121 of file xsh_hist.c.

◆ xsh_hist_get_range()

double xsh_hist_get_range ( const xsh_hist hist)

Definition at line 146 of file xsh_hist.c.

◆ xsh_hist_get_start()

double xsh_hist_get_start ( const xsh_hist hist)

Definition at line 159 of file xsh_hist.c.

◆ xsh_hist_get_value()

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 xsh_hist_get_max().

◆ xsh_hist_init()

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 xsh_hist_collapse(), and xsh_hist_fill().

◆ xsh_hist_new()

xsh_hist * xsh_hist_new ( void  )

Definition at line 54 of file xsh_hist.c.