spacetelescope/catkit

Write a basic imaging function for the ZWO cameras.

Closed this issue · 1 comments

Give the students a basic function to take an image.

Right now HiCAT is set up superbly and includes a lot of system-wide safety checks that make it somewhat tedious to take a real image if you only want to kidnap a piece of that architecture.

I need to rip out the simplest form of taking a single exposure with the ZWO brand cameras, and make it usable.

I've been hacking away at this but a recap of everything involved and what is left...

  • Isolate where in hicat-package the exposures are taken at the lowest level.
  • The answer is in the hardware specific section in the ZWOLib.py interface.
  • Find the background camera lib file needed to run the zwoasi architecture.
  • Comes with the hicat-package. We can move it somewhere more sensible when the time comes.
  • Write a basic function that instantiates the camera and takes an exposure.
  • Make it nicer with a class.
  • Add in error handling and neat logging.
  • Fun issue wherein closing the camera does not clear the instantiation of the library file, but that's been fixed.
  • Test it on the lab side.
  • Make it specific to the camera or cameras that we'll be using.

This is addressed in #9