OMEGA Pipeline Reference Manual  1.0.6
Functions
Photometric Functions

Functions

int omega_basic_param (cpl_table *sources, double scale, double *seeing, double *ellipticity)
 Routine to calculate the seeing from stars. More...
 
cpl_table * omega_photom_tbl (const char *star, double gain, const cpl_frame *refcat, cpl_parameterlist *pars, cpl_table **extra)
 Match std stars with std reference catalogue and calculate zero point for matched stars. More...
 
cpl_table * omega_zeropoints (cpl_table *matches, cpl_table *extra, const cpl_frame *monitfr, const cpl_frame *extfr, const cpl_frame *colfr)
 Routine to calculate the zeropoint from standard stars. More...
 

Detailed Description

Synopsis
Functions to create a photometric table and for deriving the zeropoint of images.
#include omega_photometry.h
#include omega_catalog.h
#include omega_dfs.h
#include omega_pfits.h
#include omega_utils.h

Function Documentation

int omega_basic_param ( cpl_table *  sources,
double  scale,
double *  seeing,
double *  ellipticity 
)

Routine to calculate the seeing from stars.

Parameters
sourcesSextractor table with stars
scalescale in degrees (as in keyword CD1_1)
seeingdouble variable to write seeing
Returns
0 in case of success or -1 in case of error

Definition at line 721 of file omega_photometry.c.

Referenced by omega_photom_tbl().

cpl_table* omega_photom_tbl ( const char *  star,
double  gain,
const cpl_frame *  refcat,
cpl_parameterlist *  pars,
cpl_table **  extra 
)

Match std stars with std reference catalogue and calculate zero point for matched stars.

Parameters
starname of reduced standard star in disk
refcatframe of reference standard star catalogue
parsparameters list
extratable to write extra information
Returns
table of matches between image and reference catalogue or NULL in case of error.

Definition at line 79 of file omega_photometry.c.

References omega_basic_param(), omega_filter_table_int(), omega_get_coverage(), omega_get_stds_table(), omega_matchstds(), omega_pfits_get_chipid(), omega_pfits_get_exptime(), omega_pfits_get_filter_info(), and omega_pfits_get_mean_airmass().

cpl_table* omega_zeropoints ( cpl_table *  matches,
cpl_table *  extra,
const cpl_frame *  monitfr,
const cpl_frame *  extfr,
const cpl_frame *  colfr 
)

Routine to calculate the zeropoint from standard stars.

Parameters
matchestable calculated in omega_photom_tbl
extraextra table calculated in omega_photom_tbl
monitname of monitoring report table
extnamename of extinction curve table
zptbloutput table where to write results
Returns
table with zeropoints or NULL in case of error.

Definition at line 448 of file omega_photometry.c.

References omega_filter_table_float().