X-shooter Pipeline Reference Manual 3.8.15
Functions
Multiply a frame by the flat (xsh_multiply_flat)

Functions

cpl_frame * xsh_multiply_flat (cpl_frame *frame, cpl_frame *flat, const char *tag, xsh_instrument *instr)
 multiply PRE frame with the master FLAT frame
 

Detailed Description

This module is a DRL function

Function Documentation

◆ xsh_multiply_flat()

cpl_frame * xsh_multiply_flat ( cpl_frame *  frame,
cpl_frame *  flat,
const char *  tag,
xsh_instrument instr 
)

multiply PRE frame with the master FLAT frame

Parameters
[in]frameframe to multiply
[in]flatthe master flat frame
[in]tagpro catg of the result frame
[in]instrthe xsh instrument
Returns
the multiply frame

Definition at line 77 of file xsh_multiply.c.

References check, XSH_ASSURE_NOT_NULL, xsh_free_frame(), XSH_MULTIPLY_FLAT_THRESH, xsh_pre_free(), xsh_pre_load(), xsh_pre_multiply(), and xsh_pre_save().

Referenced by xsh_respon_slit_offset(), and xsh_respon_slit_stare().