High-Level Data Reduction Library 1.6.0
High-Level data reduction routines for ESO pipelines
Loading...
Searching...
No Matches
hdrl_prototyping.c File Reference
#include "hdrl_prototyping.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <errno.h>
#include <complex.h>
Include dependency graph for hdrl_prototyping.c:

Functions

cpl_image * hdrl_get_spatial_freq (cpl_image *ima, double gausfilt, int mirrorx, int mirrory)
 Get low spatial frequency componenets from an image using the FFTW.
 
cpl_image * hdrl_mime_image_polynomial_bkg (cpl_image *image, int dim_X, int dim_Y, cpl_matrix **coeffs)
 
cpl_error_code hdrl_mime_compute_polynomial_bkg (const cpl_imagelist *images, cpl_imagelist *bkg_images, int dim_X, int dim_Y, cpl_matrix **coeffs)
 Fit smooth background for a list of images.
 
cpl_matrix * hdrl_mime_legendre_tensors_create (int nx, int ny, int npx, int npy)
 Create tensor products of Legendre polynomials.
 
cpl_matrix * hdrl_mime_matrix_linspace_create (int n, double a, double b)
 Create equally spaced nodes.
 
cpl_matrix * hdrl_mime_legendre_polynomials_create (int npoly, double a, double b, const cpl_matrix *x)
 Create the Legendre polynomial basis on the interval (a,b).
 
cpl_matrix * hdrl_mime_linalg_pairwise_column_tensor_products_create (const cpl_matrix *mat1, const cpl_matrix *mat2)
 Create selected pairwise tensor products of the columns of two matrices.
 
cpl_error_code hdrl_mime_matrix_copy_column (const cpl_matrix *mat1, int j_1, cpl_matrix *mat2, int j_2)
 Copy a column from one matrix to another matrix.
 
cpl_matrix * hdrl_mime_linalg_tensor_products_columns_create (const cpl_matrix *mat1, const cpl_matrix *mat2)
 Create the tensor products of the columns of two matrices.
 
cpl_matrix * hdrl_mime_tensor_weights_create (int nx, int ny)
 Create tensor product weights.
 
cpl_error_code hdrl_mime_matrix_mask_rows (cpl_matrix *mat, const cpl_mask *mask)
 Fill matrix rows with zeros as indicated by a mask.
 
cpl_error_code hdrl_mime_matrix_rescale_rows (const cpl_matrix *mat, const cpl_matrix *d, cpl_matrix *dmat)
 Multiply the rows of a matrix by given factors.
 
cpl_matrix * hdrl_mime_linalg_solve_tikhonov (const cpl_matrix *mat, const cpl_matrix *rhs, double alpha)
 Solve an overdetermined linear system in the least-squares sense.
 
cpl_matrix * hdrl_mime_linalg_normal_equations_create (const cpl_matrix *mat, double alpha)
 Create the matrix transpose(A) * A + alpha for given A and alpha.
 
cpl_matrix * hdrl_mime_matrix_product_left_transpose_create (const cpl_matrix *mat1, const cpl_matrix *mat2)
 Create the product of the transpose of a matrix with another matrix.
 
cpl_error_code hdrl_mime_matrix_product (const cpl_matrix *mat1, const cpl_matrix *mat2, cpl_matrix *product)
 Fill a matrix with the product of two given matrices.