Release History
v1.5.5 (2023-09-14)
Maintenance
Raise an error if the daq has not yet been initialized in the hutch-python session.
Contributors
klauer
v1.5.4 (2023-07-25)
Maintenance
Adjust PyQt pinning to select PyQt5.
Contributors
klauer
v1.5.3 (2023-04-04)
Maintenance
Fix an issue with the pre-commit config pointing to a missing url mirror.
nabs no longer uses Travis CI and has migrated to GitHub Actions for continuous integration, testing, and documentation deployment.
nabs has been migrated to use setuptools-scm, replacing versioneer, as its version-string management tool of choice.
nabs has been migrated to use the modern
pyproject.toml
, replacingsetup.py
and related files.Older language features and syntax found in the repository have been updated to Python 3.9+ standards by way of
pyupgrade
.Sphinx 6.0 is now supported for documentation building.
docs-versions-menu
replacesdoctr-versions-menu
anddoctr
usage for documentation deployment on GitHub Actions. The deployment key is now no longer required.
Contributors
klauer
zllentz
v1.5.2 (2022-10-20)
Bugfixes
Fix an issue where any of the daq step scans would fail if run with the
duration
arg instead of theevents
arg.
Maintenance
Make the test suite pass on Windows
Make the test suite compatible with bluesky v1.9.0
Make the test suite compatible with python 3.8
Fix race condition and typo in test suite
Contributors
zllentz
v1.5.0 (2022-06-02)
Features
Wraps the BEC in the BECOptionsPerRun callback that looks for run metadata and modifies functionality accordingly.
Bugfixes
Disables plotting for delay_scan when used with the BECOptionsPerRun callback.
Contributors
tangkong
v1.4.0 (2022-05-03)
Features
Adds a high level validate_plan function that runs a plan through multiple checks.
Adds check for proper plan construction (open_run/close_run matching, proper run_key tags)
Adds check for stray calls, pulling from a pre-defined list of forbidden function calls.
Contributors
tangkong
v1.3.0 (2022-03-31)
API Changes
1-Dimensional scans now accept floats in the ‘num’ argument position and interprets it as a step size.
Features
Add callback to RE for posting last input and run table to ELog.
Contributors
tangkong
zllentz
v1.2.0 (2022-02-07)
Features
Add daq_d2scan
Add n-dimensional daq scans: daq_dnscan, daq_anscan
Contributors
tangkong
v1.1.3 (2021-09-28)
Bugfixes
Fix an issue where passing in a PseudoSingle to a daq-wrapped scan would result in duplicate controls entries in the DAQ data stream.
Contributors
zllentz
v1.1.2 (2021-04-27)
Maintenance
Tweak the signatures of the daq step scans for ease of inspection
Contributors
zllentz
v1.1.1 (2021-03-03)
Maintenance
Fix various issues with the documentation builds
Add ophyd as an explicit runtime dependency because it is imported directly in nabs.utils.
Require a bluesky>=1.6.5 dependency to ensure a function we’re using is included.
Contributors
zllentz
v1.1.0 (2021-02-10)
Features
Add a new plan for fixed target scanning, as used in XPP for the start of lu8318. This uses the
XYGridStage
frompcdsdevices
to scan motors across a skewed path grid. It is feature-rich with things like path memory and incorporating a third motor.
Contributors
cristinasewell
v1.0.0 (2020-12-22)
API Changes
All plans now have a detectors argument to allow plotting during scans. If no plot is desired, simply pass in an empty list instead.
Bugfixes
Fix issue where the stage in the daq_delay_scan was erroneously included in the DAQ control variables. This actually slows down the scan and dumps extra, redundant data into the data stream.
Contributors
zllentz
ZryletTC
v0.1.0 (2020-11-17)
Features
Added the
nabs.plans
module with the following functions:nabs.plans.duration_scan
: A bluesky plan that moves a motor back and forth for a fixed duration.nabs.plans.delay_scan
: A bluesky plan that configures a sweep time for a laser delay stage and runs anabs.plans.duration_scan
.nabs.plans.daq_delay_scan
: A bluesky plan that runs the daq during anabs.plans.delay_scan
.nabs.plans.daq_count
: A bluesky plan that runs the daq n times while moving no motors.nabs.plans.daq_scan
: A bluesky plan that runs calib cycles at each step while doing the built-in bluesky ndscan
plan, returning motors to their original positions after the scan.nabs.plans.daq_list_scan
: A bluesky plan that runs calib cycles at each step while doing the built-in blueskylist_scan
plan, returning motors to their original positions after the scan.nabs.plans.daq_ascan
: A bluesky plan that runs calib cycles at each step of a traditional 1D ascan (absolute scan), returning motors to their original positions after the scan.nabs.plans.daq_dscan
: A bluesky plan that runs calib cycles at each step of a traditional 1D dscan (delta scan), returning motors to their original positions after the scan.nabs.plans.daq_a2scan
: A 2-dimensionalnabs.plans.daq_ascan
.nabs.plans.daq_a3scan
: A 3-dimensionalnabs.plans.daq_ascan
.
Added the
nabs.preprocessors
module with the following functions:nabs.preprocessors.daq_step_scan_wrapper
: A wrapper that mutates incoming messages from a plan to also include DAQ calib cycles as required for a step scan.nabs.preprocessors.daq_step_scan_decorator
: A function decorator that modifies a plan to add standard DAQ configuration arguments and to run properly with the DAQ as a step scan.nabs.preprocessors.daq_during_wrapper
: A wrapper that mutates a plan to run the DAQ in the background as a flyer during plan execution.nabs.preprocessors.daq_during_decorator
: A function decorator that modifies a plan to execute using thenabs.preprocessors.daq_during_wrapper
.
Bugfixes
Fix issues related to SignalRO moving around in the ophyd API
Fix issues related to measure_average not working for integer values
Maintenance
Restructure the repository to accumulate CI/structural changes that we’ve been making to other repositories.
Add missing numpy requirement
Accumulate a toolz requirement (was already implicit via bluesky)
Add dev requirements for pcdsdevices and pcdsdaq
Allow python 3.7/3.8 travis builds to fail, because pcdsdaq does not work on these python versions.
Rework the API docs, expand docs to include the new plans and preprocessors.
Various other docs additions and changes.
Fix issue with automated documentation uploads.
Contributors
zllentz
v0.0.0 (2018-04-19)
Initial tag