Defines | |
#define | MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
#define | MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
#define | MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
#define | MODULE_ID "XSH_CREATE_MAP" |
#define | MODULE_ID "XSH_GSL_CORRELATE_GAUSSIANS" |
#define | MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
Enumerations | |
enum | { DEBUG_OPT, HELP_OPT } |
enum | { DEBUG_OPT, HELP_OPT } |
enum | { DEBUG_OPT, HELP_OPT } |
enum | { DEBUG_OPT, HELP_OPT } |
enum | { DEBUG_OPT, HELP_OPT } |
enum | { DEBUG_OPT, HELP_OPT } |
Functions | |
static void | Help (void) |
static void | HandleOptions (int argc, char **argv) |
static double | xsh_correlate_profiles2 (const double *prof1, const double *prof2, double *correl, const int length, const int hsize) |
static double | xsh_correlate_profiles (const double *prof1, const double *prof2, double *correl, const int length, const int hsize) |
static double | xsh_function1d_xcorrelate2 (double *line_i, int width_i, double *line_t, int width_t, int half_search, double *delta) |
cpl_error_code | xsh_gauss_gen (double *data, const double center, const double sigma, const int size) |
int | main (int argc, char **argv) |
Create a SLITMAP and a WAVEMAP from Set Of Files (SOF). | |
cpl_vector * | xsh_vector_supersample (cpl_vector *v, const int factor) |
Variables | |
static struct option | LongOptions [] |
static struct option | LongOptions [] |
static struct option | LongOptions [] |
static struct option | LongOptions [] |
static struct option | LongOptions [] |
static struct option | LongOptions [] |
#define MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
Definition at line 57 of file test-xsh_xcorrel_gaussians.c.
#define MODULE_ID "XSH_GSL_CORRELATE_GAUSSIANS" |
Definition at line 56 of file test-xsh_gsl_correl_gaussians.c.
#define MODULE_ID "XSH_CREATE_MAP" |
Definition at line 60 of file test-xsh_create_map.c.
#define MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
Definition at line 55 of file test-xsh_cpl_vector_correl_hdelta.c.
#define MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
Definition at line 55 of file test-xsh_cpl_vector_correl_gaussians.c.
#define MODULE_ID "XSH_CORRELATE_GAUSSIANS" |
Definition at line 56 of file test-xsh_correl_gaussians.c.
anonymous enum |
Definition at line 58 of file test-xsh_correl_gaussians.c.
anonymous enum |
Definition at line 57 of file test-xsh_cpl_vector_correl_gaussians.c.
anonymous enum |
Definition at line 57 of file test-xsh_cpl_vector_correl_hdelta.c.
anonymous enum |
Definition at line 62 of file test-xsh_create_map.c.
anonymous enum |
Definition at line 58 of file test-xsh_gsl_correl_gaussians.c.
anonymous enum |
Definition at line 59 of file test-xsh_xcorrel_gaussians.c.
static void HandleOptions | ( | int | argc, | |
char ** | argv | |||
) | [static] |
Definition at line 87 of file test-xsh_xcorrel_gaussians.c.
References DEBUG_OPT, Help(), HELP_OPT, LongOptions, XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, and xsh_debug_level_set().
static void Help | ( | void | ) | [static] |
Definition at line 69 of file test-xsh_xcorrel_gaussians.c.
References TEST_END.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Create a SLITMAP and a WAVEMAP from Set Of Files (SOF).
Test the Data Reduction Library function XSH_CREATE_MAP
Definition at line 144 of file test-xsh_xcorrel_gaussians.c.
References check, HandleOptions(), Help(), MODULE_ID, size, TEST_END, TESTS_INIT, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_error_dump, xsh_free_vector(), xsh_function1d_xcorrelate(), and xsh_gauss_gen().
static double xsh_correlate_profiles | ( | const double * | prof1, | |
const double * | prof2, | |||
double * | correl, | |||
const int | length, | |||
const int | hsize | |||
) | [static] |
Definition at line 221 of file test-xsh_correl_gaussians.c.
References xsh_msg.
static double xsh_correlate_profiles2 | ( | const double * | prof1, | |
const double * | prof2, | |||
double * | correl, | |||
const int | length, | |||
const int | hsize | |||
) | [static] |
Definition at line 123 of file test-xsh_correl_gaussians.c.
References XSH_ASSURE_NOT_ILLEGAL_MSG, XSH_ASSURE_NOT_NULL_MSG, and xsh_msg.
static double xsh_function1d_xcorrelate2 | ( | double * | line_i, | |
int | width_i, | |||
double * | line_t, | |||
int | width_t, | |||
int | half_search, | |||
double * | delta | |||
) | [static] |
Definition at line 302 of file test-xsh_correl_gaussians.c.
cpl_error_code xsh_gauss_gen | ( | double * | data, | |
const double | center, | |||
const double | sigma, | |||
const int | size | |||
) |
cpl_vector* xsh_vector_supersample | ( | cpl_vector * | v, | |
const int | factor | |||
) |
Definition at line 111 of file test-xsh_cpl_vector_correl_hdelta.c.
struct option LongOptions[] [static] |
Definition at line 63 of file test-xsh_xcorrel_gaussians.c.
Referenced by HandleOptions().
struct option LongOptions[] [static] |
Definition at line 62 of file test-xsh_gsl_correl_gaussians.c.
struct option LongOptions[] [static] |
Definition at line 66 of file test-xsh_create_map.c.
struct option LongOptions[] [static] |
Definition at line 61 of file test-xsh_cpl_vector_correl_hdelta.c.
struct option LongOptions[] [static] |
Definition at line 61 of file test-xsh_cpl_vector_correl_gaussians.c.
struct option LongOptions[] [static] |
Definition at line 62 of file test-xsh_correl_gaussians.c.