/home/amodigli/releases/xsh/2.1.1/xsh.30433/xshp/xsh/xsh_data_the_map.h File Reference

#include <cpl.h>

Go to the source code of this file.

Data Structures

struct  xsh_the_arcline
struct  xsh_the_map

Defines

#define XSH_THE_MAP_TABLE_NB_COL   6
#define XSH_THE_MAP_TABLE_COLNAME_WAVELENGTH   "Wavelength"
#define XSH_THE_MAP_TABLE_UNIT_WAVELENGTH   "nm"
#define XSH_THE_MAP_TABLE_COLNAME_ORDER   "Order"
#define XSH_THE_MAP_TABLE_UNIT_ORDER   "none"
#define XSH_THE_MAP_TABLE_COLNAME_SLITPOSITION   "slit_position"
#define XSH_THE_MAP_TABLE_UNIT_SLITPOSITION   "arcsec"
#define XSH_THE_MAP_TABLE_COLNAME_SLITINDEX   "slit_index"
#define XSH_THE_MAP_TABLE_UNIT_SLITINDEX   "none"
#define XSH_THE_MAP_TABLE_COLNAME_DETECTORX   "detector_x"
#define XSH_THE_MAP_TABLE_UNIT_DETECTORX   "pixel"
#define XSH_THE_MAP_TABLE_COLNAME_DETECTORY   "detector_y"
#define XSH_THE_MAP_TABLE_UNIT_DETECTORY   "pixel"

Functions

xsh_the_mapxsh_the_map_create (int size)
 Create an empty theoretical map.
xsh_the_mapxsh_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
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)
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
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_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
float xsh_the_map_get_slit_position (xsh_the_map *list, int idx)
 get slit position of the map list
cpl_frame * xsh_the_map_save (xsh_the_map *list, const char *filename)
 save a the_map to a frame
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)
void xsh_dump_the_map (xsh_the_map *list)
 Dump main info about the_map.

Define Documentation

#define XSH_THE_MAP_TABLE_COLNAME_DETECTORX   "detector_x"

Definition at line 40 of file xsh_data_the_map.h.

Referenced by xsh_model_THE_create(), xsh_the_map_load(), and xsh_the_map_save().

#define XSH_THE_MAP_TABLE_COLNAME_DETECTORY   "detector_y"

Definition at line 42 of file xsh_data_the_map.h.

Referenced by xsh_model_THE_create(), xsh_the_map_load(), and xsh_the_map_save().

#define XSH_THE_MAP_TABLE_COLNAME_ORDER   "Order"

Definition at line 34 of file xsh_data_the_map.h.

Referenced by main(), xsh_model_THE_create(), xsh_the_map_load(), and xsh_the_map_save().

#define XSH_THE_MAP_TABLE_COLNAME_SLITINDEX   "slit_index"

Definition at line 38 of file xsh_data_the_map.h.

Referenced by main(), xsh_model_THE_create(), xsh_the_map_load(), and xsh_the_map_save().

#define XSH_THE_MAP_TABLE_COLNAME_SLITPOSITION   "slit_position"

Definition at line 36 of file xsh_data_the_map.h.

Referenced by xsh_model_THE_create(), xsh_the_map_load(), and xsh_the_map_save().

#define XSH_THE_MAP_TABLE_COLNAME_WAVELENGTH   "Wavelength"

Definition at line 32 of file xsh_data_the_map.h.

Referenced by main(), xsh_model_THE_create(), xsh_the_map_load(), and xsh_the_map_save().

#define XSH_THE_MAP_TABLE_NB_COL   6

Definition at line 31 of file xsh_data_the_map.h.

Referenced by xsh_the_map_save().

#define XSH_THE_MAP_TABLE_UNIT_DETECTORX   "pixel"

Definition at line 41 of file xsh_data_the_map.h.

Referenced by xsh_the_map_save().

#define XSH_THE_MAP_TABLE_UNIT_DETECTORY   "pixel"

Definition at line 43 of file xsh_data_the_map.h.

Referenced by xsh_the_map_save().

#define XSH_THE_MAP_TABLE_UNIT_ORDER   "none"

Definition at line 35 of file xsh_data_the_map.h.

Referenced by xsh_the_map_save().

#define XSH_THE_MAP_TABLE_UNIT_SLITINDEX   "none"

Definition at line 39 of file xsh_data_the_map.h.

#define XSH_THE_MAP_TABLE_UNIT_SLITPOSITION   "arcsec"

Definition at line 37 of file xsh_data_the_map.h.

Referenced by xsh_the_map_save().

#define XSH_THE_MAP_TABLE_UNIT_WAVELENGTH   "nm"

Definition at line 33 of file xsh_data_the_map.h.

Referenced by xsh_the_map_save().


Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1