X-shooter Pipeline Reference Manual 3.8.15
Macros | Functions | Variables
xsh_util_ima_arith.c File Reference
#include <string.h>
#include <cpl.h>
#include <xsh_dfs.h>
#include <xsh_data_pre.h>
#include <xsh_parameters.h>
#include <xsh_drl.h>
#include <xsh_msg.h>
#include <xsh_pfits.h>
#include <xsh_error.h>

Go to the source code of this file.

Macros

#define XSH_UTL_IMA_ARITH_RECIPE_ID   "xsh_util_ima_arith"
 
#define XSH_UTL_IMA_ARITH_RECIPE_AUTHOR   "A.Modigliani"
 
#define XSH_UTL_IMA_ARITH_RECIPE_CONTACT   "Andrea.Modigliani@eso.org"
 
#define PRO_IMA   "PRO_IMA_UVB"
 
#define KEY_VALUE_HPRO_DID   "PRO-1.15"
 

Functions

static int xsh_util_ima_arith_create (cpl_plugin *plugin)
 Setup the recipe options

 
static int xsh_util_ima_arith_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
 
static int xsh_util_ima_arith_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
 
static int xsh_util_ima_arith (cpl_parameterlist *parlist, cpl_frameset *framelist)
 Get the command line options and execute the data reduction.
 
int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
 

Variables

static char xsh_util_ima_arith_description_short [] = "Computes result of ima1 op ima2"
 
static char xsh_util_ima_arith_description []
 

Macro Definition Documentation

◆ KEY_VALUE_HPRO_DID

#define KEY_VALUE_HPRO_DID   "PRO-1.15"

Definition at line 67 of file xsh_util_ima_arith.c.

◆ PRO_IMA

#define PRO_IMA   "PRO_IMA_UVB"

Definition at line 66 of file xsh_util_ima_arith.c.

◆ XSH_UTL_IMA_ARITH_RECIPE_AUTHOR

#define XSH_UTL_IMA_ARITH_RECIPE_AUTHOR   "A.Modigliani"

Definition at line 64 of file xsh_util_ima_arith.c.

◆ XSH_UTL_IMA_ARITH_RECIPE_CONTACT

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

Definition at line 65 of file xsh_util_ima_arith.c.

◆ XSH_UTL_IMA_ARITH_RECIPE_ID

#define XSH_UTL_IMA_ARITH_RECIPE_ID   "xsh_util_ima_arith"

Definition at line 63 of file xsh_util_ima_arith.c.

Variable Documentation

◆ xsh_util_ima_arith_description

char xsh_util_ima_arith_description[]
static
Initial value:
=
"This recipe performs image computation.\n"
"The input files are 2 images\n"
"their associated tags should be IMA.\n"
"The output is an image resulting from the IMA op IMA where op indicates\n"
"the operation to be performed specified by the parameter \n"
"xsh.xsh_util_ima_arith.op having alias 'op'\n"
"Information on relevant parameters can be found with\n"
"esorex --params xsh_util_ima_arith\n"
"esorex --help xsh_util_ima_arith\n"
"\n"

Definition at line 83 of file xsh_util_ima_arith.c.

Referenced by cpl_plugin_get_info().

◆ xsh_util_ima_arith_description_short

char xsh_util_ima_arith_description_short[] = "Computes result of ima1 op ima2"
static

Definition at line 82 of file xsh_util_ima_arith.c.

Referenced by cpl_plugin_get_info(), and xsh_util_ima_arith().