78 #ifndef UVES_UTILS_CPL_H
79 #define UVES_UTILS_CPL_H
85 #include <uves_propertylist.h>
106 int ywindow,
bool extrapolate_border);
110 const cpl_image *noise,
113 double *x0,
double *y_0,
114 double *sigmax,
double *sigmay,
116 double *dx0,
double *dy0);
cpl_error_code uves_filter_image_median(cpl_image **image, int xwindow, int ywindow, bool extrapolate_border)
Median filter.
cpl_error_code uves_fit_gaussian_2d_image(const cpl_image *image, const cpl_image *noise, int x1, int y_1, int x2, int y2, double *x0, double *y_0, double *sigmax, double *sigmay, double *amplitude, double *dx0, double *dy0)
Fit a 2d gaussian to an image sub-window.
cpl_error_code uves_filter_image_average(cpl_image *image, int radius_x, int radius_y)
Average filter.
double uves_tools_get_median(double *a, int n)
returns median (not CPL median) of an array
const cpl_property * uves_find_property_const(const uves_propertylist *plist, const char *name, int number)
Find named property.
double uves_utils_get_kth_double(double *a, int n, int k)
returns the kth value of an array