CR2RE Pipeline Reference Manual 1.6.7
Functions
hdrl_utils_catalogue

Common functions. More...

Functions

double fraction (double x, double y, double r_out)
 Fraction of pixel bounded.
 
void dchole (double a[IMNUM+1][IMNUM+1], double b[IMNUM+1], cpl_size n)
 Cholesky decomposition of definite symmetric matrix to solve Ax = b.
 

Detailed Description

Common functions.

Function Documentation

◆ dchole()

void dchole ( double  a[IMNUM+1][IMNUM+1],
double  b[IMNUM+1],
cpl_size  n 
)

Cholesky decomposition of definite symmetric matrix to solve Ax = b.

Parameters
a.
b.
n.

Description: Cholesky decomposition of definite symmetric matrix to solve Ax = b

Definition at line 121 of file hdrl_cat_utils.c.

Referenced by hdrl_phopt().

◆ fraction()

double fraction ( double  x,
double  y,
double  r_out 
)

Fraction of pixel bounded.

Parameters
xX Cordinate relative to center
yY Cordinate relative to center
r_out
Returns
fraction of pixel bounded by 0 - r_out

Description: Returns fraction of pixel bounded by 0 - r_out x,y coordinates relative to centre. Uses linear approximation ok if pixel located >>1 away from centre.

Definition at line 49 of file hdrl_cat_utils.c.

Referenced by cr2res_trace_split(), hdrl_flux(), and hdrl_phopt().