UVES Pipeline Reference Manual  5.4.0
Functions
Recipe to unpack frames

Functions

int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
static int flames_utl_unpack_create (cpl_plugin *plugin)
 Setup the recipe options.
static int flames_utl_unpack_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
static int flames_utl_unpack_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
static int flames_utl_unpack (cpl_parameterlist *parlist, cpl_frameset *set)
 Get the command line options and execute the data reduction.
static cpl_error_code flames_unpack_image_from_cube (cpl_frame *frm, cpl_parameterlist *parameters, cpl_frameset *set)
static cpl_error_code flames_unpack_spectra_from_image (cpl_frame *frm, cpl_parameterlist *parameters, cpl_frameset *set)

Detailed Description


Function Documentation

int cpl_plugin_get_info ( cpl_pluginlist *  list)

Build the list of available plugins, for this module.

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

This function is exported.

Definition at line 110 of file flames_utl_unpack.c.

References flames_utl_unpack_create(), flames_utl_unpack_destroy(), flames_utl_unpack_exec(), and uves_get_license().

Referenced by main().

static int flames_utl_unpack_create ( cpl_plugin *  plugin)
static

Setup the recipe options.

Parameters:
pluginthe plugin
Returns:
0 if everything is ok

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

Definition at line 144 of file flames_utl_unpack.c.

References irplib_reset().

Referenced by cpl_plugin_get_info().

static int flames_utl_unpack_exec ( cpl_plugin *  plugin)
static

Execute the plugin instance given by the interface.

Parameters:
pluginthe plugin
Returns:
0 if everything is ok

Definition at line 172 of file flames_utl_unpack.c.

References flames_utl_unpack(), and irplib_reset().

Referenced by cpl_plugin_get_info().

static int flames_utl_unpack_destroy ( cpl_plugin *  plugin)
static

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

Parameters:
pluginthe plugin
Returns:
0 if everything is ok

Definition at line 203 of file flames_utl_unpack.c.

Referenced by cpl_plugin_get_info().

static int flames_utl_unpack ( cpl_parameterlist *  parlist,
cpl_frameset *  set 
)
static

Get the command line options and execute the data reduction.

Parameters:
parlistthe parameters list
framelistthe frames list
Returns:
0 if everything is ok

Definition at line 225 of file flames_utl_unpack.c.

References check_nomsg, uves_msg, uves_msg_error, uves_pfits_get_naxis(), and uves_propertylist_load().

Referenced by flames_utl_unpack_exec().