X-shooter Pipeline Reference Manual 3.8.15
Macros | Functions | Variables
xsh_util_ifu_build_cube

Macros

#define RECIPE_ID   "xsh_util_ifu_build_cube"
 
#define RECIPE_AUTHOR   "A. Modigliani"
 
#define RECIPE_CONTACT   "Andrea.Modigliani@eso.org"
 

Functions

static int xsh_util_ifu_build_cube_create (cpl_plugin *plugin)
 Setup the recipe options.
 
static int xsh_util_ifu_build_cube_exec (cpl_plugin *plugin)
 Interpret the command line options and execute the data processing.
 
static int xsh_util_ifu_build_cube_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
 
static void xsh_util_ifu_build_cube (cpl_parameterlist *parameters, cpl_frameset *frameset)
 Interpret the command line options and execute the data processing.
 
int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
 

Variables

static char xsh_util_ifu_build_cube_description_short []
 
static char xsh_util_ifu_build_cube_description []
 

Detailed Description

This recipe ... See man-page for details.

Macro Definition Documentation

◆ RECIPE_AUTHOR

#define RECIPE_AUTHOR   "A. Modigliani"

Definition at line 70 of file xsh_util_ifu_build_cube.c.

◆ RECIPE_CONTACT

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

Definition at line 71 of file xsh_util_ifu_build_cube.c.

◆ RECIPE_ID

#define RECIPE_ID   "xsh_util_ifu_build_cube"

Definition at line 69 of file xsh_util_ifu_build_cube.c.

Function Documentation

◆ cpl_plugin_get_info()

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, -1 otherwise

Create the recipe instance and make it available to the application using the interface. This function is exported.

Definition at line 124 of file xsh_util_ifu_build_cube.c.

References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_util_ifu_build_cube_create(), xsh_util_ifu_build_cube_description, xsh_util_ifu_build_cube_description_short, xsh_util_ifu_build_cube_destroy(), and xsh_util_ifu_build_cube_exec().

◆ xsh_util_ifu_build_cube()

static void xsh_util_ifu_build_cube ( cpl_parameterlist *  parameters,
cpl_frameset *  frameset 
)
static

◆ xsh_util_ifu_build_cube_create()

static int xsh_util_ifu_build_cube_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 166 of file xsh_util_ifu_build_cube.c.

References assure, check, RECIPE_ID, xsh_error_dump, xsh_init(), xsh_parameters_decode_bp(), and xsh_parameters_generic().

Referenced by cpl_plugin_get_info().

◆ xsh_util_ifu_build_cube_destroy()

static int xsh_util_ifu_build_cube_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 253 of file xsh_util_ifu_build_cube.c.

References assure, xsh_error_reset, and xsh_free_parameterlist().

Referenced by cpl_plugin_get_info().

◆ xsh_util_ifu_build_cube_exec()

static int xsh_util_ifu_build_cube_exec ( cpl_plugin *  plugin)
static

Interpret the command line options and execute the data processing.

Parameters
parametersthe parameters list
framesetthe frames list

In case of failure the cpl_error_code is set.

Execute the plugin instance given by the interface

Parameters
pluginthe plugin
Returns
0 if everything is ok

Definition at line 219 of file xsh_util_ifu_build_cube.c.

References assure, xsh_error_dump, xsh_error_reset, and xsh_util_ifu_build_cube().

Referenced by cpl_plugin_get_info().

Variable Documentation

◆ xsh_util_ifu_build_cube_description

char xsh_util_ifu_build_cube_description[]
static
Initial value:
=
"This recipe Produces the spatial geometry of the IFU pattern on the sky\n\
Input Frames : \n\
- A set of n Science frames ( n == 1 or >=3, \
Tag = OBJECT_IFU_STARE_UVB)\n\
- [UVB,VIS] A master bias frame (Tag = MASTER_BIAS_arm)\n\
- A master dark frame (Tag = MASTER_DARK_arm)\n\
- A master flat frame (Tag = MASTER_FLAT_IFU_arm)\n\
- An order table frame(Tag = ORDER_TABLE_arm)\n\
- 3 wave solution frames, one per slitlet(Tag = WAVE_SOLUTION_IFU_slitlet_arm)\n\
where 'slitlet' is DOWN, CEN or UP\n\
- [OPTIONAL] A badpixel map (Tag = BADPIXEL_MAP_arm)\n\
Products : \n\
- A Slice Offset Table (similar to a localization table)\n\
Tag = SLICE_OFFSET_TABLE_arm\n"

Definition at line 94 of file xsh_util_ifu_build_cube.c.

Referenced by cpl_plugin_get_info().

◆ xsh_util_ifu_build_cube_description_short

char xsh_util_ifu_build_cube_description_short[]
static
Initial value:
=
"Produces the spatial geometry of the IFU pattern on the sky"

Definition at line 91 of file xsh_util_ifu_build_cube.c.

Referenced by cpl_plugin_get_info(), and xsh_util_ifu_build_cube().