Skip to content

v0.9.0a2

Pre-release
Pre-release

Choose a tag to compare

@coretl coretl released this 24 Jan 10:30
· 170 commits to main since this release
d5bb776

Breaking changes

DeviceCollector renamed to init_device

Functionality is the same, just the name is different

# old
from ophyd_async.core import DeviceCollector
with DeviceCollector():
    ...
# old
from ophyd_async.core import init_devices
with init_devices():
    ...

sim.demo renamed to sim

# old
from ophyd_async.sim.demo import SimMotor
# new
from ophyd_async.sim import SimMotor

AreaDetector support TIFF and JPEG as well as HDF writers

The initialisation arguments for HDF change slightly as a result

from ophyd_async.epics import adaravis
# old
det = adaravis.AravisDetector(prefix, path_provider, drv_suffix="CAM:", hdf_suffix="HDF:")
# new
det = adaravis.AravisDetector(prefix, path_provider, drv_suffix="CAM:", fileio_suffix="HDF:")

Load/Save has been rewritten

Docs for this will follow in the 0.9 production release

In detail

  • 618 assert statements broken in tests by @Relm-Arrowny in #702
  • Improve import linting by @coretl in #704
  • Switch from intelligent save to intelligent load by @coretl in #697
  • Reimplement DeviceCollector as init_devices by @coretl in #705
  • Move contents of sim by @coretl in #708
  • Move make_detector to conftest.py and make it a fixture by @thomashopkins32 in #716
  • Rewrite EPICS signal tests by @coretl in #714
  • Split out common AD file plugin logic into core writer class, create ADTiffWriter by @jwlodek in #606
  • Convert float prec 0 pvs to int on request by @coretl in #718
  • Add queue size signal to base AD plugin IO class by @jwlodek in #725
  • Sync files with new version of ruff by @thomashopkins32 in #731
  • fixed persistent tasks by @evalott100 in #730
  • use ophyd async logger for logging.debug statements by @rerpha in #686
  • Remove assert in production code by @kivel in #728
  • Add areaDetector JPEG writer by @jwlodek in #720
  • Expand assert_* functions to work with all signal types by @jsouter in #711
  • Widen Array1D to fix changes to numpy shape by @coretl in #736
  • Add embed scene for set_and_wait_for svg by @ZohebShaikh in #745
  • Adding offset signal for epics motor by @jwlodek in #746
  • Port andor new ad format by @jwlodek in #724

New Contributors

  • @thomashopkins32 made their first contribution in #716
  • @kivel made their first contribution in #728

Full Changelog: v0.9.0a1...v0.9.0a2