TwiceAsNice
2019-02-18
|
Classes | |
struct | profstruct |
struct | profitstruct |
Macros | |
#define | MODEL_NONE 0x0000 |
#define | MODEL_BACK 0x0001 |
#define | MODEL_DIRAC 0x0002 |
#define | MODEL_SERSIC 0x0004 |
#define | MODEL_DEVAUCOULEURS 0x0008 |
#define | MODEL_EXPONENTIAL 0x0010 |
#define | MODEL_ARMS 0x0020 |
#define | MODEL_BAR 0x0040 |
#define | MODEL_INRING 0x0080 |
#define | MODEL_OUTRING 0x0100 |
#define | MODEL_TABULATED 0x0200 |
#define | MODEL_NMAX 11 |
#define | PROFLAG_MODSUB 0x0001 |
#define | PROFLAG_OBJSUB 0x0002 |
#define | PROFLAG_NOTCONST 0x0004 |
#define | PROFLAG_MINLIM 0x0008 |
#define | PROFLAG_MAXLIM 0x0010 |
#define | PROFPARAM_UNBOUNDED 1 |
#define | PROFPARAM_LINBOUNDED 2 |
#define | PROFPARAM_LOGBOUNDED 3 |
#define | PROFIT_POW(x, a) (x>0.01? exp(a*log(x)) : pow(x,a)) |
#define | PROFIT_POWF(x, a) (x>0.01? expf(a*logf(x)) : powf(x,a)) |
#define | PARAM_ALLPARAMS (-1) /* All parameters */ |
#define | PROFIT_MAXITER 1000 /* Max. nb of iterations in profile fitting */ |
#define | PROFIT_MAXPROF 8 /* Max. nb of profile components */ |
#define | PROFIT_HIDEFRES 201 /* Hi. def. model resol. (must be <MAXMODSIZE)*/ |
#define | PROFIT_REFFFAC 3.0 /* Factor in r_eff for measurement radius*/ |
#define | PROFIT_MAXR2MAX 1e6 /* Maximum r2_max for truncating profiles */ |
#define | PROFIT_DYNPARAM 10.0 /* Dynamic compression param. in sigma units */ |
#define | PROFIT_SMOOTHR 4.0 /* Profile smoothing radius (pixels) */ |
#define | PROFIT_MAXMODSIZE 512 /* Maximum size allowed for the model raster */ |
#define | PROFIT_MAXSMODSIZE 64 /* Number of model planes */ |
#define | PROFIT_MAXOBJSIZE 512 /* Maximum size allowed for the object raster */ |
#define | PROFIT_BARXFADE 0.1 /* Fract. of bar length crossfaded with arms */ |
#define | PROFIT_MAXEXTRA 2 /* Max. nb of extra free params of profiles */ |
#define | INTERP_MAXKERNELWIDTH 8 /* Max. range of kernel (pixels) */ |
Functions | |
profitstruct * | profit_init (struct psf *psf, unsigned int modeltype) |
profstruct * | prof_init (profitstruct *profit, unsigned int modeltype) |
float * | profit_compresi (profitstruct *profit, float dynparam, float *resi) |
float * | profit_presiduals (profitstruct *profit, double *dparam, float *presi) |
float * | profit_residuals (profitstruct *profit, picstruct *field, picstruct *wfield, float dynparam, float *param, float *resi) |
float | prof_add (profitstruct *profit, profstruct *prof, int extfluxfac_flag) |
float | profit_minradius (profitstruct *profit, float refffac) |
float | profit_noisearea (profitstruct *profit) |
float | profit_spiralindex (profitstruct *profit) |
int | profit_boundtounbound (profitstruct *profit, float *param, double *dparam, int index) |
int | profit_copyobjpix (profitstruct *profit, picstruct *field, picstruct *wfield, picstruct *dgeofield) |
int | profit_covarunboundtobound (profitstruct *profit, double *dparam, float *param) |
int | profit_minimize (profitstruct *profit, int niter) |
int | prof_moments (profitstruct *profit, profstruct *prof, double *jac) |
int | profit_resample (profitstruct *profit, float *inpix, PIXTYPE *outpix, float factor) |
int | profit_setparam (profitstruct *profit, paramenum paramtype, float param, float parammin, float parammax, parfitenum parfittype, float priorcen, float priorsig) |
int | profit_unboundtobound (profitstruct *profit, double *dparam, float *param, int index) |
void | profit_dfit (profitstruct *profit, profitstruct *dprofit, picstruct *field, picstruct *dfield, picstruct *wfield, picstruct *dwfield, objstruct *obj, obj2struct *obj2) |
void | prof_end (profstruct *prof) |
void | profit_addparam (profitstruct *profit, paramenum paramindex, float **param) |
void | profit_fit (profitstruct *profit, picstruct *field, picstruct *wfield, picstruct *dgeofield, objstruct *obj, obj2struct *obj2) |
void | profit_convmoments (profitstruct *profit, obj2struct *obj2) |
void | profit_convolve (profitstruct *profit, float *modpix) |
void | profit_end (profitstruct *profit) |
void | profit_evaluate (double *par, double *fvec, int m, int n, void *adata) |
void | profit_fluxcor (profitstruct *profit, objstruct *obj, obj2struct *obj2) |
void | profit_makedft (profitstruct *profit) |
void | profit_moments (profitstruct *profit, obj2struct *obj2) |
void | profit_printout (int n_par, float *par, int m_dat, float *fvec, void *data, int iflag, int iter, int nfev) |
void | profit_psf (profitstruct *profit) |
void | profit_resetparam (profitstruct *profit, paramenum paramtype) |
void | profit_resetparams (profitstruct *profit) |
void | profit_surface (profitstruct *profit, obj2struct *obj2) |
#define INTERP_MAXKERNELWIDTH 8 /* Max. range of kernel (pixels) */ |
#define MODEL_ARMS 0x0020 |
#define MODEL_BACK 0x0001 |
#define MODEL_BAR 0x0040 |
#define MODEL_DEVAUCOULEURS 0x0008 |
#define MODEL_DIRAC 0x0002 |
#define MODEL_EXPONENTIAL 0x0010 |
#define MODEL_INRING 0x0080 |
#define MODEL_NMAX 11 |
#define MODEL_NONE 0x0000 |
#define MODEL_OUTRING 0x0100 |
#define MODEL_SERSIC 0x0004 |
#define MODEL_TABULATED 0x0200 |
#define PARAM_ALLPARAMS (-1) /* All parameters */ |
#define PROFIT_BARXFADE 0.1 /* Fract. of bar length crossfaded with arms */ |
#define PROFIT_DYNPARAM 10.0 /* Dynamic compression param. in sigma units */ |
#define PROFIT_HIDEFRES 201 /* Hi. def. model resol. (must be <MAXMODSIZE)*/ |
#define PROFIT_MAXEXTRA 2 /* Max. nb of extra free params of profiles */ |
#define PROFIT_MAXITER 1000 /* Max. nb of iterations in profile fitting */ |
#define PROFIT_MAXMODSIZE 512 /* Maximum size allowed for the model raster */ |
#define PROFIT_MAXOBJSIZE 512 /* Maximum size allowed for the object raster */ |
#define PROFIT_MAXPROF 8 /* Max. nb of profile components */ |
#define PROFIT_MAXR2MAX 1e6 /* Maximum r2_max for truncating profiles */ |
#define PROFIT_MAXSMODSIZE 64 /* Number of model planes */ |
#define PROFIT_REFFFAC 3.0 /* Factor in r_eff for measurement radius*/ |
#define PROFIT_SMOOTHR 4.0 /* Profile smoothing radius (pixels) */ |
#define PROFLAG_MAXLIM 0x0010 |
#define PROFLAG_MINLIM 0x0008 |
#define PROFLAG_MODSUB 0x0001 |
#define PROFLAG_NOTCONST 0x0004 |
#define PROFLAG_OBJSUB 0x0002 |
#define PROFPARAM_LINBOUNDED 2 |
#define PROFPARAM_LOGBOUNDED 3 |
#define PROFPARAM_UNBOUNDED 1 |
enum interpenum |
enum paramenum |
enum parfitenum |
float prof_add | ( | profitstruct * | profit, |
profstruct * | prof, | ||
int | extfluxfac_flag | ||
) |
void prof_end | ( | profstruct * | prof | ) |
profstruct* prof_init | ( | profitstruct * | profit, |
unsigned int | modeltype | ||
) |
int prof_moments | ( | profitstruct * | profit, |
profstruct * | prof, | ||
double * | jac | ||
) |
void profit_addparam | ( | profitstruct * | profit, |
paramenum | paramindex, | ||
float ** | param | ||
) |
int profit_boundtounbound | ( | profitstruct * | profit, |
float * | param, | ||
double * | dparam, | ||
int | index | ||
) |
float* profit_compresi | ( | profitstruct * | profit, |
float | dynparam, | ||
float * | resi | ||
) |
void profit_convmoments | ( | profitstruct * | profit, |
obj2struct * | obj2 | ||
) |
void profit_convolve | ( | profitstruct * | profit, |
float * | modpix | ||
) |
int profit_copyobjpix | ( | profitstruct * | profit, |
picstruct * | field, | ||
picstruct * | wfield, | ||
picstruct * | dgeofield | ||
) |
int profit_covarunboundtobound | ( | profitstruct * | profit, |
double * | dparam, | ||
float * | param | ||
) |
void profit_dfit | ( | profitstruct * | profit, |
profitstruct * | dprofit, | ||
picstruct * | field, | ||
picstruct * | dfield, | ||
picstruct * | wfield, | ||
picstruct * | dwfield, | ||
objstruct * | obj, | ||
obj2struct * | obj2 | ||
) |
void profit_end | ( | profitstruct * | profit | ) |
void profit_evaluate | ( | double * | par, |
double * | fvec, | ||
int | m, | ||
int | n, | ||
void * | adata | ||
) |
void profit_fit | ( | profitstruct * | profit, |
picstruct * | field, | ||
picstruct * | wfield, | ||
picstruct * | dgeofield, | ||
objstruct * | obj, | ||
obj2struct * | obj2 | ||
) |
void profit_fluxcor | ( | profitstruct * | profit, |
objstruct * | obj, | ||
obj2struct * | obj2 | ||
) |
profitstruct* profit_init | ( | struct psf * | psf, |
unsigned int | modeltype | ||
) |
void profit_makedft | ( | profitstruct * | profit | ) |
int profit_minimize | ( | profitstruct * | profit, |
int | niter | ||
) |
float profit_minradius | ( | profitstruct * | profit, |
float | refffac | ||
) |
void profit_moments | ( | profitstruct * | profit, |
obj2struct * | obj2 | ||
) |
float profit_noisearea | ( | profitstruct * | profit | ) |
float * profit_presiduals | ( | profitstruct * | profit, |
double * | dparam, | ||
float * | presi | ||
) |
void profit_printout | ( | int | n_par, |
float * | par, | ||
int | m_dat, | ||
float * | fvec, | ||
void * | data, | ||
int | iflag, | ||
int | iter, | ||
int | nfev | ||
) |
void profit_psf | ( | profitstruct * | profit | ) |
int profit_resample | ( | profitstruct * | profit, |
float * | inpix, | ||
PIXTYPE * | outpix, | ||
float | factor | ||
) |
void profit_resetparam | ( | profitstruct * | profit, |
paramenum | paramtype | ||
) |
void profit_resetparams | ( | profitstruct * | profit | ) |
float * profit_residuals | ( | profitstruct * | profit, |
picstruct * | field, | ||
picstruct * | wfield, | ||
float | dynparam, | ||
float * | param, | ||
float * | resi | ||
) |
int profit_setparam | ( | profitstruct * | profit, |
paramenum | paramtype, | ||
float | param, | ||
float | parammin, | ||
float | parammax, | ||
parfitenum | parfittype, | ||
float | priorcen, | ||
float | priorsig | ||
) |
float profit_spiralindex | ( | profitstruct * | profit | ) |
void profit_surface | ( | profitstruct * | profit, |
obj2struct * | obj2 | ||
) |
int profit_unboundtobound | ( | profitstruct * | profit, |
double * | dparam, | ||
float * | param, | ||
int | index | ||
) |