CR2RE Pipeline Reference Manual 1.6.7
Functions
hdrl_radii

Work out the fluxes for special radii. More...

Functions

double hdrl_halflight (double rcores[], double cflux[], double halflight, double peak, cpl_size naper)
 Work out the half-light radius for an object.
 
double hdrl_exprad (double thresh, double peak, double areal0, double rcores[], cpl_size naper)
 Work out the exponential radius for an object.
 
double hdrl_kronrad (double areal0, double rcores[], double cflux[], cpl_size naper)
 Work out the Kron radius for an object.
 
double hdrl_petrad (double areal0, double rcores[], double cflux[], cpl_size naper)
 Work out the Petrosian radius for an object.
 
void hdrl_flux (ap_t *ap, double parm[IMNUM][NPAR], cpl_size nbit, double apers[], double fluxes[], cpl_size nr, double rcores[], double rfluxes[])
 Work out the fluxes for special radii.
 

Detailed Description

Work out the fluxes for special radii.

Function Documentation

◆ hdrl_exprad()

double hdrl_exprad ( double  thresh,
double  peak,
double  areal0,
double  rcores[],
cpl_size  naper 
)

Work out the exponential radius for an object.

Parameters
threshThe detection threshold
peakThe peak flux of the object
areal0The lowest level areal profile for the object
rcoresThe list of aperture radii used
naperThe number of radii used
Returns
The exponential radius of the object

Description: Given the detection threshold, peak flux and lowest areal profile, work out the exponential radius for an object

Definition at line 105 of file hdrl_cat_radii.c.

◆ hdrl_flux()

void hdrl_flux ( ap_t *  ap,
double  parm[IMNUM][NPAR],
cpl_size  nbit,
double  apers[],
double  fluxes[],
cpl_size  nr,
double  rcores[],
double  rfluxes[] 
)

Work out the fluxes for special radii.

Parameters
apThe current ap structure
parmThe parameters for each object already detected
nbitThe number of detected objects in the current Plessey structure.
apersThe radii of the standard apertures
fluxesThe fluxes computed through the standard apertures
nrThe number of special apertures
rcoresThe radii the special apertures
rfluxesThe fluxes computed through the special apertures.

Description: The fluxes for the 'special' radii (Kron etc) are worked out by an interpolation of the pre-existing aperture photometry to the new radius.

Definition at line 225 of file hdrl_cat_radii.c.

References fraction().

Referenced by hdrl_process_results().

◆ hdrl_halflight()

double hdrl_halflight ( double  rcores[],
double  cflux[],
double  halflight,
double  peak,
cpl_size  naper 
)

Work out the half-light radius for an object.

Parameters
rcoresThe list of aperture radii used
cfluxThe list of fluxes through the aperture radii
halflightAn estimate of half the light of the object
peakThe peak flux of the object
naperThe number of radii used
Returns
The half-light radius of the object

Description: Given the the array of core apertures and core fluxes, work out the half light radius

Definition at line 54 of file hdrl_cat_radii.c.

Referenced by hdrl_process_results().

◆ hdrl_kronrad()

double hdrl_kronrad ( double  areal0,
double  rcores[],
double  cflux[],
cpl_size  naper 
)

Work out the Kron radius for an object.

Parameters
areal0The lowest level areal profile for the object
rcoresThe list of aperture radii used
cfluxThe aperture fluxes for each radius
naperThe number of radii used
Returns
The Kron radius of the object

Description: Given the lowest areal profile and the circular aperture fluxes already done, calculate the Kron radius

Definition at line 132 of file hdrl_cat_radii.c.

Referenced by hdrl_process_results().

◆ hdrl_petrad()

double hdrl_petrad ( double  areal0,
double  rcores[],
double  cflux[],
cpl_size  naper 
)

Work out the Petrosian radius for an object.

Parameters
areal0The lowest level areal profile for the object
rcoresThe list of aperture radii used
cfluxThe aperture fluxes for each radius
naperThe number of radii used
Returns
The Petrosian radius of the object

Description: Given the lowest areal profile and the circular aperture fluxes already done, calculate the Petrosian radius

Definition at line 169 of file hdrl_cat_radii.c.

Referenced by hdrl_process_results().