Development status:
New development,
Release: 1.0
Information status: Updated
Repository:
https://github.com/yamedvedya/lm_analysis
Download
Contact:
Class Description
Families: BeamDiagnostics
Key words:
Platform: All Platforms
Language: Python
License: GPL
Contact:
Hardware
Manufacturer: none
Bus: Not Applicable
Class interface
Attributes:
Name | Description |
---|---|
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 |
scan_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: DevDouble | y coordinate of left top ROI corner |
roi_wScalar: DevDouble | ROI width |
roi_hScalar: DevDouble | ROI height |
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. |
StartInput: DevVoid Output: DevVoid |
does analysis of last frame |
StopInput: DevVoid Output: DevVoid |
— |
Pipes:
Properties:
Name | Description |
---|---|
CameraDeviceDevString | Adress of related camera tango server |
Please log in to comment.
README
b'General info:\r\nThis is small server to do simple analysis of 2d images, which can be taken from the other Tango server, e.g. TTTGW or VimbaViewer.\r\n\r\nThe server is better to use with the CameraViewer utility.\r\n\r\nInstallation:\r\nTo start server the 4 parameters has to be provided:\r\n\r\n"CameraDevice" - the tango address of image source\r\nThe following settings are needed to work with CameraViewer, which update them automatically during start. In case you use server without CameraViewer better to set it to False (or 0) to avoid confusions.\r\n\r\n"Flip_H" - define whether the source picture has to be flipped horizontally. Could be True or False.\r\n"Flip_V" - define whether the source picture has to be flipped vertically. Could be True or False.\r\n"Rotate_Angle" - define the rotation angle in 90 deg steps (!!). E.g. Rotate_Angle = 3 means 270 deg rotation\r\nOperation:\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<device>\r\n<name>lm4_value</name>\r\n<type>counter</type>\r\n<module>tangoattributectctrl</module>\r\n<device>p23/lmanalysis/lm4/value</device>\r\n<control>tango</control>\r\n<hostname>hasep23oh:10000</hostname>\r\n</device>'
Updated:
The device class has been updated.
You can see previous version here .
7 Dec 2020, Yury Matveev
Updated:
The device class has been updated.
You can see previous version here .
7 Dec 2020, Yury Matveev
Updated:
The device class has been updated.
You can see previous version here .
7 Dec 2020, Yury Matveev
Created:
The device class has been added to catalogue.