Science Tools
Functions |
omega_fits * | omega_jitter_process (omega_fits *scifits, const cpl_image *mbias, const cpl_image *mflat, const cpl_image *bpm, const cpl_table *photom, const cpl_frame *usnoa2, const cpl_image *illum, const cpl_image *fringes, const cpl_image *nsky, double *zeropoint_final, cpl_parameterlist *pars, int ext) |
| Reduces a science image (subtract bias, divide by the flat, create weight/contribution map, calculates ZP and WCS information.
|
Detailed Description
- Synopsis
- Functions to process science frames
#include "omega_wcscor.h"
#include "omega_background.h"
#include "omega_bpm.h"
#include "omega_cosmic.h"
#include "omega_dfs.h"
#include "omega_flats.h"
#include "omega_fits.h"
#include "omega_pfits.h"
#include "omega_satellites.h"
#include "omega_science.h"
#include "omega_stats.h"
#include "omega_trim.h"
#include "omega_utils.h"
Function Documentation
omega_fits* omega_jitter_process |
( |
omega_fits * |
scifits, |
|
|
const cpl_image * |
mbias, |
|
|
const cpl_image * |
mflat, |
|
|
const cpl_image * |
bpm, |
|
|
const cpl_table * |
photom, |
|
|
const cpl_frame * |
usnoa2, |
|
|
const cpl_image * |
illum, |
|
|
const cpl_image * |
fringes, |
|
|
const cpl_image * |
nsky, |
|
|
double * |
zeropoint_final, |
|
|
cpl_parameterlist * |
pars, |
|
|
int |
ext | |
|
) |
| | |
Reduces a science image (subtract bias, divide by the flat, create weight/contribution map, calculates ZP and WCS information.
- Parameters:
-
| pars | Parameters list |
| nraw | Number of raw science frames |
| ext | FITS extension number |
- Returns:
- 0 in success and -1 in case of error. Reduces a science image (subtract bias, divide by the flat, create weight/contribution map, calculates ZP and WCS information.
- Parameters:
-
| scifits | omega_fits structure of science image |
| mbias | master bias |
| mflat | master flat |
| bpm | bad pixels image |
| photom | photometric table |
| usnoa2 | master USNOA2 table |
| illum | Optional illumination correction image |
| fringes | Optional fringes image |
| nsky | Optional night sky flat |
| pars | Parameters list |
| ext | FITS extension to load |
- Returns:
- sfits omega_fits structure of reduced image or NULL in case of error.
Definition at line 338 of file omega_stare.c.
References create_weightframe(), detsat(), omega_background(), omega_biascor(), omega_cosmic_rays(), omega_fits_get_ehu(), omega_fits_get_frame(), omega_fits_get_phu(), omega_fits_wrap(), omega_flatcor(), omega_fringecor(), omega_match_points(), omega_pfits_get_conad(), omega_pfits_get_exptime(), omega_pfits_get_mean_airmass(), omega_pfits_update_header(), omega_saturated_map(), omega_shift_refpix(), omega_smooth_image(), and omega_trim_oscan_correct().