CR2RE Pipeline Reference Manual 1.6.10
Functions
hdrl_seeing

Work out the median seeing. More...

Functions

cpl_error_code hdrl_seeing (ap_t *ap, cpl_size nrows, double *ellipt, double *pkht, double **areal, double *work, double *fwhm)
 Work out the median seeing.
 

Detailed Description

Work out the median seeing.

Function Documentation

◆ hdrl_seeing()

cpl_error_code hdrl_seeing ( ap_t *  ap,
cpl_size  nrows,
double *  ellipt,
double *  pkht,
double **  areal,
double *  work,
double *  fwhm 
)

Work out the median seeing.

Parameters
apThe current ap structure
nrowsThe number rows in the object catalogue
elliptThe array of ellipticities from the object catalogue
pkhtThe array of peak heights from the object catalogue
arealThe array of areal profiles from the object catalogue
workA work array (should probably allocate this local at some stage)
fwhmThe output FWHM estimate
Returns
CPL_ERROR_NONE if all went OK (Currently this is the only value).

Description: The areal profiles for an array of objects is examined. The point where the areal profile falls to half its peak value is found for each object and the final seeing estimate is the median of these results

Definition at line 57 of file hdrl_cat_seeing.c.

References sort_array().