How to use the ophyd.areadetector.base.ADComponent function in ophyd

To help you get started, we’ve selected a few ophyd examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
ps_frame_rate = C(EpicsSignalRO, 'PSFrameRate_RBV')
    ps_frames_completed = C(EpicsSignalRO, 'PSFramesCompleted_RBV')
    ps_frames_dropped = C(EpicsSignalRO, 'PSFramesDropped_RBV')
    ps_packet_size = C(EpicsSignalRO, 'PSPacketSize_RBV')
    ps_packets_erroneous = C(EpicsSignalRO, 'PSPacketsErroneous_RBV')
    ps_packets_missed = C(EpicsSignalRO, 'PSPacketsMissed_RBV')
    ps_packets_received = C(EpicsSignalRO, 'PSPacketsReceived_RBV')
    ps_packets_requested = C(EpicsSignalRO, 'PSPacketsRequested_RBV')
    ps_packets_resent = C(EpicsSignalRO, 'PSPacketsResent_RBV')
    ps_read_statistics = C(EpicsSignal, 'PSReadStatistics')
    ps_reset_timer = C(EpicsSignal, 'PSResetTimer')
    ps_timestamp_type = C(SignalWithRBV, 'PSTimestampType')
    strobe1_ctl_duration = C(SignalWithRBV, 'Strobe1CtlDuration')
    strobe1_delay = C(SignalWithRBV, 'Strobe1Delay')
    strobe1_duration = C(SignalWithRBV, 'Strobe1Duration')
    strobe1_mode = C(SignalWithRBV, 'Strobe1Mode')
    sync_in1_level = C(EpicsSignalRO, 'SyncIn1Level_RBV')
    sync_in2_level = C(EpicsSignalRO, 'SyncIn2Level_RBV')
    sync_out1_invert = C(SignalWithRBV, 'SyncOut1Invert')
    sync_out1_level = C(SignalWithRBV, 'SyncOut1Level')
    sync_out1_mode = C(SignalWithRBV, 'SyncOut1Mode')
    sync_out2_invert = C(SignalWithRBV, 'SyncOut2Invert')
    sync_out2_level = C(SignalWithRBV, 'SyncOut2Level')
    sync_out2_mode = C(SignalWithRBV, 'SyncOut2Mode')
    sync_out3_invert = C(SignalWithRBV, 'SyncOut3Invert')
    sync_out3_level = C(SignalWithRBV, 'SyncOut3Level')
    sync_out3_mode = C(SignalWithRBV, 'SyncOut3Mode')
    trigger_delay = C(SignalWithRBV, 'TriggerDelay')
    trigger_event = C(SignalWithRBV, 'TriggerEvent')
    trigger_overlap = C(SignalWithRBV, 'TriggerOverlap')
    trigger_software = C(EpicsSignal, 'TriggerSoftware')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
tvx_version = ADCpt(EpicsSignalRO, 'TVXVersion_RBV')
    temp0 = ADCpt(EpicsSignalRO, 'Temp0_RBV')
    temp1 = ADCpt(EpicsSignalRO, 'Temp1_RBV')
    temp2 = ADCpt(EpicsSignalRO, 'Temp2_RBV')
    threshold_apply = ADCpt(EpicsSignal, 'ThresholdApply')
    threshold_auto_apply = ADCpt(SignalWithRBV, 'ThresholdAutoApply')
    threshold_energy = ADCpt(SignalWithRBV, 'ThresholdEnergy')
    wavelength = ADCpt(EpicsSignal, 'Wavelength')


class PixiradDetectorCam(CamBase):
    _html_docs = ['PixiradDoc.html']

    auto_calibrate = ADCpt(EpicsSignal, 'AutoCalibrate')
    humidity_box = ADCpt(EpicsSignalRO, 'BoxHumidity_RBV')
    colors_collected = ADCpt(EpicsSignalRO, 'ColorsCollected_RBV')
    cooling_state = ADCpt(SignalWithRBV, 'CoolingState')
    cooling_status = ADCpt(EpicsSignalRO, 'CoolingStatus_RBV')
    dew_point = ADCpt(EpicsSignalRO, 'DewPoint_RBV')
    frame_type = ADCpt(SignalWithRBV, 'FrameType')
    hv_actual = ADCpt(EpicsSignalRO, 'HVActual_RBV')
    hv_current = ADCpt(EpicsSignalRO, 'HVCurrent_RBV')
    hv_mode = ADCpt(SignalWithRBV, 'HVMode')
    hv_state = ADCpt(SignalWithRBV, 'HVState')
    hv_value = ADCpt(SignalWithRBV, 'HVValue')
    peltier_power = ADCpt(EpicsSignalRO, 'PeltierPower_RBV')
    sync_in_polarity = ADCpt(SignalWithRBV, 'SyncInPolarity')
    sync_out_function = ADCpt(SignalWithRBV, 'SyncOutFunction')
    sync_out_polarity = ADCpt(SignalWithRBV, 'SyncOutPolarity')
    system_reset = ADCpt(EpicsSignal, 'SystemReset')

    temperature = ADCpt(SignalWithRBV, 'Temperature')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
strobe_delay = C(SignalWithRBV, 'StrobeDelay')
    strobe_duration = C(SignalWithRBV, 'StrobeDuration')
    strobe_enable = C(SignalWithRBV, 'StrobeEnable')
    strobe_polarity = C(SignalWithRBV, 'StrobePolarity')
    strobe_source = C(SignalWithRBV, 'StrobeSource')
    time_stamp_mode = C(SignalWithRBV, 'TimeStampMode')
    transmit_failed = C(EpicsSignalRO, 'TransmitFailed_RBV')
    trigger_polarity = C(SignalWithRBV, 'TriggerPolarity')
    trigger_source = C(SignalWithRBV, 'TriggerSource')
    video_mode = C(SignalWithRBV, 'VideoMode')


class ProsilicaDetectorCam(CamBase):
    _html_docs = ['prosilicaDoc.html']
    ps_bad_frame_counter = C(EpicsSignalRO, 'PSBadFrameCounter_RBV')
    ps_byte_rate = C(SignalWithRBV, 'PSByteRate')
    ps_driver_type = C(EpicsSignalRO, 'PSDriverType_RBV')
    ps_filter_version = C(EpicsSignalRO, 'PSFilterVersion_RBV')
    ps_frame_rate = C(EpicsSignalRO, 'PSFrameRate_RBV')
    ps_frames_completed = C(EpicsSignalRO, 'PSFramesCompleted_RBV')
    ps_frames_dropped = C(EpicsSignalRO, 'PSFramesDropped_RBV')
    ps_packet_size = C(EpicsSignalRO, 'PSPacketSize_RBV')
    ps_packets_erroneous = C(EpicsSignalRO, 'PSPacketsErroneous_RBV')
    ps_packets_missed = C(EpicsSignalRO, 'PSPacketsMissed_RBV')
    ps_packets_received = C(EpicsSignalRO, 'PSPacketsReceived_RBV')
    ps_packets_requested = C(EpicsSignalRO, 'PSPacketsRequested_RBV')
    ps_packets_resent = C(EpicsSignalRO, 'PSPacketsResent_RBV')
    ps_read_statistics = C(EpicsSignal, 'PSReadStatistics')
    ps_reset_timer = C(EpicsSignal, 'PSResetTimer')
    ps_timestamp_type = C(SignalWithRBV, 'PSTimestampType')
    strobe1_ctl_duration = C(SignalWithRBV, 'Strobe1CtlDuration')
    strobe1_delay = C(SignalWithRBV, 'Strobe1Delay')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
bin_y = C(SignalWithRBV, 'BinY')
    color_mode = C(SignalWithRBV, 'ColorMode')
    data_type = C(SignalWithRBV, 'DataType')
    detector_state = C(EpicsSignalRO, 'DetectorState_RBV')
    frame_type = C(SignalWithRBV, 'FrameType')
    gain = C(SignalWithRBV, 'Gain')

    image_mode = C(SignalWithRBV, 'ImageMode')
    manufacturer = C(EpicsSignalRO, 'Manufacturer_RBV')

    max_size = DDC(ad_group(EpicsSignalRO,
                            (('max_size_x', 'MaxSizeX_RBV'),
                             ('max_size_y', 'MaxSizeY_RBV'))),
                   doc='Maximum sensor size in the XY directions')

    min_x = C(SignalWithRBV, 'MinX')
    min_y = C(SignalWithRBV, 'MinY')
    model = C(EpicsSignalRO, 'Model_RBV')

    num_exposures = C(SignalWithRBV, 'NumExposures')
    num_exposures_counter = C(EpicsSignalRO, 'NumExposuresCounter_RBV')
    num_images = C(SignalWithRBV, 'NumImages')
    num_images_counter = C(EpicsSignalRO, 'NumImagesCounter_RBV')

    read_status = C(EpicsSignal, 'ReadStatus')
    reverse = DDC(ad_group(SignalWithRBV,
                           (('reverse_x', 'ReverseX'),
                            ('reverse_y', 'ReverseY'))
                           ))

    shutter_close_delay = C(SignalWithRBV, 'ShutterCloseDelay')
    shutter_close_epics = C(EpicsSignal, 'ShutterCloseEPICS')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
bandwidth = C(EpicsSignal, 'Bandwidth')
    binning_mode = C(SignalWithRBV, 'BinningMode')
    convert_pixel_format = C(SignalWithRBV, 'ConvertPixelFormat')
    corrupt_frames = C(EpicsSignalRO, 'CorruptFrames_RBV')
    driver_dropped = C(EpicsSignalRO, 'DriverDropped_RBV')
    dropped_frames = C(EpicsSignalRO, 'DroppedFrames_RBV')
    firmware_version = C(EpicsSignal, 'FirmwareVersion')
    format7_mode = C(SignalWithRBV, 'Format7Mode')
    frame_rate = C(SignalWithRBV, 'FrameRate')
    max_packet_size = C(EpicsSignal, 'MaxPacketSize')
    packet_delay_actual = C(EpicsSignal, 'PacketDelayActual')
    packet_delay = C(SignalWithRBV, 'PacketDelay')
    packet_size_actual = C(EpicsSignal, 'PacketSizeActual')
    packet_size = C(SignalWithRBV, 'PacketSize')
    pixel_format = C(SignalWithRBV, 'PixelFormat')
    read_status = C(EpicsSignal, 'ReadStatus')
    serial_number = C(EpicsSignal, 'SerialNumber')
    skip_frames = C(SignalWithRBV, 'SkipFrames')
    software_trigger = C(EpicsSignal, 'SoftwareTrigger')
    software_version = C(EpicsSignal, 'SoftwareVersion')
    strobe_delay = C(SignalWithRBV, 'StrobeDelay')
    strobe_duration = C(SignalWithRBV, 'StrobeDuration')
    strobe_enable = C(SignalWithRBV, 'StrobeEnable')
    strobe_polarity = C(SignalWithRBV, 'StrobePolarity')
    strobe_source = C(SignalWithRBV, 'StrobeSource')
    time_stamp_mode = C(SignalWithRBV, 'TimeStampMode')
    transmit_failed = C(EpicsSignalRO, 'TransmitFailed_RBV')
    trigger_polarity = C(SignalWithRBV, 'TriggerPolarity')
    trigger_source = C(SignalWithRBV, 'TriggerSource')
    video_mode = C(SignalWithRBV, 'VideoMode')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
acquire = C(SignalWithRBV, 'Acquire')
    acquire_period = C(SignalWithRBV, 'AcquirePeriod')
    acquire_time = C(SignalWithRBV, 'AcquireTime')

    array_callbacks = C(SignalWithRBV, 'ArrayCallbacks')
    array_size = DDC(ad_group(EpicsSignalRO,
                              (('array_size_x', 'ArraySizeX_RBV'),
                               ('array_size_y', 'ArraySizeY_RBV'),
                               ('array_size_z', 'ArraySizeZ_RBV'))),
                     doc='Size of the array in the XYZ dimensions')

    array_size_bytes = C(EpicsSignalRO, 'ArraySize_RBV')
    bin_x = C(SignalWithRBV, 'BinX')
    bin_y = C(SignalWithRBV, 'BinY')
    color_mode = C(SignalWithRBV, 'ColorMode')
    data_type = C(SignalWithRBV, 'DataType')
    detector_state = C(EpicsSignalRO, 'DetectorState_RBV')
    frame_type = C(SignalWithRBV, 'FrameType')
    gain = C(SignalWithRBV, 'Gain')

    image_mode = C(SignalWithRBV, 'ImageMode')
    manufacturer = C(EpicsSignalRO, 'Manufacturer_RBV')

    max_size = DDC(ad_group(EpicsSignalRO,
                            (('max_size_x', 'MaxSizeX_RBV'),
                             ('max_size_y', 'MaxSizeY_RBV'))),
                   doc='Maximum sensor size in the XY directions')

    min_x = C(SignalWithRBV, 'MinX')
    min_y = C(SignalWithRBV, 'MinY')
    model = C(EpicsSignalRO, 'Model_RBV')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
energy_low = ADCpt(EpicsSignal, 'EnergyLow')
    file_format = ADCpt(SignalWithRBV, 'FileFormat')
    filter_transm = ADCpt(EpicsSignal, 'FilterTransm')
    flat_field_file = ADCpt(EpicsSignal, 'FlatFieldFile')
    flat_field_valid = ADCpt(EpicsSignal, 'FlatFieldValid')
    flux = ADCpt(EpicsSignal, 'Flux')
    gain_menu = ADCpt(EpicsSignal, 'GainMenu')
    gap_fill = ADCpt(SignalWithRBV, 'GapFill')
    header_string = ADCpt(EpicsSignal, 'HeaderString')
    humid0 = ADCpt(EpicsSignalRO, 'Humid0_RBV')
    humid1 = ADCpt(EpicsSignalRO, 'Humid1_RBV')
    humid2 = ADCpt(EpicsSignalRO, 'Humid2_RBV')
    image_file_tmot = ADCpt(EpicsSignal, 'ImageFileTmot')
    kappa = ADCpt(EpicsSignal, 'Kappa')
    min_flat_field = ADCpt(SignalWithRBV, 'MinFlatField')
    num_bad_pixels = ADCpt(EpicsSignal, 'NumBadPixels')
    num_oscill = ADCpt(EpicsSignal, 'NumOscill')
    oscill_axis = ADCpt(EpicsSignal, 'OscillAxis')
    phi = ADCpt(EpicsSignal, 'Phi')
    pixel_cut_off = ADCpt(EpicsSignalRO, 'PixelCutOff_RBV')
    polarization = ADCpt(EpicsSignal, 'Polarization')
    start_angle = ADCpt(EpicsSignal, 'StartAngle')
    tvx_version = ADCpt(EpicsSignalRO, 'TVXVersion_RBV')
    temp0 = ADCpt(EpicsSignalRO, 'Temp0_RBV')
    temp1 = ADCpt(EpicsSignalRO, 'Temp1_RBV')
    temp2 = ADCpt(EpicsSignalRO, 'Temp2_RBV')
    threshold_apply = ADCpt(EpicsSignal, 'ThresholdApply')
    threshold_auto_apply = ADCpt(SignalWithRBV, 'ThresholdAutoApply')
    threshold_energy = ADCpt(SignalWithRBV, 'ThresholdEnergy')
    wavelength = ADCpt(EpicsSignal, 'Wavelength')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
read_status = ADCpt(EpicsSignal, 'ReadStatus')
    reverse = DDC(ad_group(SignalWithRBV,
                           (('reverse_x', 'ReverseX'),
                            ('reverse_y', 'ReverseY'))
                           ))

    shutter_close_delay = ADCpt(SignalWithRBV, 'ShutterCloseDelay')
    shutter_close_epics = ADCpt(EpicsSignal, 'ShutterCloseEPICS')
    shutter_control = ADCpt(SignalWithRBV, 'ShutterControl')
    shutter_control_epics = ADCpt(EpicsSignal, 'ShutterControlEPICS')
    shutter_fanout = ADCpt(EpicsSignal, 'ShutterFanout')
    shutter_mode = ADCpt(SignalWithRBV, 'ShutterMode')
    shutter_open_delay = ADCpt(SignalWithRBV, 'ShutterOpenDelay')
    shutter_open_epics = ADCpt(EpicsSignal, 'ShutterOpenEPICS')
    shutter_status_epics = ADCpt(EpicsSignalRO, 'ShutterStatusEPICS_RBV')
    shutter_status = ADCpt(EpicsSignalRO, 'ShutterStatus_RBV')

    size = DDC(ad_group(SignalWithRBV,
                        (('size_x', 'SizeX'),
                         ('size_y', 'SizeY'))
                        ))

    status_message = ADCpt(EpicsSignalRO, 'StatusMessage_RBV', string=True)
    string_from_server = ADCpt(EpicsSignalRO, 'StringFromServer_RBV', string=True)
    string_to_server = ADCpt(EpicsSignalRO, 'StringToServer_RBV', string=True)
    temperature = ADCpt(SignalWithRBV, 'Temperature')
    temperature_actual = ADCpt(EpicsSignal, 'TemperatureActual')
    time_remaining = ADCpt(EpicsSignalRO, 'TimeRemaining_RBV')
    trigger_mode = ADCpt(SignalWithRBV, 'TriggerMode')


class AreaDetectorCam(CamBase):
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
adsc_kappa = C(SignalWithRBV, 'ADSCKappa')
    adsc_last_error = C(EpicsSignal, 'ADSCLastError')
    adsc_last_image = C(EpicsSignal, 'ADSCLastImage')
    adsc_omega = C(SignalWithRBV, 'ADSCOmega')
    adsc_phi = C(SignalWithRBV, 'ADSCPhi')
    adsc_raw = C(SignalWithRBV, 'ADSCRaw')
    adsc_read_conditn = C(EpicsSignal, 'ADSCReadConditn')
    adsc_reus_drk = C(SignalWithRBV, 'ADSCReusDrk')
    adsc_soft_reset = C(EpicsSignal, 'ADSCSoftReset')
    adsc_state = C(EpicsSignal, 'ADSCState')
    adsc_status = C(EpicsSignal, 'ADSCStatus')
    adsc_stp_ex_retry_count = C(EpicsSignal, 'ADSCStpExRtryCt')
    adsc_str_drks = C(SignalWithRBV, 'ADSCStrDrks')
    adsc_wavelen = C(SignalWithRBV, 'ADSCWavelen')

    bin_x_changed = C(EpicsSignal, 'BinXChanged')
    bin_y_changed = C(EpicsSignal, 'BinYChanged')
    ext_trig_ctl = C(EpicsSignal, 'ExSwTrCtl')
    ext_trig_ctl_rsp = C(EpicsSignal, 'ExSwTrCtlRsp')
    ext_trig_ok_to_exp = C(EpicsSignal, 'ExSwTrOkToExp')


class AndorDetectorCam(CamBase):
    _html_docs = ['andorDoc.html']
    andor_adc_speed = C(SignalWithRBV, 'AndorADCSpeed')
    andor_accumulate_period = C(SignalWithRBV, 'AndorAccumulatePeriod')
    andor_cooler = C(SignalWithRBV, 'AndorCooler')
    andor_message = C(EpicsSignalRO, 'AndorMessage_RBV')
    andor_pre_amp_gain = C(SignalWithRBV, 'AndorPreAmpGain')
    andor_shutter_ex_ttl = C(EpicsSignal, 'AndorShutterExTTL')
    andor_shutter_mode = C(EpicsSignal, 'AndorShutterMode')
    andor_temp_status = C(EpicsSignalRO, 'AndorTempStatus_RBV')
github bluesky / ophyd / ophyd / areadetector / plugins.py View on Github external
blocking_callbacks = C(SignalWithRBV, 'BlockingCallbacks',
                           string=True)
    color_mode = C(EpicsSignalRO, 'ColorMode_RBV')
    data_type = C(EpicsSignalRO, 'DataType_RBV', string=True)

    dim0_sa = C(EpicsSignal, 'Dim0SA')
    dim1_sa = C(EpicsSignal, 'Dim1SA')
    dim2_sa = C(EpicsSignal, 'Dim2SA')
    dim_sa = DDC(ad_group(EpicsSignal,
                          (('dim0', 'Dim0SA'),
                           ('dim1', 'Dim1SA'),
                           ('dim2', 'Dim2SA'))),
                 doc='Dimension sub-arrays',
                 default_read_attrs=('dim0', 'dim1', 'dim2'))

    dimensions = C(EpicsSignalRO, 'Dimensions_RBV')
    dropped_arrays = C(SignalWithRBV, 'DroppedArrays')
    enable = C(SignalWithRBV, 'EnableCallbacks', string=True)
    min_callback_time = C(SignalWithRBV, 'MinCallbackTime')
    nd_array_address = C(SignalWithRBV, 'NDArrayAddress')
    nd_array_port = C(SignalWithRBV, 'NDArrayPort')
    ndimensions = C(EpicsSignalRO, 'NDimensions_RBV')
    plugin_type = C(EpicsSignalRO, 'PluginType_RBV')

    queue_free = C(EpicsSignal, 'QueueFree')
    queue_free_low = C(EpicsSignal, 'QueueFreeLow')
    queue_size = C(EpicsSignal, 'QueueSize')
    queue_use = C(EpicsSignal, 'QueueUse')
    queue_use_high = C(EpicsSignal, 'QueueUseHIGH')
    queue_use_hihi = C(EpicsSignal, 'QueueUseHIHI')
    time_stamp = C(EpicsSignalRO, 'TimeStamp_RBV')
    unique_id = C(EpicsSignalRO, 'UniqueId_RBV')