Compute Efficiency

Functions

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

Function Documentation

int cpl_plugin_get_info ( cpl_pluginlist *  list  ) 

Build the list of available plugins, for this module.

Parameters:
list the plugin list
Returns:
0 if everything is ok

This function is exported.

Definition at line 111 of file xsh_util_efficiency.c.

References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_util_efficiency_create(), xsh_util_efficiency_description, xsh_util_efficiency_description_short, xsh_util_efficiency_destroy(), and xsh_util_efficiency_exec().

static double xsh_table_get_interpolated ( cpl_table *  tbl,
double  wav,
const char *  colx,
const char *  coly 
) [static]

Definition at line 242 of file xsh_util_efficiency.c.

References y.

Referenced by xsh_util_efficiency().

static int xsh_util_efficiency ( cpl_parameterlist *  parlist,
cpl_frameset *  frames 
) [static]

Get the command line options and execute the data reduction.

Parameters:
parlist the parameters list
frames the frames list
Returns:
0 if everything is ok

Definition at line 296 of file xsh_util_efficiency.c.

References check, exptime, instrument, rec_profile, TEL_AREA, x, XSH_EFFICIENCY, xsh_free_image(), xsh_free_propertylist(), xsh_free_table(), xsh_free_vector(), xsh_msg, xsh_pfits_get_cdelt1(), xsh_pfits_get_crpix1(), xsh_pfits_get_crval1(), xsh_pfits_get_exptime(), xsh_pfits_get_naxis1(), and xsh_table_get_interpolated().

Referenced by xsh_util_efficiency_exec().

static int xsh_util_efficiency_create ( cpl_plugin *  plugin  )  [static]

Setup the recipe options.

Parameters:
plugin the plugin
Returns:
0 if everything is ok

Create the recipe instance and make it available to the application using the interface.

Definition at line 145 of file xsh_util_efficiency.c.

References check, RECIPE_ID, xsh_init(), and xsh_parameters_generic().

Referenced by cpl_plugin_get_info().

static int xsh_util_efficiency_destroy ( cpl_plugin *  plugin  )  [static]

Destroy what has been created by the 'create' function.

Parameters:
plugin the plugin
Returns:
0 if everything is ok

Definition at line 228 of file xsh_util_efficiency.c.

Referenced by cpl_plugin_get_info().

static int xsh_util_efficiency_exec ( cpl_plugin *  plugin  )  [static]

Execute the plugin instance given by the interface.

Parameters:
plugin the plugin
Returns:
0 if everything is ok

Definition at line 197 of file xsh_util_efficiency.c.

References xsh_util_efficiency().

Referenced by cpl_plugin_get_info().


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