﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1104	Thresholding when PSF is supplied	Paul Price	eugene	"When a PSF is supplied, the first (bright) round of thresholding (using PEAKS_NSIGMA_LIMIT) should be unnecessary (since we don't need to choose PSF stars), and the program should immediately proceed to the second (faint) round of thresholding (with PEAKS_NSIGMA_LIMIT_2).  Currently, the program will apply the bright threshold and die if there are no sources above this limit without proceeding to the faint threshold.  The result is that even if PEAKS_NSIGMA_LIMIT_2 is set absurdly low and a PSF is supplied, the program may fail with an error that it couldn't find any (bright) sources on the image.

I also wonder if finding no sources should be an error.  In the general scheme of things, it usually is (e.g., I can't do astrometry when there's no stars), but psphot should simply report no stars, rather than failing with an error since there are times when no sources is exactly right (e.g., subtracted or blank images)."	enhancement	assigned	normal		psphot	unspecified	minor			
