imexam icon indicating copy to clipboard operation
imexam copied to clipboard

Typo from aimexam()

Open bkornpob opened this issue 4 years ago • 5 comments

I used imexam on jupyter notebook with ginga. Simply doing aperture photometry, its output printed in the notebook has typo. Here is from my screen:

read: a at 271.0, 285.0 xc=271.0797 yc=286.0884 x y radius flux mag(zpt=2.5e+01) sky/pix fwhm(x,y) 271.00 285.00 5 4.1e+01 2.1e+01 0.863 0.56,0.64 271.0796761204972 286.0884370840574 24.0

bkornpob avatar Apr 09 '20 19:04 bkornpob

thanks - can you point out the type specifically for me?

sosey avatar Apr 09 '20 20:04 sosey

----- from output screen ----- x y radius flux mag(zpt=2.5e+01) sky/pix fwhm(x,y) 271.00 285.00 5 4.1e+01 2.1e+01 0.863 0.56,0.64 271.0796761204972 286.0884370840574 24.0 ----- should it be? ----- x y radius flux mag(zpt=2.5e+01) sky/pix fwhm(x,y) 271.079 286.088 5 4.1e+01 2.1e+01 0.863 0.56,0.64

I think you might just pass wrong values.

Also, flux value = 41. Could you check if this is correct? And, what unit is it? I could not find out about the unit from the website.

(Sorry I don't mean to have a large text. I cannot manage to have the size down - -")

bkornpob avatar Apr 09 '20 20:04 bkornpob

will you add the version of imexam that you are using?

sosey avatar Apr 09 '20 22:04 sosey

0.9.1

bkornpob avatar Apr 09 '20 22:04 bkornpob

imexamine.py Correct L637 pstr = f"\n{x:.2f}\t{y:0.2f}\t{radius}\t{total_flux:0.2}\t{mag:0.2}\t"
to
pstr = f"\n{xx:.2f}\t{yy:0.2f}\t{radius}\t{total_flux:0.2}\t{mag:0.2}\t"

Delete L685 print(xx,yy,pad)

Thanks

yas-nakajima avatar Oct 17 '20 13:10 yas-nakajima