Release History¶
v0.6.0 (2023-06-15)¶
Fixed¶
clean up on
RE.abort()properlysupport for read-only arrays from databroker
fix versioneer compatibility with Python 3.11
Changed¶
rerender the project’s structure with new cookiecutter.
improve tests
v0.5.0 (2021-10-08)¶
Fixed¶
support detectors not defining method
collect_asset_docsresolve jupyter_sphinx deprecation warning
Changed¶
add scikit-image to
requirements-dev.txtto resolve a CI error
v0.4.0 (2020-03-18)¶
Added¶
The
DarkFramePreprocessorhas new methodsdisable()andenable()to conveniently turn it off and on interactively.
Fixed¶
It is now possible to have multiple
DarkFramePreprocessorinstances watching the same detector with differentdark_planandstream_nameparameters. Previously, these would interact badly and raise errors.When the same Snapshot is used multiple times, fresh unique identifiers are assigned to the Resource and Datum documents before they are reissued. That is, we never issue a document with a given unique ID more than once, even if the content is the same.
Changed¶
The
dark_planpassed toDarkFramePreprocessoris now expected to accept adetectorargument. Previously thedark_planreferred to a specific detector instance in its body, as in:def dark_plan(): # Do stuff with some_detector. ... dark_frame_preprocessor = bluesky_darkframes.DarkFramePreprocessor( dark_plan=dark_plan, detector=some_detector)
Now, the
dark_plancan be written to accept a genericdetectorargument, andDarkFramePreprocessorwill passsome_detectorin, as in:def dark_plan(detector): # Do stuff with detector. ... dark_frame_preprocessor = bluesky_darkframes.DarkFramePreprocessor( dark_plan=dark_plan, detector=some_detector)
The old signature
dark_plan()is still supported for backward-compatbility, but a warning will be issued that this will not be supported in a future release.Version v0.2.0 introduced a
pedestalparameter inDarkSubtractionto help avoid overflow wrap-around. The documented default value was100but the actual default in the code was0. The actual default has been changed to100to match the documentation.
v0.3.0 (2019-08-15)¶
This release fixes a critical off-by-one issue in v0.2.0. All users are recommended to upgrade.
Associate a given
DarkFramePreprocessorinstance with a specific detector. This enables it to only intercede when that specific detector is triggered and to ignore all other acquisitions.Change the timing of when the conditions for a new dark frame are checked: the check now occurs just before the detector of interest is triggered.
v0.2.0 (2019-08-08)¶
Thie release adds two features that change the default behavior:
Check whether a new dark frame is needed and, if so, take one after each Event is closed (i.e. after each ‘save’ message) in addition to after each Run is opened (i.e. after each ‘open_run’ message).
Support a
pedestalparameter.DarkSubtraction, which defaults to100. This helps avoid negative values in the subtracted image. See docstring for details.
v0.1.3 (2019-08-05)¶
This release mostly consists of documentation and small usability improvements.
Expose
cacheas a public properly.Raise more specific Exception types.
v0.1.2 (2019-07-31)¶
Fix critical bug in
locked_signalsfeature and one-by-one bug inlimitfeature.
v0.1.1 (2019-07-31)¶
Critical fix to
DarkSubtraction.Added example of streaming export of subtracted frames as TIFF.
v0.1.0 (2019-07-29)¶
Initial release