ophyd.mca.EpicsDXP#

class ophyd.mca.EpicsDXP(prefix='', *, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, **kwargs)#

All high-level DXP parameters for each channel

__init__(prefix='', *, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, **kwargs)#

Methods

__init__([prefix, kind, read_attrs, ...])

add_instantiation_callback(callback[, ...])

Register a callback which will receive each OphydObject instance.

check_value(value, **kwargs)

Check if the value is valid for this object

clear_sub(cb[, event_type])

Remove a subscription, given the original callback function

configure(d)

Configure the device for something during a run

describe()

Provide schema and meta-data for read().

describe_configuration()

Provide schema & meta-data for read_configuration()

destroy()

Disconnect and destroy all signals on the Device

get(**kwargs)

Get the value of all components in the device

get_device_tuple()

The device tuple type associated with an Device class

get_instantiated_signals(*[, attr_prefix])

Yields all of the instantiated signals in a device hierarchy

pause()

Attempt to 'pause' the device.

put(dev_t, **kwargs)

Put a value to all components of the device

read()

Read data from the device.

read_configuration()

Dictionary mapping names to value dicts with keys: value, timestamp

resume()

Resume a device from a 'paused' state.

stage()

Stage the device for data collection.

stop(*[, success])

Stop the Device and all (instantiated) subdevices

subscribe(callback[, event_type, run])

Subscribe to events this event_type generates.

summary()

trigger()

Trigger the device and return status object.

unstage()

Unstage the device.

unsubscribe(cid)

Remove a subscription

unsubscribe_all()

wait_for_connection([all_signals, timeout])

Wait for signals to connect

walk_components()

Walk all components in the Device hierarchy

walk_signals(*[, include_lazy])

Walk all signals in the Device hierarchy

walk_subdevice_classes()

Walk all sub-Devices classes in the Device hierarchy

walk_subdevices(*[, include_lazy])

Walk all sub-Devices in the hierarchy

Attributes

SUB_ACQ_DONE

adc_percent_rule

A descriptor representing a device component (or signal)

attr_name

baseline_cut_enable

A descriptor representing a device component (or signal)

baseline_cut_percent

A descriptor representing a device component (or signal)

baseline_energy_array

A descriptor representing a device component (or signal)

baseline_filter_length

A descriptor representing a device component (or signal)

baseline_histogram

A descriptor representing a device component (or signal)

baseline_threshold

A descriptor representing a device component (or signal)

calibration_energy

A descriptor representing a device component (or signal)

component_names

configuration_attrs

connected

If the device is connected.

current_pixel

A descriptor representing a device component (or signal)

decay_time

A descriptor representing a device component (or signal)

detector_polarity

A descriptor representing a device component (or signal)

dotted_name

Return the dotted name

dynamic_range

A descriptor representing a device component (or signal)

elapsed_live_time

A descriptor representing a device component (or signal)

elapsed_real_time

A descriptor representing a device component (or signal)

elapsed_trigger_live_time

A descriptor representing a device component (or signal)

energy_threshold

A descriptor representing a device component (or signal)

event_types

Events that can be subscribed to via obj.subscribe

events

A descriptor representing a device component (or signal)

gap_time

A descriptor representing a device component (or signal)

hints

input_count_rate

A descriptor representing a device component (or signal)

kind

lazy_wait_for_connection

live_time_output

A descriptor representing a device component (or signal)

max_energy

A descriptor representing a device component (or signal)

max_width

A descriptor representing a device component (or signal)

mca_bin_width

A descriptor representing a device component (or signal)

name

name of the device

output_count_rate

A descriptor representing a device component (or signal)

overflows

A descriptor representing a device component (or signal)

parent

The parent of the ophyd object.

peaking_time

A descriptor representing a device component (or signal)

preamp_gain

A descriptor representing a device component (or signal)

preset_events

A descriptor representing a device component (or signal)

preset_mode

A descriptor representing a device component (or signal)

preset_triggers

A descriptor representing a device component (or signal)

read_attrs

report

A report on the object.

reset_delay

A descriptor representing a device component (or signal)

root

Walk parents to find ultimate ancestor (parent's parent...).

signal_names

subscriptions

trace_data

A descriptor representing a device component (or signal)

trace_mode

A descriptor representing a device component (or signal)

trace_time

A descriptor representing a device component (or signal)

trace_time_array

A descriptor representing a device component (or signal)

trigger_gap_time

A descriptor representing a device component (or signal)

trigger_output

A descriptor representing a device component (or signal)

trigger_peaking_time

A descriptor representing a device component (or signal)

trigger_signals

trigger_threshold

A descriptor representing a device component (or signal)

triggers

A descriptor representing a device component (or signal)

underflows

A descriptor representing a device component (or signal)