High-Level Data Reduction Library: hdrl_seeing

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
Functions
hdrl_seeing
Catalogue

Work out the median seeing. More...

Collaboration diagram for hdrl_seeing:

## 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

  ap | The current ap structure
  nrows | The number rows in the object catalogue
  ellipt | The array of ellipticities from the object catalogue
  pkht | The array of peak heights from the object catalogue
  areal | The array of areal profiles from the object catalogue
  work | A work array (should probably allocate this local at some stage)
  fwhm | The 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