/home/amodigli/releases/xsh/1.2.10/pso/xsh.26608/xshp/xsh/xsh_data_arclist.h File Reference

#include <cpl.h>

Go to the source code of this file.

Data Structures

struct  xsh_arcline
struct  xsh_arclist

Defines

#define XSH_ARCLIST_TABLE_NB_COL   4
#define XSH_ARCLIST_TABLE_COLNAME_WAVELENGTH   "WAVELENGTH"
#define XSH_ARCLIST_TABLE_UNIT_WAVELENGTH   "none"
#define XSH_ARCLIST_TABLE_COLNAME_NAME   "NAME"
#define XSH_ARCLIST_TABLE_UNIT_NAME   "none"
#define XSH_ARCLIST_TABLE_COLNAME_FLUX   "FLUX"
#define XSH_ARCLIST_TABLE_UNIT_FLUX   "none"
#define XSH_ARCLIST_TABLE_COLNAME_COMMENT   "COMMENT"
#define XSH_ARCLIST_TABLE_UNIT_COMMENT   "none"

Functions

xsh_arclistxsh_arclist_load (cpl_frame *frame)
 load an arcline list frame in arclist structure
void xsh_arcline_free (xsh_arcline **line)
 free memory associated to a arcline
void xsh_arclist_free (xsh_arclist **list)
 free memory associated to a arclist
void xsh_arclist_reject (xsh_arclist *l, int i)
 reject a line from the list
void xsh_arclist_restore (xsh_arclist *l, int i)
 restore a line from the list
int xsh_arclist_get_nbrejected (xsh_arclist *l)
 get nb lines rejected in arcline list
float xsh_arclist_get_wavelength (xsh_arclist *l, int i)
 get wavelength of a line in the arcline list
int xsh_arclist_get_size (xsh_arclist *list)
 get size of arcline list
int xsh_arclist_is_rejected (xsh_arclist *list, int idx)
 give if a line is rejected
void xsh_arclist_clean (xsh_arclist *list)
void xsh_arclist_clean_from_list (xsh_arclist *list, double *lambda, int size)
 Clean an arclist according to a list of valid lambda.
cpl_propertylist * xsh_arclist_get_header (xsh_arclist *list)
 get header of the table
void xsh_arclist_lambda_sort (xsh_arclist *list)
 sort arcline list by increasing lambda
cpl_frame * xsh_arclist_save (xsh_arclist *list, const char *filename, const char *tag)
 save a arclist to a frame
void xsh_dump_arclist (xsh_arclist *list)
 Dump main info about an arcline_list.

Define Documentation

#define XSH_ARCLIST_TABLE_COLNAME_COMMENT   "COMMENT"

Definition at line 39 of file xsh_data_arclist.h.

Referenced by xsh_arclist_load(), and xsh_arclist_save().

#define XSH_ARCLIST_TABLE_COLNAME_FLUX   "FLUX"
#define XSH_ARCLIST_TABLE_COLNAME_NAME   "NAME"

Definition at line 35 of file xsh_data_arclist.h.

Referenced by xsh_arclist_load(), and xsh_arclist_save().

#define XSH_ARCLIST_TABLE_COLNAME_WAVELENGTH   "WAVELENGTH"
#define XSH_ARCLIST_TABLE_NB_COL   4

Definition at line 32 of file xsh_data_arclist.h.

Referenced by xsh_arclist_save().

#define XSH_ARCLIST_TABLE_UNIT_COMMENT   "none"

Definition at line 40 of file xsh_data_arclist.h.

Referenced by xsh_arclist_save().

#define XSH_ARCLIST_TABLE_UNIT_FLUX   "none"

Definition at line 38 of file xsh_data_arclist.h.

Referenced by xsh_arclist_save().

#define XSH_ARCLIST_TABLE_UNIT_NAME   "none"

Definition at line 36 of file xsh_data_arclist.h.

Referenced by xsh_arclist_save().

#define XSH_ARCLIST_TABLE_UNIT_WAVELENGTH   "none"

Definition at line 34 of file xsh_data_arclist.h.

Referenced by xsh_arclist_save().


Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1