Changeset 36623 for trunk/psModules/src/objects/pmPSFtryModel.c
- Timestamp:
- Mar 31, 2014, 2:36:01 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
psModules/src/objects (modified) (1 prop)
-
psModules/src/objects/pmPSFtryModel.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20140226 (added) merged: 36561,36563,36619-36622
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects
- Property svn:ignore
-
old new 12 12 pmSourceIO_CMF_PS1_V1.v1.c 13 13 pmSourceIO_CMF_PS1_V4.c 14 pmSourceIO_CMF_PS1_V5.c 14 15 pmSourceIO_CMF_PS1_SV1.c 15 16 pmSourceIO_CMF_PS1_SV2.c
-
- Property svn:ignore
-
trunk/psModules/src/objects/pmPSFtryModel.c
r36123 r36623 36 36 #include "pmSourceDiffStats.h" 37 37 #include "pmSourceSatstar.h" 38 #include "pmSourceLensing.h" 38 39 #include "pmSource.h" 39 40 #include "pmSourceFitModel.h" … … 111 112 112 113 // set the max order (0 = constant) which the number of psf stars can support: 114 int MaxOrderForStars = 0; 115 116 // we require only 3 stars for n = 0, increase stars / cell for higher order 117 if (sources->n >= 16) MaxOrderForStars = 1; // 4 cells, 4 per cell 118 if (sources->n >= 54) MaxOrderForStars = 2; // 9 cells, 6 per cell 119 if (sources->n >= 128) MaxOrderForStars = 3; // 16 cells, 8 per cell 120 if (sources->n >= 300) MaxOrderForStars = 4; // 25 cells, 12 per cell 121 if (sources->n > 576) MaxOrderForStars = 5; // 36 cells, 16 per cell 122 113 123 // rule of thumb: require 3 stars per 'cell' (order+1)^2 114 int MaxOrderForStars = 0;115 if (sources->n >= 12) MaxOrderForStars = 1; // 4cells116 if (sources->n >= 27) MaxOrderForStars = 2; // 9cells117 if (sources->n >= 48) MaxOrderForStars = 3; // 16cells118 if (sources->n > 75) MaxOrderForStars = 4; // 25cells124 // if (sources->n >= 12) MaxOrderForStars = 1; // 4 cells 125 // if (sources->n >= 27) MaxOrderForStars = 2; // 9 cells 126 // if (sources->n >= 48) MaxOrderForStars = 3; // 16 cells 127 // if (sources->n >= 75) MaxOrderForStars = 4; // 25 cells 128 // if (sources->n > 108) MaxOrderForStars = 5; // 36 cells 119 129 120 130 int orderMax = PS_MAX (options->psfTrendNx, options->psfTrendNy);
Note:
See TracChangeset
for help on using the changeset viewer.
