X-shooter Pipeline Reference Manual 3.8.15
Functions
Computations on images

Functions

int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
 
static int xsh_util_bpmap2rp_create (cpl_plugin *plugin)
 Setup the recipe options

 
static int xsh_util_bpmap2rp_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
 
static int xsh_util_bpmap2rp_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
 
static int xsh_util_bpmap2rp (cpl_parameterlist *parlist, cpl_frameset *framelist)
 Get the command line options and execute the data reduction.
 

Detailed Description

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

This function is exported.

Definition at line 110 of file xsh_util_bpmap2rp.c.

References xsh_get_license(), xsh_util_bpmap2rp_create(), xsh_util_bpmap2rp_description, xsh_util_bpmap2rp_description_short, xsh_util_bpmap2rp_destroy(), xsh_util_bpmap2rp_exec(), XSH_UTL_BPMAP2RP_RECIPE_AUTHOR, XSH_UTL_BPMAP2RP_RECIPE_CONTACT, and XSH_UTL_BPMAP2RP_RECIPE_ID.

◆ xsh_util_bpmap2rp()

static int xsh_util_bpmap2rp ( cpl_parameterlist *  parlist,
cpl_frameset *  framelist 
)
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 247 of file xsh_util_bpmap2rp.c.

References n, QFLAG_CALIB_FILE_DEFECT, xsh_bpmap_bitwise_to_flag(), xsh_free_image(), xsh_free_propertylist(), xsh_msg, and xsh_msg_error.

Referenced by xsh_util_bpmap2rp_exec().

◆ xsh_util_bpmap2rp_create()

static int xsh_util_bpmap2rp_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 xsh_util_bpmap2rp.c.

References check, xsh_init(), xsh_parameters_decode_bp(), xsh_parameters_generic(), and XSH_UTL_BPMAP2RP_RECIPE_ID.

Referenced by cpl_plugin_get_info().

◆ xsh_util_bpmap2rp_destroy()

static int xsh_util_bpmap2rp_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 225 of file xsh_util_bpmap2rp.c.

Referenced by cpl_plugin_get_info().

◆ xsh_util_bpmap2rp_exec()

static int xsh_util_bpmap2rp_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 194 of file xsh_util_bpmap2rp.c.

References xsh_util_bpmap2rp().

Referenced by cpl_plugin_get_info().