X-shooter Pipeline Reference Manual 3.8.15
Functions

Functions

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

 
static int xsh_util_ima_rebin_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
 
static int xsh_util_ima_rebin_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
 
static int xsh_util_ima_rebin (cpl_parameterlist *parlist, cpl_frameset *frames)
 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 106 of file xsh_util_ima_rebin.c.

References xsh_get_license(), xsh_util_ima_rebin_create(), xsh_util_ima_rebin_description, xsh_util_ima_rebin_description_short, xsh_util_ima_rebin_destroy(), xsh_util_ima_rebin_exec(), XSH_UTL_IMA_ARITH_RECIPE_AUTHOR, XSH_UTL_IMA_ARITH_RECIPE_CONTACT, and XSH_UTL_IMA_ARITH_RECIPE_ID.

◆ xsh_util_ima_rebin()

static int xsh_util_ima_rebin ( cpl_parameterlist *  parlist,
cpl_frameset *  frames 
)
static

Get the command line options and execute the data reduction.

Parameters
parlistthe parameters list
framesthe frames list
Returns
0 if everything is ok

Definition at line 246 of file xsh_util_ima_rebin.c.

References binx, biny, check, nx, ny, XSH_CDELT1, XSH_CDELT2, xsh_free_image(), xsh_free_propertylist(), xsh_get_basename(), xsh_msg, xsh_pfits_get_cdelt1(), xsh_pfits_get_cdelt2(), xsh_pfits_get_ovscx(), xsh_pfits_get_ovscy(), xsh_pfits_get_prscx(), xsh_pfits_get_prscy(), XSH_PRE_DATA_BPP, XSH_PRE_ERRS_BPP, XSH_PRE_QUAL_BPP, XSH_WIN_BINX, and XSH_WIN_BINY.

Referenced by xsh_util_ima_rebin_exec().

◆ xsh_util_ima_rebin_create()

static int xsh_util_ima_rebin_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 140 of file xsh_util_ima_rebin.c.

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

Referenced by cpl_plugin_get_info().

◆ xsh_util_ima_rebin_destroy()

static int xsh_util_ima_rebin_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 224 of file xsh_util_ima_rebin.c.

Referenced by cpl_plugin_get_info().

◆ xsh_util_ima_rebin_exec()

static int xsh_util_ima_rebin_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 193 of file xsh_util_ima_rebin.c.

References xsh_util_ima_rebin().

Referenced by cpl_plugin_get_info().