Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

extract/source/prepare_mask.c File Reference

Main file for prepare_mask. More...

Go to the source code of this file.

Defines

#define DBG_PREFIX   "dbg_mask"
#define FITNEIGHBOR   1.6
#define THRESHORDER   0.3
#define USE_PROFERR   0

Functions

int main (int argc, char **argv)

Variables

int * glmlaml
int * glmlanl
double * glmlaxpup
double * glmlaypup
double glmlaxlc
double glmlaylc
int glnggeo
double * glIgeo
double * glXgeo
double * glSgeo
int glngpsf
double ** glIpsf
double ** glSpsf
int * glpcen
int glngloc


Detailed Description

Main file for prepare_mask.

Copyright:
(c) 2004 IPNL
Date:
Mon Apr 12 15:34:06 2004
Author:
Y. Copin <y.copin@ipnl.in2p3.fr>

Author
ycopin
Version:
Adapted from find_mpup

Revision
1.6
Id
prepare_mask.c,v 1.6 2005/09/15 21:43:14 ycopin Exp

Definition in file prepare_mask.c.


Define Documentation

#define DBG_PREFIX   "dbg_mask"
 

Prefix for debug files

Definition at line 25 of file prepare_mask.c.

#define FITNEIGHBOR   1.6
 

Neighborhood criterion for global PSF fit:

  • Positive value: lenses closer from distortion center than lenssize*FITNEIGHBOR (hence ~>sqrt(2) gives 9 lenses)
  • Negative value: further than lenssize*ABS(FITNEIGHBOR)

Definition at line 32 of file prepare_mask.c.

#define THRESHORDER   0.3
 

Flux threshold use for the order determination: threshold = min + THRESHORDER*(max-min)

Definition at line 38 of file prepare_mask.c.

#define USE_PROFERR   0
 

Use estimate of profile errors for a chi2 fit

Definition at line 41 of file prepare_mask.c.


Function Documentation

int main int  argc,
char **  argv
 

Definition at line 102 of file prepare_mask.c.

References angle, array_histo(), BLUE_CHANNEL, CCDB_PIX, CCDR_PIX, Channel, DBG_PREFIX, deconv_globalPSF(), dump_spec_mem(), final_mpup(), FITNEIGHBOR, FMP_ALPHANORM, FMP_ANGLENORM, FMP_IPSFNORM, FMP_LENSSNORM, FMP_POSITNORM, FMP_XC, FMP_XPSFNORM, FMP_YC, gaussian_mpup(), geoPSF(), get_lenses_col(), glIgeo, glIpsf, glmlaml, glmlanl, glmlaxlc, glmlaxpup, glmlaylc, glmlaypup, glnggeo, glngloc, glngpsf, globalPSF(), glpcen, glSgeo, glSpsf, glXgeo, init_snifs(), invert_indexx(), LAB_COL_I, LAB_COL_J, mean_sig_f(), median_f(), model_distMLA(), MPUP_DISTPAR, MPUP_GEOPAR, MPUP_LBDAPUP, MPUP_NDISTPAR, MPUP_NGGEO, MPUP_NGLOC, MPUP_NGPSF, MPUP_PSFPAR, nllsqfit_distMLA(), nllsqfit_globalPSF(), put_tiger_arrays(), read_channel(), read_lbdaref(), RED_CHANNEL, rotate_coord(), select_mpup_sharpest_smooth(), set_corePSF(), set_geoPSF(), SNIFS_GAMMA, SNIFS_LENS_F, SNIFSB_CAM_E, SNIFSB_CAM_F, SNIFSB_COLL_E, SNIFSB_COLL_F, SNIFSB_DISTORTION, SNIFSB_LENS_PX, SNIFSR_CAM_E, SNIFSR_CAM_F, SNIFSR_COLL_E, SNIFSR_COLL_F, SNIFSR_DISTORTION, SNIFSR_LENS_PX, study_triangulation(), UHT_FOCR, and USE_PROFERR.

Here is the call graph for this function:


Variable Documentation

int* glmlaml
 

Definition at line 44 of file prepare_mask.c.

int * glmlanl
 

Definition at line 44 of file prepare_mask.c.

double* glmlaxpup
 

Definition at line 45 of file prepare_mask.c.

double * glmlaypup
 

Definition at line 45 of file prepare_mask.c.

double glmlaxlc
 

Definition at line 46 of file prepare_mask.c.

double glmlaylc
 

Definition at line 46 of file prepare_mask.c.

int glnggeo
 

Definition at line 49 of file prepare_mask.c.

double* glIgeo
 

Definition at line 50 of file prepare_mask.c.

double * glXgeo
 

Definition at line 50 of file prepare_mask.c.

double * glSgeo
 

Definition at line 50 of file prepare_mask.c.

int glngpsf
 

Definition at line 53 of file prepare_mask.c.

double** glIpsf
 

Definition at line 56 of file prepare_mask.c.

double ** glSpsf
 

Definition at line 56 of file prepare_mask.c.

int* glpcen
 

Definition at line 59 of file prepare_mask.c.

int glngloc
 

Definition at line 62 of file prepare_mask.c.


Generated on Thu Oct 27 00:00:14 2005 for Snifs by doxygen 1.3.5