81 cpl_frame * result = NULL;
98 sprintf( filename,
"%s.fits", tag);
104 check( cpl_frame_set_tag (result, tag));
107 if ( cpl_error_get_code() != CPL_ERROR_NONE) {
xsh_pre * xsh_pre_load(cpl_frame *frame, xsh_instrument *instr)
Load a xsh_pre structure from a frame.
void xsh_pre_multiply(xsh_pre *self, const xsh_pre *right, double threshold)
Multiply a PRE image from another.
void xsh_pre_free(xsh_pre **pre)
Free a xsh_pre structure.
cpl_frame * xsh_pre_save(const xsh_pre *pre, const char *filename, const char *tag, int temp)
Save PRE on disk.
#define XSH_ASSURE_NOT_NULL(pointer)
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
void xsh_free_frame(cpl_frame **f)
Deallocate a frame and set the pointer to NULL.
#define XSH_MULTIPLY_FLAT_THRESH