- Timestamp:
- Dec 25, 2021, 2:20:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/psModules/src/objects/pmPSFtryModel.c
r36856 r41967 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.
