X-shooter Pipeline Reference Manual 3.8.15
Functions
It runs Molecfit on a generic input spectrum file to compute an atmospheric model.

Functions

int cpl_plugin_get_info (cpl_pluginlist *list)
 Build the list of available plugins, for this module.
 
int xsh_molecfit_correct_create (cpl_plugin *plugin)
 Setup the recipe options.
 
int xsh_molecfit_correct_exec (cpl_plugin *plugin)
 Execute the plugin instance given by the interface.
 
int xsh_molecfit_correct_destroy (cpl_plugin *plugin)
 Destroy what has been created by the 'create' function.
 
int xsh_molecfit_correct (cpl_frameset *frameset, const cpl_parameterlist *parlist)
 
cpl_error_code xsh_molecfit_correct_config (cpl_frameset *frameset, const cpl_parameterlist *parlist, cpl_parameterlist *ilist, cpl_parameterlist *iframelist)
 

Detailed Description

Macros Typedefs: Structured types Functions prototypes

Function Documentation

◆ cpl_plugin_get_info()

int cpl_plugin_get_info ( cpl_pluginlist *  list)

Build the list of available plugins, for this module.

Functions code

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 122 of file xsh_molecfit_correct.c.

References RECIPE_AUTHOR, RECIPE_CONTACT, RECIPE_ID, xsh_get_license(), xsh_molecfit_correct_create(), xsh_molecfit_correct_description, xsh_molecfit_correct_description_short, xsh_molecfit_correct_destroy(), and xsh_molecfit_correct_exec().

◆ xsh_molecfit_correct()

int xsh_molecfit_correct ( cpl_frameset *  frameset,
const cpl_parameterlist *  parlist 
)

Definition at line 294 of file xsh_molecfit_correct.c.

References size, threshold, and xsh_molecfit_correct_config().

Referenced by xsh_molecfit_correct_exec().

◆ xsh_molecfit_correct_config()

cpl_error_code xsh_molecfit_correct_config ( cpl_frameset *  frameset,
const cpl_parameterlist *  parlist,
cpl_parameterlist *  ilist,
cpl_parameterlist *  iframelist 
)

Includes Typedefs: Enumeration types Defines Global variables Macros Typedefs: Structured types Functions prototypes

Definition at line 687 of file xsh_molecfit_correct.c.

References xsh_molecfit_utils_find_input_frame().

Referenced by xsh_molecfit_correct().

◆ xsh_molecfit_correct_create()

int xsh_molecfit_correct_create ( cpl_plugin *  plugin)

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 164 of file xsh_molecfit_correct.c.

References assure, check, RECIPE_ID, xsh_error_dump, xsh_init(), xsh_parameters_new_double(), and xsh_parameters_new_string().

Referenced by cpl_plugin_get_info().

◆ xsh_molecfit_correct_destroy()

int xsh_molecfit_correct_destroy ( cpl_plugin *  plugin)

Destroy what has been created by the 'create' function.

Parameters
pluginthe plugin
Returns
0 if everything is ok

Definition at line 268 of file xsh_molecfit_correct.c.

References assure, and xsh_free_parameterlist().

Referenced by cpl_plugin_get_info().

◆ xsh_molecfit_correct_exec()

int xsh_molecfit_correct_exec ( cpl_plugin *  plugin)

Execute the plugin instance given by the interface.

Parameters
pluginthe plugin
Returns
0 if everything is ok

Definition at line 236 of file xsh_molecfit_correct.c.

References assure, xsh_error_dump, and xsh_molecfit_correct().

Referenced by cpl_plugin_get_info().