photutils icon indicating copy to clipboard operation
photutils copied to clipboard

Add 'verbose' mode to PSFPhotometry classes

Open Gabriel-p opened this issue 6 years ago • 5 comments

I'm doing PSF photometry on some crowded frames and I've been staring at a screen that shows no changes for well over 10 min now.

Could a verbose mode be added to these classes that would print some relevant information regarding the process as it moves forward?

Gabriel-p avatar Nov 14 '17 22:11 Gabriel-p

I like that idea! What you all think @eteq @bsipocz @hamogu?

mirca avatar Nov 14 '17 23:11 mirca

Yes, this sounds sensible to me, like the rolling beachball for the terminal ;) Can we maybe use the astropy progress bar for this?

bsipocz avatar Nov 15 '17 13:11 bsipocz

I was actually thinking of printing relevant information about the state of the process, rather than a progressbar. Of course, this is more complicated since those messages need to be written first.

In any case, anything beats staring at a blank screen for an hour.

Gabriel-p avatar Nov 15 '17 13:11 Gabriel-p

If this gets implemented, please use the astropy logger (i.e. log.info()) and not print() calls.

larrybradley avatar Nov 15 '17 14:11 larrybradley

I agree that this is a sensible idea.On Nov 15, 2017 8:55 AM, Gabriel Perren [email protected] wrote:I was actually thinking of printing relevant information about the state of the process, rather than a progressbar. Of course, this is more complicated since those messages need to be written first. In any case, anything beats staring at a blank screen for an hour.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

hamogu avatar Nov 15 '17 14:11 hamogu