Image Subsampling
[Xshooter Utility Recipes]

Functions

int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
static int xsh_util_ima_subsample_create (cpl_plugin *plugin)
 Setup the recipe options.
static int xsh_util_ima_subsample_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
static int xsh_util_ima_subsample_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
static int xsh_util_ima_subsample (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 104 of file xsh_util_ima_subsample.c.

References xsh_get_license(), xsh_util_ima_subsample_create(), xsh_util_ima_subsample_description, xsh_util_ima_subsample_description_short, xsh_util_ima_subsample_destroy(), xsh_util_ima_subsample_exec(), XSH_UTL_IMA_SUBSAMPLE_RECIPE_AUTHOR, XSH_UTL_IMA_SUBSAMPLE_RECIPE_CONTACT, and XSH_UTL_IMA_SUBSAMPLE_RECIPE_ID.

static int xsh_util_ima_subsample ( 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 242 of file xsh_util_ima_subsample.c.

References binx, biny, check, m, nx, ny, xsh_free_image(), xsh_free_propertylist(), xsh_get_basename(), xsh_msg, XSH_OVSCX, XSH_OVSCY, xsh_pfits_get_binx(), xsh_pfits_get_ovscx(), xsh_pfits_get_ovscy(), xsh_pfits_get_prscx(), xsh_pfits_get_prscy(), XSH_PRSCX, XSH_PRSCY, XSH_WIN_BINX, and XSH_WIN_BINY.

Referenced by xsh_util_ima_subsample_exec().

static int xsh_util_ima_subsample_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 138 of file xsh_util_ima_subsample.c.

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

Referenced by cpl_plugin_get_info().

static int xsh_util_ima_subsample_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 220 of file xsh_util_ima_subsample.c.

Referenced by cpl_plugin_get_info().

static int xsh_util_ima_subsample_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 189 of file xsh_util_ima_subsample.c.

References xsh_util_ima_subsample().

Referenced by cpl_plugin_get_info().


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