Changeset 42093 for trunk/psModules/src/objects/pmPSFtryModel.c
- Timestamp:
- Feb 28, 2022, 2:52:56 PM (4 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmPSFtryModel.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/pmPSFtryModel.c
r36856 r42093 151 151 if (Nx > Ny) { 152 152 options->psfTrendNx = i; 153 options->psfTrendNy = PS_MAX (orderMin, (int)(i * (Ny / Nx) + 0.5));153 options->psfTrendNy = PS_MAX (orderMin, (int)(i * (Ny / (float) Nx) + 0.5)); 154 154 } else { 155 155 options->psfTrendNy = i; 156 options->psfTrendNx = PS_MAX (orderMin, (int)(i * (Nx / Ny) + 0.5)); 157 } 156 options->psfTrendNx = PS_MAX (orderMin, (int)(i * (Nx / (float) Ny) + 0.5)); 157 } 158 159 fprintf (stderr, "fitting %d x %d model for PSF\n", options->psfTrendNx, options->psfTrendNy); 158 160 159 161 // free existing data, if any
Note:
See TracChangeset
for help on using the changeset viewer.
