X-shooter Pipeline Reference Manual 3.8.15
Functions
test-combine_flux_with_scaling.c File Reference
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <cpl.h>
#include <xsh_msg.h>
#include <xsh_dfs.h>
#include <xsh_utils.h>
#include <xsh_data_rec.h>
#include <xsh_pfits.h>
#include <xsh_parameters.h>

Go to the source code of this file.

Functions

static cpl_image * xsh_imagelist_collapse_create (cpl_imagelist *iml)
 
cpl_error_code test_mem (void)
 
static cpl_image * xsh_compute_scale (cpl_imagelist *iml_data, cpl_mask *bpm, const int mode, const int win_hsz)
 
static cpl_image * xsh_compute_scale_tab (cpl_imagelist *iml_data, cpl_mask *bpm, cpl_table *tab_bpm, const int mode, const int win_hsz)
 
static cpl_error_code xsh_compute_scale_tab2 (cpl_imagelist *iml_data, cpl_table *tab_bpm, cpl_imagelist *scale_frames, cpl_image **ima_corr)
 
cpl_error_code xsh_flag_bp_at_location (cpl_binary *pbpm, int pix, cpl_binary bp_code, const int mode, const int sx)
 
static cpl_image * xsh_define_gauss_profile (const int sx, const int sy, const double A, const double sigma, const double bkg, cpl_vector *trace, const int min, const int max, const int mode)
 
static cpl_error_code test_xsh_set_min_max (const int sx, const int sy, const int mode, int *min, int *max)
 
static cpl_vector * test_xsh_set_trace (const int sx, const int sy, const int mode)
 
static cpl_error_code test_xsh_fill_bpm (const int sx, const int sy, const int mode, const int i, cpl_image **ima, cpl_mask **bpm_tot)
 
static cpl_table * test_xsh_bpm2tab (const cpl_mask *bpm)
 
static cpl_imagelist * xsh_find_image_scale_factors (const cpl_imagelist *iml_in, cpl_image *ima_in)
 
static cpl_error_code test_combine_ima_gauss (const int mode, const int win_hsz)
 
static cpl_error_code test_combine_ima_gauss2 (const int mode)
 
static cpl_error_code test_combine_ima_gauss3 (const int mode)
 
static cpl_error_code test_combine_ima_uniform2 (const int mode)
 
static xsh_rec_listtest_xsh_create_list_from_image (const char *fname, const char *lname)
 
static cpl_error_code test_create_ima_uniform (const int sx, const int sy, const double bkg, const double RON, const double gain, const char *fname)
 
static cpl_error_code test_create_ima_gauss (const int sx, const int sy, const double bkg, const double RON, const double gain, const double A, const double sigma, const char *fname)
 
static cpl_error_code test_combine_lists (void)
 
static cpl_error_code test_combine_rec_list (const int mode, const int win_hsz)
 
int main (int argc, char **argv)
 Some test about performances.