Development status:
New development,
Release: 1.0
Information status: Updated
Repository:
http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Acquisition/2D/LMScreen/
Contact:
Class Description
Tine Camera via pyTine interface (only working in python3)
Families: Acquisition
Key words:
Platform: Unix Like
Language: Python
License: GPL
Contact:
Hardware
Manufacturer: none
Bus: Not Applicable
Class interface
Attributes:
Name | Description |
---|---|
SubtractBackgroundScalar: DevBoolean | — |
BackgroundSigmasScalar: DevDouble | — |
Max_XScalar: DevDouble | x coordinate of intensity maxumum within ROI |
Max_YScalar: DevDouble | y coordinate of intensity maxumum within ROI |
Max_IntensityScalar: DevDouble | maxumum intensity value in ROI |
COM_XScalar: DevDouble | x coordinate of ROI`s center of mass |
COM_YScalar: DevDouble | y coordinate of ROI`s center of mass |
FWHM_XScalar: DevDouble | horizontal size of peak wihtin ROI |
FWHM_YScalar: DevDouble | vertical size of peak wihtin ROI |
ROI_SUMScalar: DevDouble | sum of intensity over ROI |
Value_ParameterScalar: DevString | which parameter will be use as a ``source`` for Sardana. Can be `max_i`, `max_x`, `max_y`, `com_x`, `com_y`, `fwhm_x`, `fwhm_y`, `sum` |
ValueScalar: DevDouble | value to be passed to Sardana |
ROI_XScalar: DevLong | x coordinate of left top ROI corner |
ROI_YScalar: DevLong | y coordinate of left top ROI corner |
ROI_WScalar: DevLong | ROI width |
ROI_HScalar: DevLong | ROI height |
GainScalar: DevLong | — |
GainMaxScalar: DevLong | — |
GainMinScalar: DevLong | — |
ExposureTimeScalar: DevDouble | — |
ExposureTimeMinScalar: DevDouble | — |
ExposureTimeMaxScalar: DevDouble | — |
Max_FPSScalar: DevDouble | Set the maximum refresh rate for camera |
FrameImage: DevDouble | — |
Commands:
Name | Description |
---|---|
StateInput: DevVoid Output: State Device state |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
StatusInput: DevVoid Output: ConstDevString Device status |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
Pipes:
Properties:
Name | Description |
---|---|
BeamlineDevString | Beamline name: P01, P02, P03, P04, P05, P06, P07, P08, P09, P10, P11, P12, P13, P14, P21a, P21b, P22, P23, P24, P25, P61, P62, P63, P64, P65, P66 |
ScreenDevString | LM Screen number: 1, 2, etc. |
Flip_VDevShort | If True - image will be flipped vertically |
Flip_HDevShort | If True - the image will be flipped horizontally |
RotateDevShort | define the rotation angle in 90 deg steps (!!). E.g. Rotate_Angle = 3 means 270 deg rotation |
Please log in to comment.
README
b'# LMScreen server\r\n\r\n###General info:\r\nThis is small server to acquire image from Tine and to do simple analysis of picture\r\n\r\nThe server is better to use with the CameraViewer utility.\r\n\r\n###Properties:\r\nBeamline: name of the beamline: P01, P02, P03, P04, P05, P06, P07, P08, P09, P10, P11, P12, P13, P14, P21a, P21b, P22, P23, P24, P25, P61, P62, P63, P64, P65, P66\r\n\r\nScreen: LM Screen number: 1, 2, etc. \r\n\r\nList of accessible screens is down\r\n\r\nFlip_V: If 1- image will be flipped vertically\r\n\r\nFlip_H: If 1- image will be flipped horizontally\r\n\r\nRotate: define the rotation angle in 90 deg steps (!!). E.g. Rotate_Angle = 3 means 270 deg rotation\r\n\r\n###Operation:\r\nThe analysis is performed in the rectangle, defined by roi_x, roi_y, roi_w, roi_h attributes. In case if the roi_w, roi_h are 0 - the whole picture is analyzed.\r\n\r\nThe following parameters are calculated:\r\n\r\nsum - sum of intensities \r\nmax_intensity - the maximum value\r\nmax_x, max_y - position of center of mass\r\ncom_x, com_y - position of center of mass\r\nfwhm_x, fwhm_y - horizontal and vertical size of half maximum of peak\r\nConnection to Sardana:\r\nThe server has a variable "value" attribute, which can act as a source for the Sardana scans.\r\n\r\nThe parameter, which should be passed to "value", selected by "scan_parameter" attribute. It could be: "max_i", "max_x", "max_y", "com_x", "com_y", "fwhm_x", "fwhm_y", "sum"\r\n\r\nThis is the example of entry to the online.xml, to add server to nxselector :\r\n\r\n\r\n<device>\r\n<name>lm4_value</name>\r\n<type>counter</type>\r\n<module>tangoattributectctrl</module>\r\n<device>p23/lmscreen/lm4/value</device>\r\n<control>tango</control>\r\n<hostname>hasep23oh:10000</hostname>\r\n</device>\r\n
\r\n\r\n### List of accessible screens (on 22.02.2022):\r\n\r\n-------------------------------------------------\r\n| Beamline | Full access | Only frame | No access|\r\n|----------|-------------|------------|----------|\r\n|P01 | LM0 LM1 | | |\r\n|P02 | LM0 LM1 | | |\r\n|P03 | | | LM0 LM1 | \r\n|P04 | LM0 LM1 | | |\r\n|P05 | LM0 LM1 | | |\r\n|P06 | LM0 LM1 | | |\r\n|P07 | LM0 LM1 | | |\r\n|P08 | LM0 LM1 | | |\r\n|P09 | LM1 | | LM0 |\r\n|P10 | LM0 LM1 LM2 LM3 LM4 | | LM5|\r\n|P11 | LM0 LM1 LM2 LM3 | | | \r\n|P12 | | | LM0 LM1 |\r\n|P13 | LM0 LM1 | | |\r\n|P14 | LM0 LM1 | | |\r\n|P21a | LM0 LM1 LM3 LM3 LM5 | | LM4 |\r\n|P21b | LM0 LM1 LM3 LM3 LM5 | | LM4 LM6 |\r\n|P22 | LM0 LM1 LM2 LM3 LM4 LM5 LM6 LM7 LM8 LM9 | | |\r\n|P23 | LM0 LM1 LM2 LM3 LM4 LM5 LM6 LM7 LM8 | | |\r\n|P24 | LM0 LM1 LM2 LM3 | LM6 | LM4 LM5 LM7 LM8 LM9|\r\n|P25 | LM0 | | |\r\n|P61 | LM0 LM2 LM3 LM4 LM5 LM6 LM7 LM8 | | LM1 LM9 |\r\n|P62 | LM0 LM1 LM2 LM3 LM4 LM5 LM6 LM7 LM8 LM9 LM10 | | |\r\n|P63 | LM0 LM1 LM3 | | LM2|\r\n|P64 | LM0 LM1 LM2 LM3 LM4 LM5 LM6 LM7 | | |\r\n|P65 | LM0 LM1 LM2 LM3 LM4 LM6 LM7 | | LM5 |\r\n|P66 | | | LM0 |\r\n|----------|-------------|------------|----------|'
Updated:
The device class has been updated.
You can see previous version here .
23 Feb 2022, Yury Matveev
Created:
The device class has been added to catalogue.