- Timestamp:
- Apr 12, 2006, 8:18:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/objects/pmSourceFitSet.c
r6825 r6848 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1.2. 4$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-04-1 0 20:21:36 $5 * @version $Revision: 1.1.2.5 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-04-13 06:18:46 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 33 33 static psVector *oneDeriv; 34 34 35 // save as static values so they may be set externally 36 static psF32 PM_SOURCE_FIT_MODEL_NUM_ITERATIONS = 15; 37 static psF32 PM_SOURCE_FIT_MODEL_TOLERANCE = 0.1; 38 static bool PM_PSF_POISSON_WEIGHTS = true; 39 40 bool pmSourceFitSetInit (float nIter, float tol, bool poissonErrors) 41 { 42 43 PM_SOURCE_FIT_MODEL_NUM_ITERATIONS = nIter; 44 PM_SOURCE_FIT_MODEL_TOLERANCE = tol; 45 46 PM_PSF_POISSON_WEIGHTS = poissonErrors; 47 48 return true; 49 } 50 35 51 bool pmModelFitSetInit (pmModelType type) 36 52 { … … 97 113 */ 98 114 115 /* 99 116 # define PM_SOURCE_FIT_MODEL_NUM_ITERATIONS 15 100 117 # define PM_SOURCE_FIT_MODEL_TOLERANCE 0.1 118 */ 101 119 102 120 bool pmSourceFitSet (pmSource *source,
Note:
See TracChangeset
for help on using the changeset viewer.
