Focusing

Imexam in Pyraf 😮

$ ds9&

$ pyraf

--> display focus12000 1

--> imexam


Imexam with python 😕

Documentation: https://imexam.readthedocs.io/en/0.9.1/imexam/imexam_command.html

> python

> import imexam

> viewer = imexam.connect()

This should open up a ds9 window. If you get an error about a path or a permission error, I found one extra step that should make things work.  If you get this error:

> viewer.load_fits(‘./focusing/test.fits’)

> viewer.scale()

> viewer.imexam()