X-shooter Pipeline Reference Manual 3.8.15
Functions
Divide a frame by the flat (xsh_divide_flat)

Functions

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

Detailed Description

This module is a DRL function

Function Documentation

◆ xsh_divide_flat()

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

divide PRE frame with the master FLAT frame

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

Definition at line 75 of file xsh_divide.c.

References check, XSH_ASSURE_NOT_NULL, XSH_DIVIDE_FLAT_THRESH, xsh_free_frame(), xsh_pre_divide(), xsh_pre_free(), xsh_pre_load(), and xsh_pre_save().

Referenced by main(), xsh_check_divide_flat(), xsh_frame_divide_flat(), xsh_frameset_mflat_divide(), xsh_geom_ifu(), xsh_respon_slit_offset(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), and xsh_scired_slit_offset().