spacetelescope / imexam

imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
http://imexam.readthedocs.io
BSD 3-Clause "New" or "Revised" License
74 stars 45 forks source link

Typo from aimexam() #205

Open bkornpob opened 4 years ago

bkornpob commented 4 years ago

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

sosey commented 4 years ago

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

bkornpob commented 4 years ago

----- 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 - -")

sosey commented 4 years ago

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

bkornpob commented 4 years ago

0.9.1

yas-nakajima commented 3 years ago

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