High-Level Data Reduction Library: tests/hdrl_correlation-test.c File Reference

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

Loading...
Searching...
No Matches
Functions
hdrl_correlation-test.c File Reference
`#include "hdrl_correlation.h"`
`#include <math.h>`
`#include <cpl.h>`
Include dependency graph for hdrl_correlation-test.c:

## Functions
cpl_array * | create_rect (const cpl_size sz, const cpl_size start, const cpl_size stop)
cpl_array * | create_gaussian (cpl_size num_samples, const double mean, const double stdev, const double center, double *delta_out)
void | test_shift_pixel_precision (const cpl_size in_shift)
void | test_shift_gaussian_fit (const double mean_diff, const cpl_boolean use_win_refinement)
int | main (void)
| Unit tests of correlation and shift.

## Function Documentation

## ◆ create_gaussian()

cpl_array * create_gaussian | ( | cpl_size | num_samples,
|  | const double | mean,
|  | const double | stdev,
|  | const double | center,
|  | double * | delta_out
| ) |  |

## ◆ create_rect()

cpl_array * create_rect | ( | const cpl_size | sz,
|  | const cpl_size | start,
|  | const cpl_size | stop
| ) |  |

## ◆ main()

int main | ( | void |  | ) |

Unit tests of correlation and shift.

## ◆ test_shift_gaussian_fit()

void test_shift_gaussian_fit | ( | const double | mean_diff,
|  | const cpl_boolean | use_win_refinement
| ) |  |

## ◆ test_shift_pixel_precision()

void test_shift_pixel_precision | ( | const cpl_size | in_shift | ) |