- Timestamp:
- Mar 31, 2014, 11:43:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140226/psModules/src/objects/pmPSFtryModel.c
r36619 r36620 112 112 113 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 114 123 // rule of thumb: require 3 stars per 'cell' (order+1)^2 115 int MaxOrderForStars = 0;116 if (sources->n >= 12) MaxOrderForStars = 1; // 4cells117 if (sources->n >= 27) MaxOrderForStars = 2; // 9cells118 if (sources->n >= 48) MaxOrderForStars = 3; // 16cells119 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 120 129 121 130 int orderMax = PS_MAX (options->psfTrendNx, options->psfTrendNy);
Note:
See TracChangeset
for help on using the changeset viewer.
