id4_common.devices.vortex_dante_me1#

Vortex 4 element with Dante electronics

Module Contents#

id4_common.devices.vortex_dante_me1.MAX_TIME = 3600#
id4_common.devices.vortex_dante_me1.MAX_ROIS = 32#
class id4_common.devices.vortex_dante_me1.Trigger(*args, image_name=None, **kwargs)#

Bases: id4_common.devices.ad_mixins.TriggerBase

This trigger mixin class takes one acquisition per trigger.

stage_sigs#
setup_manual_trigger()#

Configure stage_sigs for software-triggered (manual) single-shot acquisition.

abstractmethod setup_external_trigger()#

Raise NotImplementedError; the Dante cannot be used in flyscans.

stage()#

Subscribe the busy-signal callback and arm the detector before staging.

unstage()#

Stop the Dante, unsubscribe the busy callback, and restore manual- trigger mode.

trigger()#

Start one Dante acquisition and return a status object that completes when done.

class id4_common.devices.vortex_dante_me1.TotalCorrectedSignal(prefix, roi_index=0, **kwargs)#

Bases: ophyd.SignalRO

Signal that returns the deadtime corrected total counts

roi_index = 0#
get(**kwargs)#

Return the sum of deadtime-corrected ROI counts across all Dante channels.

class id4_common.devices.vortex_dante_me1.VortexDante1(*args, default_folder=Path('/net/s4data/export/sector4/4idd/bluesky_images/vortex'), hdf1_file_format='%s/%s_%6.6d.h5', **kwargs)#

Bases: Trigger, id4_common.devices.counters_mixin.ROICountersMixin, ophyd.areadetector.DetectorBase

Single-element Vortex detector driven by a Dante MCA with HDF5 file saving.

cam#
mcas#
scas#
total#
hdf1#
default_folder#
hdf1_file_format = '%s/%s_%6.6d.h5'#
property num_channels#

Return the number of MCA channels for this detector.

align_on()#

Start detector in alignment mode

align_off()#

Stop detector

save_images_on()#

Enable the HDF5 plugin so acquisitions are written to disk.

save_images_off()#

Disable the HDF5 plugin so acquisitions are not written to disk.

auto_save_on()#

Enable HDF5 autosave so files are written automatically.

auto_save_off()#

Disable HDF5 autosave.

default_settings()#

Configure HDF5 path, stage signals, ROIs, and manual-trigger mode.

property read_rois#

Return the list of ROI indices that are currently included in reads.

select_roi(rois)#

Set the hinted ROI totals to those in rois, keeping other read_rois as normal.

plot_roi0()#

Set ROI 0 as the hinted plot channel.

plot_roi1()#

Set ROI 1 as the hinted plot channel.

plot_roi2()#

Set ROI 2 as the hinted plot channel.

plot_roi3()#

Set ROI 3 as the hinted plot channel.

plot_roi4()#

Set ROI 4 as the hinted plot channel.

property label_option_map#

Return a mapping from human-readable ROI label strings to ROI index integers.

setup_images(base_folder, file_name_base, file_number, flyscan=False)#

Configure HDF5 file name, number, path, and flysetup flag for an upcoming scan.

property save_image_flag#

Return True if the HDF5 plugin is enabled or autosave is on.