#include <xsh_data_the_map.h>
#include <xsh_utils.h>
#include <xsh_utils_table.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_pfits.h>
#include <cpl.h>
#include <xsh_drl.h>
#include <math.h>
Go to the source code of this file.
Functions | |
static int | xsh_the_map_lambda_compare (const void *one, const void *two) |
static int | xsh_the_map_lambda_order_slit_compare (const void *one, const void *two) |
void | xsh_the_map_lambda_sort (xsh_the_map *list) |
sort the_map arcline list by increasing lambda | |
void | xsh_the_map_lambda_order_slit_sort (xsh_the_map *list) |
int | xsh_the_map_get_size (xsh_the_map *list) |
get size of the map list | |
double | xsh_the_map_get_detx (xsh_the_map *list, int idx) |
get detx of the map list | |
double | xsh_the_map_get_dety (xsh_the_map *list, int idx) |
get dety of the map list | |
float | xsh_the_map_get_wavelength (xsh_the_map *list, int idx) |
get wavelength of the map list | |
int | xsh_the_map_get_order (xsh_the_map *list, int idx) |
get order of the map list | |
int | xsh_the_map_get_slit_index (xsh_the_map *list, int idx) |
get slit position of the map list | |
float | xsh_the_map_get_slit_position (xsh_the_map *list, int idx) |
get slit position of the map list | |
void | xsh_dump_the_map (xsh_the_map *the) |
Dump main info about the_map. | |
void | xsh_the_map_set_arcline (xsh_the_map *list, int idx, float wavelength, int order, int slit_index, float slit_position, double detx, double dety) |
xsh_the_map * | xsh_the_map_create (int size) |
Create an empty theoretical map. | |
xsh_the_map * | xsh_the_map_load (cpl_frame *frame) |
load a theoretical map frame in the_map structure. Suppress spurious entries in the THE MAP (marked with wavelength = 0). | |
void | xsh_the_arcline_free (xsh_the_arcline **arc) |
free memory associated to a the_arcline | |
void | xsh_the_map_free (xsh_the_map **list) |
free memory associated to a the_map | |
cpl_frame * | xsh_the_map_save (xsh_the_map *list, const char *filename) |
save a the_map to a frame |