#include <tests.h>
#include <xsh_data_pre.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_data_instrument.h>
#include <xsh_data_the_map.h>
#include <xsh_data_localization.h>
#include <xsh_data_spectralformat.h>
#include <xsh_data_spectrum.h>
#include <xsh_utils_table.h>
#include <xsh_drl.h>
#include <xsh_pfits.h>
#include <xsh_badpixelmap.h>
#include <cpl.h>
#include <math.h>
#include <getopt.h>
Go to the source code of this file.
Defines | |
#define | MODULE_ID "XSH_BUILD_CUBE" |
Enumerations | |
enum | { SLITBIN_OPT, CENTER_IFU_OPT, DEBUG_OPT, HELP_OPT } |
Functions | |
static void | Help (void) |
static void | HandleOptions (int argc, char **argv, double *slit_bin, int *ifu_center) |
static void | create_gaussian_profile (int nslit, double slitmin, double slitcen, double slit_bin, double height, double sigma, double offset, const char *filename, cpl_vector **x_vect, cpl_vector **y_vect) |
int | main (int argc, char **argv) |
Unit test of xsh_build_cube. | |
Variables | |
static struct option | long_options [] |