/home/amodigli/releases/xsh/2.1.1/xsh.30433/xshp/xsh/xsh_data_spectrum1D.c File Reference

#include <math.h>
#include <xsh_data_spectrum1D.h>
#include <xsh_data_spectrum.h>
#include <xsh_utils.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <xsh_pfits.h>
#include <xsh_dfs.h>
#include <cpl.h>

Go to the source code of this file.

Functions

xsh_spectrum1Dxsh_spectrum1D_create (double lambda_min, double lambda_max, double lambda_step)
 Create a 1D spectrum structure.
xsh_spectrum1Dxsh_spectrum1D_load (cpl_frame *s1d_frame, xsh_instrument *instr)
 Load a 1D spectrum structure.
int xsh_spectrum1D_get_size (xsh_spectrum1D *s)
 Get size of spectrum.
double xsh_spectrum1D_get_lambda_min (xsh_spectrum1D *s)
 Get minimum lambda of spectrum.
double xsh_spectrum1D_get_lambda_max (xsh_spectrum1D *s)
 Get maximum lambda of spectrum.
double xsh_spectrum1D_get_lambda_step (xsh_spectrum1D *s)
 Get bin in lambda of spectrum.
double * xsh_spectrum1D_get_flux (xsh_spectrum1D *s)
 Get flux of spectrum.
double * xsh_spectrum1D_get_errs (xsh_spectrum1D *s)
 Get errs of spectrum.
int * xsh_spectrum1D_get_qual (xsh_spectrum1D *s)
 Get qual of spectrum.
void xsh_spectrum1D_free (xsh_spectrum1D **s)
 free memory associated to an 1D spectrum
cpl_frame * xsh_spectrum1D_save (xsh_spectrum1D *s, const char *filename)
 save a 1D spectrum
static cpl_error_code xsh_monitor_spectrum1D_flux_qc (xsh_spectrum *s, const double ws, const double we, const int index)
cpl_error_code xsh_monitor_spectrum1D_flux (cpl_frame *in_frm, xsh_instrument *instrument)

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