How to use the ophyd.areadetector.cam.CamBase 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
pe_num_offset_frames = ADCpt(EpicsSignal, 'PENumOffsetFrames')
    pe_offset_available = ADCpt(EpicsSignal, 'PEOffsetAvailable')
    pe_pixel_correction_available = ADCpt(EpicsSignal,
                                          'PEPixelCorrectionAvailable')
    pe_pixel_correction_file = ADCpt(EpicsSignal, 'PEPixelCorrectionFile')
    pe_save_gain_file = ADCpt(EpicsSignal, 'PESaveGainFile')
    pe_skip_frames = ADCpt(SignalWithRBV, 'PESkipFrames')
    pe_sync_time = ADCpt(SignalWithRBV, 'PESyncTime')
    pe_system_id = ADCpt(EpicsSignal, 'PESystemID')
    pe_trigger = ADCpt(EpicsSignal, 'PETrigger')
    pe_use_gain = ADCpt(EpicsSignal, 'PEUseGain')
    pe_use_offset = ADCpt(EpicsSignal, 'PEUseOffset')
    pe_use_pixel_correction = ADCpt(EpicsSignal, 'PEUsePixelCorrection')


class PSLDetectorCam(CamBase):
    _html_docs = ['PSLDoc.html']
    file_format = ADCpt(SignalWithRBV, 'FileFormat')
    tiff_comment = ADCpt(SignalWithRBV, 'TIFFComment')


class PilatusDetectorCam(CamBase):
    _html_docs = ['pilatusDoc.html']
    alpha = ADCpt(EpicsSignal, 'Alpha')
    angle_incr = ADCpt(EpicsSignal, 'AngleIncr')
    armed = ADCpt(EpicsSignal, 'Armed')
    bad_pixel_file = ADCpt(EpicsSignal, 'BadPixelFile')
    beam_x = ADCpt(EpicsSignal, 'BeamX')
    beam_y = ADCpt(EpicsSignal, 'BeamY')
    camserver_asyn = ADCpt(EpicsSignal, 'CamserverAsyn')
    cbf_template_file = ADCpt(EpicsSignal, 'CbfTemplateFile')
    chi = ADCpt(EpicsSignal, 'Chi')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
adsc_reus_drk = ADCpt(SignalWithRBV, 'ADSCReusDrk')
    adsc_soft_reset = ADCpt(EpicsSignal, 'ADSCSoftReset')
    adsc_state = ADCpt(EpicsSignal, 'ADSCState')
    adsc_status = ADCpt(EpicsSignal, 'ADSCStatus')
    adsc_stp_ex_retry_count = ADCpt(EpicsSignal, 'ADSCStpExRtryCt')
    adsc_str_drks = ADCpt(SignalWithRBV, 'ADSCStrDrks')
    adsc_wavelen = ADCpt(SignalWithRBV, 'ADSCWavelen')

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


class AndorDetectorCam(CamBase):
    _html_docs = ['andorDoc.html']
    andor_adc_speed = ADCpt(SignalWithRBV, 'AndorADCSpeed')
    andor_accumulate_period = ADCpt(SignalWithRBV, 'AndorAccumulatePeriod')
    andor_cooler = ADCpt(SignalWithRBV, 'AndorCooler')
    andor_message = ADCpt(EpicsSignalRO, 'AndorMessage_RBV')
    andor_pre_amp_gain = ADCpt(SignalWithRBV, 'AndorPreAmpGain')
    andor_shutter_ex_ttl = ADCpt(EpicsSignal, 'AndorShutterExTTL')
    andor_shutter_mode = ADCpt(EpicsSignal, 'AndorShutterMode')
    andor_temp_status = ADCpt(EpicsSignalRO, 'AndorTempStatus_RBV')
    file_format = ADCpt(SignalWithRBV, 'FileFormat')
    pal_file_path = ADCpt(SignalWithRBV, 'PALFilePath')


class Andor3DetectorCam(CamBase):
    _html_docs = ['andor3Doc.html']
    a3_binning = ADCpt(SignalWithRBV, 'A3Binning')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
class Mar345DetectorCam(CamBase):
    _html_docs = ['Mar345Doc.html']
    abort = C(SignalWithRBV, 'Abort')
    change_mode = C(SignalWithRBV, 'ChangeMode')
    erase = C(SignalWithRBV, 'Erase')
    erase_mode = C(SignalWithRBV, 'EraseMode')
    file_format = C(SignalWithRBV, 'FileFormat')
    num_erase = C(SignalWithRBV, 'NumErase')
    num_erased = C(EpicsSignalRO, 'NumErased_RBV')
    scan_resolution = C(SignalWithRBV, 'ScanResolution')
    scan_size = C(SignalWithRBV, 'ScanSize')
    mar_server_asyn = C(EpicsSignal, 'marServerAsyn')


class MarCCDDetectorCam(CamBase):
    _html_docs = ['MarCCDDoc.html']
    beam_x = C(EpicsSignal, 'BeamX')
    beam_y = C(EpicsSignal, 'BeamY')
    dataset_comments = C(EpicsSignal, 'DatasetComments')
    detector_distance = C(EpicsSignal, 'DetectorDistance')
    file_comments = C(EpicsSignal, 'FileComments')
    file_format = C(SignalWithRBV, 'FileFormat')
    frame_shift = C(SignalWithRBV, 'FrameShift')
    mar_acquire_status = C(EpicsSignalRO, 'MarAcquireStatus_RBV')
    mar_correct_status = C(EpicsSignalRO, 'MarCorrectStatus_RBV')
    mar_dezinger_status = C(EpicsSignalRO, 'MarDezingerStatus_RBV')
    mar_readout_status = C(EpicsSignalRO, 'MarReadoutStatus_RBV')
    mar_state = C(EpicsSignalRO, 'MarState_RBV')
    mar_status = C(EpicsSignalRO, 'MarStatus_RBV')
    mar_writing_status = C(EpicsSignalRO, 'MarWritingStatus_RBV')
    overlap_mode = C(SignalWithRBV, 'OverlapMode')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
pixel_serial_size = C(EpicsSignalRO, 'PixelSerialSize_RBV')
    pixel_time = C(EpicsSignalRO, 'PixelTime_RBV')
    post_mask = C(EpicsSignalRO, 'PostMask_RBV')
    post_scan = C(EpicsSignalRO, 'PostScan_RBV')
    pre_mask = C(EpicsSignalRO, 'PreMask_RBV')
    pre_scan = C(EpicsSignalRO, 'PreScan_RBV')
    serial_num = C(EpicsSignalRO, 'SerialNum_RBV')
    set_temperature = C(SignalWithRBV, 'SetTemperature')
    slot1_cam = C(EpicsSignalRO, 'Slot1Cam_RBV')
    slot2_cam = C(EpicsSignalRO, 'Slot2Cam_RBV')
    slot3_cam = C(EpicsSignalRO, 'Slot3Cam_RBV')
    speed_table_index = C(SignalWithRBV, 'SpeedTableIndex')
    trigger_edge = C(SignalWithRBV, 'TriggerEdge')


class RoperDetectorCam(CamBase):
    _html_docs = ['RoperDoc.html']
    auto_data_type = C(SignalWithRBV, 'AutoDataType')
    comment1 = C(SignalWithRBV, 'Comment1')
    comment2 = C(SignalWithRBV, 'Comment2')
    comment3 = C(SignalWithRBV, 'Comment3')
    comment4 = C(SignalWithRBV, 'Comment4')
    comment5 = C(SignalWithRBV, 'Comment5')
    file_format = C(SignalWithRBV, 'FileFormat')
    num_acquisitions = C(SignalWithRBV, 'NumAcquisitions')
    num_acquisitions_counter = C(EpicsSignalRO, 'NumAcquisitionsCounter_RBV')
    roper_shutter_mode = C(SignalWithRBV, 'RoperShutterMode')


class URLDetectorCam(CamBase):
    _html_docs = ['URLDoc.html']
    urls = DDC(ad_group(EpicsSignal,
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
noise_filter = ADCpt(SignalWithRBV, 'NoiseFilter')
    overlap = ADCpt(SignalWithRBV, 'Overlap')
    pixel_encoding = ADCpt(SignalWithRBV, 'PixelEncoding')
    pre_amp_gain = ADCpt(SignalWithRBV, 'PreAmpGain')
    readout_rate = ADCpt(SignalWithRBV, 'ReadoutRate')
    readout_time = ADCpt(EpicsSignal, 'ReadoutTime')
    sensor_cooling = ADCpt(SignalWithRBV, 'SensorCooling')
    serial_number = ADCpt(EpicsSignal, 'SerialNumber')
    software_trigger = ADCpt(EpicsSignal, 'SoftwareTrigger')
    software_version = ADCpt(EpicsSignal, 'SoftwareVersion')
    temp_control = ADCpt(SignalWithRBV, 'TempControl')
    temp_status = ADCpt(EpicsSignalRO, 'TempStatus_RBV')
    transfer_rate = ADCpt(EpicsSignal, 'TransferRate')


class BrukerDetectorCam(CamBase):
    _html_docs = ['BrukerDoc.html']
    bis_asyn = ADCpt(EpicsSignal, 'BISAsyn')
    bis_status = ADCpt(EpicsSignal, 'BISStatus')
    file_format = ADCpt(SignalWithRBV, 'FileFormat')
    num_darks = ADCpt(SignalWithRBV, 'NumDarks')
    read_sfrm_timeout = ADCpt(EpicsSignal, 'ReadSFRMTimeout')


class DexelaDetectorCam(CamBase):
    acquire_gain = ADCpt(EpicsSignal, 'DEXAcquireGain')
    acquire_offset = ADCpt(EpicsSignal, 'DEXAcquireOffset')
    binning_mode = ADCpt(SignalWithRBV, 'DEXBinningMode')
    corrections_dir = ADCpt(EpicsSignal, 'DEXCorrectionsDir', string=True)
    current_gain_frame = ADCpt(EpicsSignal, 'DEXCurrentGainFrame')
    current_offset_frame = ADCpt(EpicsSignal, 'DEXCurrentOffsetFrame')
    defect_map_available = ADCpt(EpicsSignal, 'DEXDefectMapAvailable')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
software_version = C(EpicsSignal, 'SoftwareVersion')
    temp_control = C(SignalWithRBV, 'TempControl')
    temp_status = C(EpicsSignalRO, 'TempStatus_RBV')
    transfer_rate = C(EpicsSignal, 'TransferRate')


class BrukerDetectorCam(CamBase):
    _html_docs = ['BrukerDoc.html']
    bis_asyn = C(EpicsSignal, 'BISAsyn')
    bis_status = C(EpicsSignal, 'BISStatus')
    file_format = C(SignalWithRBV, 'FileFormat')
    num_darks = C(SignalWithRBV, 'NumDarks')
    read_sfrm_timeout = C(EpicsSignal, 'ReadSFRMTimeout')


class FirewireLinDetectorCam(CamBase):
    _html_docs = []

    bandwidth = C(EpicsSignal, 'BANDWIDTH')
    fanout_disable = C(EpicsSignal, 'FanoutDis')
    framerate_max = C(SignalWithRBV, 'FR')
    is_fixed_mode = C(EpicsSignal, 'IsFixedMode')
    video_mode = C(EpicsSignal, 'VIDEOMODE')


class FirewireWinDetectorCam(CamBase):
    _html_docs = ['FirewireWinDoc.html']
    colorcode = C(SignalWithRBV, 'COLORCODE')
    current_colorcode = C(EpicsSignal, 'CURRENT_COLORCODE')
    current_format = C(EpicsSignal, 'CURRENT_FORMAT')
    current_mode = C(EpicsSignal, 'CURRENT_MODE')
    current_rate = C(EpicsSignal, 'CURRENT_RATE')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
trig = C(EpicsSignal, 'DIO:TRIG')
    trig_when_ready = C(EpicsSignal, 'DIO:TrigWhenReady')


class PcoDetectorSimIO(ADBase):
    _html_docs = ['']
    busy = C(EpicsSignal, 'SIM:BUSY')
    dfan = C(EpicsSignal, 'SIM:Dfan')
    exposing = C(EpicsSignal, 'SIM:EXPOSING')
    set_busy = C(EpicsSignal, 'SIM:SetBusy')
    set_exp = C(EpicsSignal, 'SIM:SetExp')
    set_state = C(EpicsSignal, 'SIM:SetState')
    trig = C(EpicsSignal, 'SIM:TRIG')


class PerkinElmerDetectorCam(CamBase):
    _html_docs = ['PerkinElmerDoc.html']
    pe_acquire_gain = C(EpicsSignal, 'PEAcquireGain')
    pe_acquire_offset = C(EpicsSignal, 'PEAcquireOffset')
    pe_corrections_dir = C(EpicsSignal, 'PECorrectionsDir')
    pe_current_gain_frame = C(EpicsSignal, 'PECurrentGainFrame')
    pe_current_offset_frame = C(EpicsSignal, 'PECurrentOffsetFrame')
    pe_dwell_time = C(SignalWithRBV, 'PEDwellTime')
    pe_frame_buff_index = C(EpicsSignal, 'PEFrameBuffIndex')
    pe_gain = C(SignalWithRBV, 'PEGain')
    pe_gain_available = C(EpicsSignal, 'PEGainAvailable')
    pe_gain_file = C(EpicsSignal, 'PEGainFile')
    pe_image_number = C(EpicsSignal, 'PEImageNumber')
    pe_initialize = C(EpicsSignal, 'PEInitialize')
    pe_load_gain_file = C(EpicsSignal, 'PELoadGainFile')
    pe_load_pixel_correction = C(EpicsSignal, 'PELoadPixelCorrection')
    pe_num_frame_buffers = C(SignalWithRBV, 'PENumFrameBuffers')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
num_accumulations = C(SignalWithRBV, 'NumAccumulations')
    ready_to_run = C(EpicsSignal, 'LFReadyToRun')
    rep_gate_delay = C(SignalWithRBV, 'LFRepGateDelay')
    rep_gate_width = C(SignalWithRBV, 'LFRepGateWidth')
    seq_end_gate_delay = C(SignalWithRBV, 'LFSeqEndGateDelay')
    seq_end_gate_width = C(SignalWithRBV, 'LFSeqEndGateWidth')
    seq_start_gate_delay = C(SignalWithRBV, 'LFSeqStartGateDelay')
    seq_start_gate_width = C(SignalWithRBV, 'LFSeqStartGateWidth')
    lf_shutter_mode = C(SignalWithRBV, 'LFShutterMode')
    sync_master2_delay = C(SignalWithRBV, 'LFSyncMaster2Delay')
    sync_master_enable = C(SignalWithRBV, 'LFSyncMasterEnable')
    trigger_frequency = C(SignalWithRBV, 'LFTriggerFrequency')
    update_experiments = C(EpicsSignal, 'LFUpdateExperiments')


class Mar345DetectorCam(CamBase):
    _html_docs = ['Mar345Doc.html']
    abort = C(SignalWithRBV, 'Abort')
    change_mode = C(SignalWithRBV, 'ChangeMode')
    erase = C(SignalWithRBV, 'Erase')
    erase_mode = C(SignalWithRBV, 'EraseMode')
    file_format = C(SignalWithRBV, 'FileFormat')
    num_erase = C(SignalWithRBV, 'NumErase')
    num_erased = C(EpicsSignalRO, 'NumErased_RBV')
    scan_resolution = C(SignalWithRBV, 'ScanResolution')
    scan_size = C(SignalWithRBV, 'ScanSize')
    mar_server_asyn = C(EpicsSignal, 'marServerAsyn')


class MarCCDDetectorCam(CamBase):
    _html_docs = ['MarCCDDoc.html']
    beam_x = C(EpicsSignal, 'BeamX')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
skip_frames = ADCpt(SignalWithRBV, 'SkipFrames')
    software_trigger = ADCpt(EpicsSignal, 'SoftwareTrigger')
    software_version = ADCpt(EpicsSignal, 'SoftwareVersion')
    strobe_delay = ADCpt(SignalWithRBV, 'StrobeDelay')
    strobe_duration = ADCpt(SignalWithRBV, 'StrobeDuration')
    strobe_enable = ADCpt(SignalWithRBV, 'StrobeEnable')
    strobe_polarity = ADCpt(SignalWithRBV, 'StrobePolarity')
    strobe_source = ADCpt(SignalWithRBV, 'StrobeSource')
    time_stamp_mode = ADCpt(SignalWithRBV, 'TimeStampMode')
    transmit_failed = ADCpt(EpicsSignalRO, 'TransmitFailed_RBV')
    trigger_polarity = ADCpt(SignalWithRBV, 'TriggerPolarity')
    trigger_source = ADCpt(SignalWithRBV, 'TriggerSource')
    video_mode = ADCpt(SignalWithRBV, 'VideoMode')


class ProsilicaDetectorCam(CamBase):
    _html_docs = ['prosilicaDoc.html']
    ps_bad_frame_counter = ADCpt(EpicsSignalRO, 'PSBadFrameCounter_RBV')
    ps_byte_rate = ADCpt(SignalWithRBV, 'PSByteRate')
    ps_driver_type = ADCpt(EpicsSignalRO, 'PSDriverType_RBV')
    ps_filter_version = ADCpt(EpicsSignalRO, 'PSFilterVersion_RBV')
    ps_frame_rate = ADCpt(EpicsSignalRO, 'PSFrameRate_RBV')
    ps_frames_completed = ADCpt(EpicsSignalRO, 'PSFramesCompleted_RBV')
    ps_frames_dropped = ADCpt(EpicsSignalRO, 'PSFramesDropped_RBV')
    ps_packet_size = ADCpt(EpicsSignalRO, 'PSPacketSize_RBV')
    ps_packets_erroneous = ADCpt(EpicsSignalRO, 'PSPacketsErroneous_RBV')
    ps_packets_missed = ADCpt(EpicsSignalRO, 'PSPacketsMissed_RBV')
    ps_packets_received = ADCpt(EpicsSignalRO, 'PSPacketsReceived_RBV')
    ps_packets_requested = ADCpt(EpicsSignalRO, 'PSPacketsRequested_RBV')
    ps_packets_resent = ADCpt(EpicsSignalRO, 'PSPacketsResent_RBV')
    ps_read_statistics = ADCpt(EpicsSignal, 'PSReadStatistics')
    ps_reset_timer = ADCpt(EpicsSignal, 'PSResetTimer')
github bluesky / ophyd / ophyd / areadetector / cam.py View on Github external
))

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


class AreaDetectorCam(CamBase):
    pass


class SimDetectorCam(CamBase):
    _html_docs = ['simDetectorDoc.html']
    gain_rgb = DDC(ad_group(SignalWithRBV,
                            (('gain_red', 'GainRed'),
                             ('gain_green', 'GainGreen'),
                             ('gain_blue', 'GainBlue'))),
                   doc='Gain rgb components')
    gain_xy = DDC(ad_group(SignalWithRBV,
                           (('gain_x', 'GainX'),
                            ('gain_y', 'GainY'))),
                  doc='Gain in XY')

    noise = C(SignalWithRBV, 'Noise')
    peak_num = DDC(ad_group(SignalWithRBV,
                            (('peak_num_x', 'PeakNumX'),
                             ('peak_num_y', 'PeakNumY'))),
                   doc='Peak number in XY')