error in pstselect
mohack wrote on Jan 31, 2008
hi!
i'm just doing the photometry on some NIR images, the first three wen't quite well, but working on the 4th one, pstselect gives me the following error message:
daophot> pstsel
Image for which to build psf star list (j.fits):
Photometry file (default: image.mag.?) (default):
Output psf star list file (default: image.pst.?) (default):
Maximum number of psf stars (1:) (50):
ERROR: parameter `function' not found
called as: `pstselect ()'
any idea what is wrong? i checked the parameter files, but i didn't find anythings strange.
i'm just doing the photometry on some NIR images, the first three wen't quite well, but working on the 4th one, pstselect gives me the following error message:
daophot> pstsel
Image for which to build psf star list (j.fits):
Photometry file (default: image.mag.?) (default):
Output psf star list file (default: image.pst.?) (default):
Maximum number of psf stars (1:) (50):
ERROR: parameter `function' not found
called as: `pstselect ()'
any idea what is wrong? i checked the parameter files, but i didn't find anythings strange.
Mike Fitzpatrick wrote on Jan 31, 2008
I'm not sure how it might have happened, but try an "unlearn daopars" to reset the DAOPARS pset where the 'function' parameter is defined. You'll need to re-edit any changes to the pset you made, but the uparm version of the parameter file may be corrupted.
-Mike
-Mike
mohack wrote on Jan 31, 2008
Thanks! It turned out to be my mistake, cause I confused the daopar, daofind pars and the findpars, which I save and load seperately. Guess this was what was wrong, although I unlearned daopars anyway ;)
Last post on Jan 31, 2008