/home/amodigli/releases/xsh/1.2.10/pso/xsh.26608/xshp/recipes/xsh_util_efficiency2d.c File Reference

#include <string.h>
#include <math.h>
#include <cpl.h>
#include <xsh_dfs.h>
#include <xsh_data_pre.h>
#include <xsh_parameters.h>
#include <xsh_drl.h>
#include <xsh_msg.h>
#include <xsh_pfits.h>
#include <xsh_pfits_qc.h>
#include <xsh_error.h>
#include <xsh_utils_image.h>

Go to the source code of this file.

Defines

#define RECIPE_ID   "xsh_util_efficiency2d"
#define RECIPE_AUTHOR   "A.Modigliani"
#define RECIPE_CONTACT   "Andrea.Modigliani@eso.org"
#define PRO_IMA   "PRO_IMA_UVB"
#define KEY_VALUE_HPRO_DID   "PRO-1.15"
#define SPEED_LIGHT   2.99792458*1.E8
#define TEL_AREA   51.2e4

Functions

static int xsh_util_efficiency2d_create (cpl_plugin *plugin)
 Setup the recipe options.
static int xsh_util_efficiency2d_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
static int xsh_util_efficiency2d_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
static int xsh_util_efficiency2d (cpl_parameterlist *parlist, cpl_frameset *frames)
 Get the command line options and execute the data reduction.
int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
static double xsh_table_get_interpolated (cpl_table *tbl, double wav, const char *colx, const char *coly)

Variables

static char xsh_util_efficiency2d_description_short [] = "Compute efficiency"
static char xsh_util_efficiency2d_description []

Define Documentation

#define KEY_VALUE_HPRO_DID   "PRO-1.15"

Definition at line 60 of file xsh_util_efficiency2d.c.

#define PRO_IMA   "PRO_IMA_UVB"

Definition at line 59 of file xsh_util_efficiency2d.c.

#define RECIPE_AUTHOR   "A.Modigliani"

Definition at line 57 of file xsh_util_efficiency2d.c.

#define RECIPE_CONTACT   "Andrea.Modigliani@eso.org"

Definition at line 58 of file xsh_util_efficiency2d.c.

#define RECIPE_ID   "xsh_util_efficiency2d"

Definition at line 56 of file xsh_util_efficiency2d.c.

#define SPEED_LIGHT   2.99792458*1.E8

Definition at line 62 of file xsh_util_efficiency2d.c.

#define TEL_AREA   51.2e4

Definition at line 63 of file xsh_util_efficiency2d.c.


Variable Documentation

Initial value:
"This recipe compute efficiency.\n"
"The input files should be tagged as: \n"
"input observed spectrum: RAW_IMA_SLIT_arm,\n"
"input reference spectrum: FLUX_STD_TABLE_arm,\n"
"input atmospheric  extintion table: EXTCOEFF_TABLE_arm)\n"
"The output is a table with efficiency as function of wavelength\n"
"Information on relevant parameters can be found with\n"
"esorex --params xsh_util_efficiency2d\n"
"esorex --help xsh_util_efficiency2d\n"
"\n"

Definition at line 79 of file xsh_util_efficiency2d.c.

Referenced by cpl_plugin_get_info().

char xsh_util_efficiency2d_description_short[] = "Compute efficiency" [static]

Definition at line 78 of file xsh_util_efficiency2d.c.

Referenced by cpl_plugin_get_info(), and xsh_util_efficiency2d().


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