X-shooter Pipeline Reference Manual 3.8.15
Functions
Blaze handling

Functions

cpl_frame * xsh_divide_by_blaze (cpl_frame *pre_frame, cpl_frame *blaze_frame, xsh_instrument *instrument)
 Divide a pre image by the blaze image.
 
cpl_frame * xsh_blaze_image (cpl_frame *masterflat_frame, cpl_frame *order_frame, xsh_instrument *instrument)
 Normalize a master flat frame order by order.
 
cpl_image * xsh_create_blaze (cpl_frame *masterflat_frame, xsh_order_list *order_list, xsh_instrument *instrument)
 Normalize a master flat frame order by order.
 

Detailed Description

Function Documentation

◆ xsh_blaze_image()

cpl_frame * xsh_blaze_image ( cpl_frame *  masterflat_frame,
cpl_frame *  order_frame,
xsh_instrument instrument 
)

Normalize a master flat frame order by order.

Parameters
[in]masterflat_frameThe master flat frame
[in]order_frameThe order list frame
[in]instrumentThe instrument structure
Returns
The normalized master flat frame

Definition at line 143 of file xsh_blaze.c.

References check, instrument, XSH_ASSURE_NOT_NULL, xsh_create_blaze(), xsh_free_frame(), xsh_free_image(), xsh_order_list_free(), and xsh_order_list_load().

Referenced by xsh_geom_ifu(), xsh_scired_ifu_offset(), and xsh_scired_ifu_stare().

◆ xsh_create_blaze()

cpl_image * xsh_create_blaze ( cpl_frame *  masterflat_frame,
xsh_order_list order_list,
xsh_instrument instrument 
)

◆ xsh_divide_by_blaze()

cpl_frame * xsh_divide_by_blaze ( cpl_frame *  pre_frame,
cpl_frame *  blaze_frame,
xsh_instrument instrument 
)

Divide a pre image by the blaze image.

Parameters
[in]pre_frameThe PRE frame
[in]blaze_frameThe blaze image frame
[in]instrumentThe instrument structure
Returns
The normalized master flat frame

Definition at line 71 of file xsh_blaze.c.

References check, xsh_pre::data, xsh_pre::errs, instrument, xsh_pre::nx, xsh_pre::ny, XSH_ASSURE_NOT_NULL, xsh_free_frame(), xsh_free_image(), xsh_pre_free(), xsh_pre_load(), and xsh_pre_save().

Referenced by xsh_geom_ifu(), xsh_scired_ifu_offset(), and xsh_scired_ifu_stare().