Ophyd-async

Latest version: v0.2.0

Safety actively analyzes 622940 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3a2

What's Changed
* Move methods from flyer to standard detector to support multiple detector collection by abbiemery in https://github.com/bluesky/ophyd-async/pull/116
* Made panda use pva signal backend instead of pvi_get by rosesyrett in https://github.com/bluesky/ophyd-async/pull/43
* Improve error message for failed p4p put by tomtrafford in https://github.com/bluesky/ophyd-async/pull/119
* fixed a bug in the PvaDict metadata_fields and value_fields by evalott100 in https://github.com/bluesky/ophyd-async/pull/143
* Add detector control for PandA Pcap by tomtrafford in https://github.com/bluesky/ophyd-async/pull/138
* Enum extension by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/147
* Allow for blank enum names from binary records by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/152
* Pin to bluesky alpha release rather than git branch by callumforrester in https://github.com/bluesky/ophyd-async/pull/157
* Include Type Stubs for PySide6 by callumforrester in https://github.com/bluesky/ophyd-async/pull/164
* Document How to Write Tests for Devices by callumforrester in https://github.com/bluesky/ophyd-async/pull/163
* Tidy up core detector module docs by callumforrester in https://github.com/bluesky/ophyd-async/pull/159
* Clean up pvi signal generation by evalott100 in https://github.com/bluesky/ophyd-async/pull/142
* Update codecov action to v4 by coretl in https://github.com/bluesky/ophyd-async/pull/186
* Move trigger logic into dedicated plan stub by abbiemery in https://github.com/bluesky/ophyd-async/pull/175
* Bump actions/checkout from 3 to 4 by dependabot in https://github.com/bluesky/ophyd-async/pull/11
* Bump softprops/action-gh-release from 0.1.14 to 0.1.15 by dependabot in https://github.com/bluesky/ophyd-async/pull/3
* Move panda trigger test by abbiemery in https://github.com/bluesky/ophyd-async/pull/188
* Pin event model to pre StreamResource Changes by abbiemery in https://github.com/bluesky/ophyd-async/pull/187
* Drop python 3.9 support by dperl-dls in https://github.com/bluesky/ophyd-async/pull/171
* 131 make a simulated detector that can write hdf files by stan-dot in https://github.com/bluesky/ophyd-async/pull/144
* Breaking Change: Rename and add motor fields by DominicOram in https://github.com/bluesky/ophyd-async/pull/174
* Add PandA hdf writer 2 by evalott100 in https://github.com/bluesky/ophyd-async/pull/198
* Fix CONTRIBUTING heading by GDYendell in https://github.com/bluesky/ophyd-async/pull/222
* Add docstring for DeviceVector and document how to group devices by callumforrester in https://github.com/bluesky/ophyd-async/pull/183
* Refactor Signal type parsing in pvi logic by GDYendell in https://github.com/bluesky/ophyd-async/pull/225
* Adopt Copier template by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/207
* Update Pilatus Controller, Driver to match development of ADAravis, TetrAMM by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/191
* slight change to fix linting by evalott100 in https://github.com/bluesky/ophyd-async/pull/234
* Return enum when PV exactly matches it, otherwise fail by DominicOram in https://github.com/bluesky/ophyd-async/pull/237
* Add SignalRW helpers by GDYendell in https://github.com/bluesky/ophyd-async/pull/221
* Add create_soft_signal_r and creates_soft_signal_rw methods by jsouter in https://github.com/bluesky/ophyd-async/pull/217
* add pyside6 system dependencies by gilesknap in https://github.com/bluesky/ophyd-async/pull/244
* Add Simulation motor by gilesknap in https://github.com/bluesky/ophyd-async/pull/224
* Add name argument to Signal, epics_signal_* and soft_signal_* by jsouter in https://github.com/bluesky/ophyd-async/pull/247
* Add Async Protocols by OCopping in https://github.com/bluesky/ophyd-async/pull/219
* Fixes broken link on docs page by RobertSchaffer1 in https://github.com/bluesky/ophyd-async/pull/253
* Remove extraneous Pilatus constructor arg by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/255
* Make HDFPandA StandardDetector by evalott100 in https://github.com/bluesky/ophyd-async/pull/185
* Move ADAravis detectors to ophyd-async by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/190

New Contributors
* tomtrafford made their first contribution in https://github.com/bluesky/ophyd-async/pull/119
* DiamondJoseph made their first contribution in https://github.com/bluesky/ophyd-async/pull/147
* dependabot made their first contribution in https://github.com/bluesky/ophyd-async/pull/11
* stan-dot made their first contribution in https://github.com/bluesky/ophyd-async/pull/144
* DominicOram made their first contribution in https://github.com/bluesky/ophyd-async/pull/174
* GDYendell made their first contribution in https://github.com/bluesky/ophyd-async/pull/222
* gilesknap made their first contribution in https://github.com/bluesky/ophyd-async/pull/244
* OCopping made their first contribution in https://github.com/bluesky/ophyd-async/pull/219
* RobertSchaffer1 made their first contribution in https://github.com/bluesky/ophyd-async/pull/253

**Full Changelog**: https://github.com/bluesky/ophyd-async/compare/v0.2.1...v0.3a2

0.3a1

What's Changed
* Move methods from flyer to standard detector to support multiple detector collection by abbiemery in https://github.com/bluesky/ophyd-async/pull/116
* Made panda use pva signal backend instead of pvi_get by rosesyrett in https://github.com/bluesky/ophyd-async/pull/43
* Improve error message for failed p4p put by tomtrafford in https://github.com/bluesky/ophyd-async/pull/119
* fixed a bug in the PvaDict metadata_fields and value_fields by evalott100 in https://github.com/bluesky/ophyd-async/pull/143
* Add detector control for PandA Pcap by tomtrafford in https://github.com/bluesky/ophyd-async/pull/138
* Enum extension by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/147
* Allow for blank enum names from binary records by DiamondJoseph in https://github.com/bluesky/ophyd-async/pull/152
* Pin to bluesky alpha release rather than git branch by callumforrester in https://github.com/bluesky/ophyd-async/pull/157

New Contributors
* tomtrafford made their first contribution in https://github.com/bluesky/ophyd-async/pull/119
* DiamondJoseph made their first contribution in https://github.com/bluesky/ophyd-async/pull/147

**Full Changelog**: https://github.com/bluesky/ophyd-async/compare/v0.2.1...v0.3a1

0.2.1

What's Changed
* Ensure detectors receive trigger num from plans by abbiemery in https://github.com/bluesky/ophyd-async/pull/96
* Add panda-specific save load plans by olliesilvester in https://github.com/bluesky/ophyd-async/pull/63
* Implement Prepare instead of Moveable for HardwareTriggeredFlyable by joeshannon in https://github.com/bluesky/ophyd-async/pull/100
* Give panda name, change 'pv' to 'prefix' by olliesilvester in https://github.com/bluesky/ophyd-async/pull/101
* Fix panda name typo and add test by olliesilvester in https://github.com/bluesky/ophyd-async/pull/102
* 103 add task and exception info to AsyncStatus message by dperl-dls in https://github.com/bluesky/ophyd-async/pull/104
* Fix linting according to new Black 24 standards by dperl-dls in https://github.com/bluesky/ophyd-async/pull/108
* Modify error handling for timed out signals when connecting. by rosesyrett in https://github.com/bluesky/ophyd-async/pull/97
* Add user information on the `DeviceCollector` event-loop by evalott100 in https://github.com/bluesky/ophyd-async/pull/114
* Added a new test connecting to devices before initializing RE by evalott100 in https://github.com/bluesky/ophyd-async/pull/121
* Fix root/path kwargs for Stream Resource documents generated by HDFWriter by rosesyrett in https://github.com/bluesky/ophyd-async/pull/86

New Contributors
* dperl-dls made their first contribution in https://github.com/bluesky/ophyd-async/pull/104
* evalott100 made their first contribution in https://github.com/bluesky/ophyd-async/pull/114

**Full Changelog**: https://github.com/bluesky/ophyd-async/compare/v0.2.0...v0.2.1

0.2.0

This release contains a lot of major changes and updates to the repository:

Book-keeping changes
PRs: 84, 82, 62, 34 and 21
The README is now ophyd-async specific, with working links and icons. Pyproject.toml now looks at latest version of bluesky as released on pypi, as well as the latest version of p4p now that the pre-released version 4.1.11a2 has been yanked. This version increase was necessary to ensure enums would be correctly set in ophyd-async devices (see https://github.com/mdavidsaver/p4p/issues/123 for details).

Bug Fixes
- Flyer trigger deadtime logic incorrectly evaluated the detector deadtime vs. trigger deadtime 46
- Fix failing docs build 38 due to updated sphinx packages
- Pilatus controller needs it's NumImages pv to be set to a high value to understand it should take images, effectively, forever (i.e. as long as it's getting triggers from a flyer), which is different to a standard areadetector where setting it to 0 works. Therefore, two PRs emerged to try and fix this problem; 59 which attempted to set the NumImages to the maximal value as dictated by EPICs (i.e because this is a uint32) and 67 when it was found setting it to this value didn't provide the intended results. There is an issue about this as well, as the pilatus definition should work cross-facility: https://github.com/bluesky/ophyd-async/issues/83
- The HDFWriter set data to be written in 'entry/data' where it needed to set it in 'entry/data/data'. Follow up issue here: https://github.com/bluesky/ophyd-async/issues/73

Design Changes
- Change SignalX execute() to trigger() instead 56
- Flyer now waits for all stream resources to be emitted before yielding stream datums in collect_asset_docs 71
- Removed the stall timeout in _HDFFile for the HDFWriter, as this timeout was actually activated in between datums being produced (74). This means on a flyscan, it can be activated during normal operation, as the timeout was set to 2 minutes and time between data collection can exceed that. Issue link: https://github.com/bluesky/ophyd-async/issues/76

New Features
- Serialisation/Deserialisation of devices into yaml files
Introduced by 36, the state a devices can now be saved into a yaml file by parsing through its signals (only serialising those which are read/writable. Representers were added in 66 to allow CA signals to be serialised also, however this has presented its own issue regarding where this logic lives: https://github.com/bluesky/ophyd-async/issues/75. Some minor fixes to the array representer were added in #60
- The state of a detector is now being checked when it's being armed, to ensure it's not unreasonable (50). This is now configurable for each DetectorController (68) - this means if a detector is in a bad state we will get an error message indicating we should check the hardware. In addition, the former PR added a timeout for arming a detector, such that if (for example) something isn't connected, arming a detector wouldn't hang forever until the process was killed.
- Minor improvements to PV's included in areadetector writers, like NDFileHDF and NDArrayBase (70, 69, 79)

New Contributors
* Bilchreis made their first contribution in https://github.com/bluesky/ophyd-async/pull/56
* jsouter made their first contribution in https://github.com/bluesky/ophyd-async/pull/60
* callumforrester made their first contribution in https://github.com/bluesky/ophyd-async/pull/50
* joeshannon made their first contribution in https://github.com/bluesky/ophyd-async/pull/65
* abbiemery made their first contribution in https://github.com/bluesky/ophyd-async/pull/66

**Full Changelog**: https://github.com/bluesky/ophyd-async/compare/v0.1.0...v0.2.0

0.1.0

What's Changed
* Restructure code base and ensure tests still pass by rosesyrett in https://github.com/bluesky/ophyd-async/pull/5
* Add ADR for procedural device definition by coretl in https://github.com/bluesky/ophyd-async/pull/12
* Add children() for Device and DeviceVector by olliesilvester in https://github.com/bluesky/ophyd-async/pull/17
* Support ntndarray by Tom-Willemsen in https://github.com/bluesky/ophyd-async/pull/19

New Contributors
* rosesyrett made their first contribution in https://github.com/bluesky/ophyd-async/pull/5
* coretl made their first contribution in https://github.com/bluesky/ophyd-async/pull/12
* olliesilvester made their first contribution in https://github.com/bluesky/ophyd-async/pull/17
* Tom-Willemsen made their first contribution in https://github.com/bluesky/ophyd-async/pull/19

**Full Changelog**: https://github.com/bluesky/ophyd-async/commits/v0.1.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.