Skip to content

Releases: sdss/archon

archon 0.11.0

18 Jul 16:36

Choose a tag to compare

💥 Breaking changes

#44 Allow exposure times longer than 1,000 seconds. This requires a change in how the ACF timing scripts are written to support setting the exposure time in centiseconds. See the PR description for details. Do not update to this version without updating the ACF file as well!

archon 0.10.0

13 Jul 23:22

Choose a tag to compare

✨ Improved

  • Added expose --async-readout flag that finishes the expose command as soon as readout begins.
  • Added wait-until-idle command that returns once the spectrographs are idle.

🏷️ Changed

  • Do not set the ERROR status in the controller if ArchonController.get_device_status() or ArchonController.get_system() time out.
  • ExposureDelegate.readout() will fail is any controller is still exposing.

🔧 Fixed

  • Prevent controller state to briefly go to IDLE before changing to a non-idle status.

archon 0.9.0

13 Apr 21:21

Choose a tag to compare

🚀 New

  • DT-4 Allow to create checksum files for each newly written images. To enable, add a checksum section to the configuration file with checksum.write: true. The mode of the checksum can be set with checksum.mode to md5 (default) or sha1. The file to which the checksum is appended can be defined with checksum.file, which default to the SJD with extension .sha1sum or .md5sum depending on the checksum mode.

archon 0.9.0b1

10 Mar 18:16

Choose a tag to compare

🚀 New

  • Upgrade CLU to 2.0.0b2 and add the get-command-model command.

archon 0.8.0

03 Mar 04:49

Choose a tag to compare

✨ Improved

  • Allow to run LOADTIMING without APPLYALL after an init.
  • Output filenames as a single keyword.
  • Add ArchonController.send_and_wait().
  • Allow choosing what APPLYXXX commands to send on init.

🔧 Fixed

  • Fix overwriting of images when readout done independently. The nextExposureFile was not being increased in that case.

⚙️ Engineering

  • Support Python 3.11.
  • Update test and docker workflows. The docker image now uses python:3.11-slim-bullseye.

archon 0.7.0

03 Dec 01:42

Choose a tag to compare

🚀 New

  • RESETTIMING is no longer user, which should prevent race conditions in some circumstances.
  • Add a pre_exposure hook to the delegate.
  • Added --no-write flag to expose.

✨ Improved

  • HDUs are now written to a temporary file first which is then renamed to the final file name.
  • It is now possible to defined the controller class in the actor and to pass the configuration to use to the controller.

archon 0.6.2

15 Sep 20:15

Choose a tag to compare

✨ Improved

  • Add backplane ID and version to header.
  • Allow to exclude some cameras from writing.
  • Allow to use SJD for path.
  • Add status --debug flag to change message level.

🔧 Fixed

  • Deal with controller without Lines or Pixels params.

archon 0.6.1

28 May 23:12

Choose a tag to compare

🚀 New

  • #40 ArchonController.write_config() now acccepts an overrides dictionary with keywords to be replaced in the ACF file. The format is similar to ArchonController.write_line(). If a section archon.acf_overrides is present in the configuration file, those overrides will be applied when the init command is called. This allows to define a single ACF file but tweak some parameters depending on the controller to which it is sent. archon.acf_overrides must be a dictionary with either a global section (overrides sent to all controllers) or sections for each controller name.
  • Add ExposureDelegate.expose_cotasks() for tasks that should be run during integration. This is useful to grab sensor data that could change as readout begins, for example lamp status, but there is no promise that the expose_cotasks() will be waited or that will complete before readout begins.

✨ Improved

  • ExposureDelegate.expose() always blocks, even if readout=False, and closes the shutter at the end of the exposure time.
  • The Archon buffer read is saved to the header of the images.

archon 0.6.0

14 May 20:34

Choose a tag to compare

💥 Breaking changes

  • expose start|finish|abort are not expose --no-readout, readout, and abort respectively. expose without --no-readout will expose and readout all in the same command.
  • Removed lvm submodule. Use lvmscp instead.

🚀 New

  • #38 ArchonController.write_line() allows to set and apply a line in the configuration file without reloading it completely.
  • #39 Support windowing.
  • Archon power status is now reported as part of the status and overall better handled.
  • Some refactoring to support yao and more generally to implement external packages that use the library and the actor.
  • Added power on|off and disconnect commands.
  • Support enabled_controllers config keyword

✨ Improved

  • expose finish --header now accepts a JSON-like dictionary in which a keyword can be the name of a detector. In that case the contents of that keyword are only added to the detector with that name.
  • The init command does a better job at understanding relative paths.
  • acf_file in the configuration can be a dictionary of controller to file.

archon 0.5.1

19 Sep 05:08

Choose a tag to compare

✨ Improved

  • #32 Expand the default header with information about gain, readout noise, bias section, etc.
  • #24 Added ExposureDelegate.readout_cotasks() that can be overridden to execute tasks concurrently during readout. The LVM delegate now reads temperatures and IEB data at this point.
  • #34 The path to the last ACF file written to the controller is stored in the user configuration file (usually at ~/.config/sdss/archon.yaml) from where it's read when the controller starts. This prevents having to initialise the controller every time archon is restarted (with the corresponding power cycling of the CCDs) just to update the ACF path, but it introduces a certain risk that the ACF stored in the configuration file and the one loaded are actually different. In general it's still recommended to do an archon init when the daemon is restarted.
  • Added script for ~800MHz readout.
  • Use framemode=split and rearrange taplines to allow proper display in the GUI.