Changeset 26766 for trunk/extsrc/gpcsw/gpcsrc/analysis/libpsf
- Timestamp:
- Feb 3, 2010, 1:00:09 PM (16 years ago)
- Location:
- trunk/extsrc/gpcsw/gpcsrc/analysis/libpsf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extsrc/gpcsw/gpcsrc/analysis/libpsf/psf.c
r23924 r26766 111 111 /* Load up results (with a few sanity checks!) */ 112 112 if(psfout != NULL && alg != PSF_2DIM) { 113 psfout->ix = 0; 114 psfout->iy = 0; 113 // psfout->ix = 0; 114 // psfout->iy = 0; 115 // 091211: JT this is a harmless lie, supposed to be highest pixel 116 psfout->ix = xu; 117 psfout->iy = yu; 118 // 115 119 psfout->x0 = xu; 116 120 psfout->y0 = yu; … … 128 132 psfextra->xfw = xfwhm; 129 133 psfextra->yfw = yfwhm; 134 psfextra->majfw = 0.0; 135 psfextra->minfw = 0.0; 136 psfextra->thfw = 0.0; 137 psfextra->wpeak = 0.0; 138 psfextra->wbkgnd = 0.0; 139 psfextra->dflux = 0.0; 140 psfextra->dbkgnd = 0.0; 141 psfextra->rmsbkgnd = 0.0; 130 142 } 131 143 if(alg == PSF_BIN) psfextra->binfactor = extra; -
trunk/extsrc/gpcsw/gpcsrc/analysis/libpsf/psf2dim.f
r23490 r26766 188 188 wpar(9) = 0.5 189 189 * WAUX: NXPATCH, NYPATCH, NX, XOFF, YOFF, EADU, EXTRASKY, IGNORE_VALUE, INIT 190 waux(1) = min(n,nx-1-mx) + n + 1 191 waux(2) = min(n,ny-1-my) + n + 1 190 C waux(1) = min(n,nx-1-mx) + n + 1 191 C waux(2) = min(n,ny-1-my) + n + 1 192 waux(1) = min(2*n+1, nx-1-iwxs) 193 waux(2) = min(2*n+1, ny-1-iwys) 192 194 waux(3) = nx 193 195 waux(4) = iwxs
Note:
See TracChangeset
for help on using the changeset viewer.
