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

aimexam fwhm #216

Open yas-nakajima opened 3 years ago

yas-nakajima commented 3 years ago

aimexam shows a result like

x y radius flux mag(zpt=2.5e+01) sky/pix fwhm(x,y) 1021.06 1935.25 5 2.5e+03 1.6e+01 14106.709 1.28,1.35 1020.9207728938632 1935.031676337716 24.0

download

fwhm(x, y) = 1.28, 1.35 in STDOUT, while fwhm = 3.02 in the figure.

The values in STDOUT seem to be the gaussian sigma_x. 1.28 * 2.355 = 3.01

imexam version is 0.9.1 using with Jupyter notebook

thanks

yas-nakajima commented 3 years ago

imexamine.py L650 pstr += f"{sigma:0.2f},{sigmay:0.2f}" shoud be pstr += f"{fwhmx:0.2f},{fwhmy:0.2f}"