pymodaq 3.6.13__py3-none-any.whl → 4.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pymodaq might be problematic. Click here for more details.
- pymodaq/__init__.py +13 -6
- pymodaq/control_modules/__init__.py +0 -7
- pymodaq/control_modules/daq_move.py +965 -2
- pymodaq/control_modules/daq_move_ui.py +319 -0
- pymodaq/control_modules/daq_viewer.py +1573 -3
- pymodaq/control_modules/daq_viewer_ui.py +393 -0
- pymodaq/control_modules/mocks.py +51 -0
- pymodaq/control_modules/move_utility_classes.py +709 -8
- pymodaq/control_modules/utils.py +256 -0
- pymodaq/control_modules/viewer_utility_classes.py +663 -6
- pymodaq/daq_utils.py +89 -0
- pymodaq/dashboard.py +91 -72
- pymodaq/examples/custom_app.py +12 -11
- pymodaq/examples/custom_viewer.py +10 -10
- pymodaq/examples/function_plotter.py +16 -13
- pymodaq/examples/nonlinearscanner.py +8 -6
- pymodaq/examples/parameter_ex.py +7 -7
- pymodaq/examples/preset_MockCamera.xml +1 -0
- pymodaq/extensions/__init__.py +16 -0
- pymodaq/extensions/console.py +76 -0
- pymodaq/{daq_logger.py → extensions/daq_logger.py} +115 -65
- pymodaq/extensions/daq_scan.py +1339 -0
- pymodaq/extensions/daq_scan_ui.py +240 -0
- pymodaq/extensions/h5browser.py +23 -0
- pymodaq/{pid → extensions/pid}/__init__.py +4 -2
- pymodaq/{pid → extensions/pid}/daq_move_PID.py +2 -2
- pymodaq/{pid → extensions/pid}/pid_controller.py +48 -36
- pymodaq/{pid → extensions/pid}/utils.py +52 -6
- pymodaq/extensions/utils.py +40 -0
- pymodaq/post_treatment/__init__.py +6 -0
- pymodaq/{daq_analysis → post_treatment/daq_analysis}/daq_analysis_main.py +17 -17
- pymodaq/{daq_measurement → post_treatment/daq_measurement}/daq_measurement_main.py +8 -14
- pymodaq/post_treatment/load_and_plot.py +219 -0
- pymodaq/post_treatment/process_to_scalar.py +263 -0
- pymodaq/resources/QtDesigner_Ressources/Icon_Library/run_all.png +0 -0
- pymodaq/resources/QtDesigner_Ressources/Icon_Library/stop_all.png +0 -0
- pymodaq/resources/QtDesigner_Ressources/QtDesigner_ressources.bat +1 -1
- pymodaq/resources/QtDesigner_Ressources/QtDesigner_ressources.qrc +1 -0
- pymodaq/resources/QtDesigner_Ressources/QtDesigner_ressources_rc.py +109784 -109173
- pymodaq/resources/QtDesigner_Ressources/icons.svg +142 -0
- pymodaq/resources/VERSION +1 -1
- pymodaq/resources/config_template.toml +32 -13
- pymodaq/resources/preset_default.xml +1 -1
- pymodaq/{daq_utils → utils}/Tuto innosetup/script_full_setup.iss +1 -1
- pymodaq/utils/__init__.py +0 -29
- pymodaq/utils/abstract/__init__.py +48 -0
- pymodaq/{daq_utils → utils}/abstract/logger.py +7 -3
- pymodaq/utils/array_manipulation.py +379 -8
- pymodaq/{daq_utils → utils}/calibration_camera.py +6 -6
- pymodaq/{daq_utils → utils}/chrono_timer.py +1 -1
- pymodaq/utils/config.py +448 -0
- pymodaq/utils/conftests.py +5 -0
- pymodaq/utils/daq_utils.py +828 -8
- pymodaq/utils/data.py +1873 -7
- pymodaq/{daq_utils → utils}/db/db_logger/db_logger.py +86 -47
- pymodaq/{daq_utils → utils}/db/db_logger/db_logger_models.py +31 -10
- pymodaq/{daq_utils → utils}/enums.py +12 -7
- pymodaq/utils/exceptions.py +37 -0
- pymodaq/utils/factory.py +82 -0
- pymodaq/{daq_utils → utils}/gui_utils/__init__.py +1 -1
- pymodaq/utils/gui_utils/custom_app.py +129 -0
- pymodaq/utils/gui_utils/file_io.py +66 -0
- pymodaq/{daq_utils → utils}/gui_utils/layout.py +2 -2
- pymodaq/{daq_utils → utils}/gui_utils/utils.py +13 -3
- pymodaq/{daq_utils → utils}/gui_utils/widgets/__init__.py +2 -2
- pymodaq/utils/gui_utils/widgets/label.py +24 -0
- pymodaq/{daq_utils → utils}/gui_utils/widgets/lcd.py +12 -7
- pymodaq/{daq_utils → utils}/gui_utils/widgets/push.py +66 -2
- pymodaq/{daq_utils → utils}/gui_utils/widgets/qled.py +6 -4
- pymodaq/utils/gui_utils/widgets/spinbox.py +24 -0
- pymodaq/{daq_utils → utils}/gui_utils/widgets/table.py +2 -2
- pymodaq/utils/h5modules/__init__.py +1 -0
- pymodaq/{daq_utils/h5backend.py → utils/h5modules/backends.py} +200 -112
- pymodaq/utils/h5modules/browsing.py +683 -0
- pymodaq/utils/h5modules/data_saving.py +839 -0
- pymodaq/utils/h5modules/h5logging.py +110 -0
- pymodaq/utils/h5modules/module_saving.py +350 -0
- pymodaq/utils/h5modules/saving.py +914 -0
- pymodaq/utils/h5modules/utils.py +85 -0
- pymodaq/utils/logger.py +64 -6
- pymodaq/utils/managers/action_manager.py +460 -0
- pymodaq/{daq_utils → utils}/managers/batchscan_manager.py +144 -112
- pymodaq/{daq_utils → utils}/managers/modules_manager.py +188 -114
- pymodaq/{daq_utils → utils}/managers/overshoot_manager.py +3 -3
- pymodaq/utils/managers/parameter_manager.py +110 -0
- pymodaq/{daq_utils → utils}/managers/preset_manager.py +17 -13
- pymodaq/{daq_utils → utils}/managers/preset_manager_utils.py +8 -7
- pymodaq/{daq_utils → utils}/managers/remote_manager.py +7 -6
- pymodaq/{daq_utils → utils}/managers/roi_manager.py +148 -57
- pymodaq/utils/math_utils.py +546 -10
- pymodaq/{daq_utils → utils}/messenger.py +5 -1
- pymodaq/utils/parameter/__init__.py +2 -15
- pymodaq/{daq_utils → utils}/parameter/ioxml.py +12 -6
- pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/__init__.py +1 -3
- pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/filedir.py +1 -1
- pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/itemselect.py +3 -0
- pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/led.py +1 -1
- pymodaq/utils/parameter/pymodaq_ptypes/pixmap.py +161 -0
- pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/slide.py +1 -1
- pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/table.py +1 -1
- pymodaq/utils/parameter/utils.py +206 -11
- pymodaq/utils/plotting/data_viewers/__init__.py +6 -0
- pymodaq/utils/plotting/data_viewers/viewer.py +393 -0
- pymodaq/utils/plotting/data_viewers/viewer0D.py +251 -0
- pymodaq/utils/plotting/data_viewers/viewer1D.py +574 -0
- pymodaq/{daq_utils → utils}/plotting/data_viewers/viewer1Dbasic.py +8 -3
- pymodaq/{daq_utils → utils}/plotting/data_viewers/viewer2D.py +292 -357
- pymodaq/{daq_utils → utils}/plotting/data_viewers/viewer2D_basic.py +58 -75
- pymodaq/utils/plotting/data_viewers/viewerND.py +738 -0
- pymodaq/{daq_utils → utils}/plotting/gant_chart.py +2 -2
- pymodaq/{daq_utils → utils}/plotting/items/axis_scaled.py +4 -2
- pymodaq/{daq_utils → utils}/plotting/items/image.py +8 -6
- pymodaq/utils/plotting/navigator.py +355 -0
- pymodaq/utils/plotting/scan_selector.py +480 -0
- pymodaq/utils/plotting/utils/axes_viewer.py +88 -0
- pymodaq/utils/plotting/utils/filter.py +538 -0
- pymodaq/utils/plotting/utils/lineout.py +224 -0
- pymodaq/{daq_utils → utils}/plotting/utils/plot_utils.py +196 -84
- pymodaq/{daq_utils → utils}/plotting/utils/signalND.py +21 -13
- pymodaq/utils/plotting/widgets.py +76 -0
- pymodaq/utils/scanner/__init__.py +10 -0
- pymodaq/utils/scanner/scan_factory.py +204 -0
- pymodaq/utils/scanner/scanner.py +271 -0
- pymodaq/utils/scanner/scanners/_1d_scanners.py +117 -0
- pymodaq/utils/scanner/scanners/_2d_scanners.py +293 -0
- pymodaq/utils/scanner/scanners/sequential.py +192 -0
- pymodaq/utils/scanner/scanners/tabular.py +294 -0
- pymodaq/utils/scanner/utils.py +83 -0
- pymodaq/utils/slicing.py +47 -0
- pymodaq/utils/svg/__init__.py +6 -0
- pymodaq/utils/svg/svg_renderer.py +20 -0
- pymodaq/utils/svg/svg_view.py +35 -0
- pymodaq/utils/svg/svg_viewer2D.py +51 -0
- pymodaq/{daq_utils → utils}/tcp_server_client.py +36 -37
- pymodaq/{daq_utils → utils}/tree_layout/tree_layout_main.py +50 -35
- pymodaq/utils/units.py +216 -0
- pymodaq-4.0.1.dist-info/METADATA +159 -0
- {pymodaq-3.6.13.dist-info → pymodaq-4.0.1.dist-info}/RECORD +167 -170
- {pymodaq-3.6.13.dist-info → pymodaq-4.0.1.dist-info}/WHEEL +1 -2
- pymodaq-4.0.1.dist-info/entry_points.txt +8 -0
- pymodaq/daq_move/daq_move_gui.py +0 -279
- pymodaq/daq_move/daq_move_gui.ui +0 -534
- pymodaq/daq_move/daq_move_main.py +0 -1042
- pymodaq/daq_move/process_from_QtDesigner_DAQ_Move_GUI.bat +0 -2
- pymodaq/daq_move/utility_classes.py +0 -686
- pymodaq/daq_scan.py +0 -2160
- pymodaq/daq_utils/array_manipulation.py +0 -386
- pymodaq/daq_utils/config.py +0 -273
- pymodaq/daq_utils/conftests.py +0 -7
- pymodaq/daq_utils/custom_parameter_tree.py +0 -9
- pymodaq/daq_utils/daq_enums.py +0 -133
- pymodaq/daq_utils/daq_utils.py +0 -1402
- pymodaq/daq_utils/exceptions.py +0 -71
- pymodaq/daq_utils/gui_utils/custom_app.py +0 -103
- pymodaq/daq_utils/gui_utils/file_io.py +0 -75
- pymodaq/daq_utils/gui_utils/widgets/spinbox.py +0 -9
- pymodaq/daq_utils/h5exporter_hyperspy.py +0 -115
- pymodaq/daq_utils/h5exporters.py +0 -242
- pymodaq/daq_utils/h5modules.py +0 -1559
- pymodaq/daq_utils/h5utils.py +0 -241
- pymodaq/daq_utils/managers/action_manager.py +0 -236
- pymodaq/daq_utils/managers/parameter_manager.py +0 -57
- pymodaq/daq_utils/math_utils.py +0 -705
- pymodaq/daq_utils/parameter/__init__.py +0 -1
- pymodaq/daq_utils/parameter/oldpymodaq_ptypes.py +0 -1626
- pymodaq/daq_utils/parameter/pymodaq_ptypes/pixmap.py +0 -85
- pymodaq/daq_utils/parameter/utils.py +0 -136
- pymodaq/daq_utils/plotting/data_viewers/__init__.py +0 -0
- pymodaq/daq_utils/plotting/data_viewers/process_from_QtDesigner_0DViewer_GUI.bat +0 -2
- pymodaq/daq_utils/plotting/data_viewers/viewer0D.py +0 -204
- pymodaq/daq_utils/plotting/data_viewers/viewer0D_GUI.py +0 -89
- pymodaq/daq_utils/plotting/data_viewers/viewer0D_GUI.ui +0 -131
- pymodaq/daq_utils/plotting/data_viewers/viewer1D.py +0 -781
- pymodaq/daq_utils/plotting/data_viewers/viewerND.py +0 -894
- pymodaq/daq_utils/plotting/data_viewers/viewerbase.py +0 -64
- pymodaq/daq_utils/plotting/items/__init__.py +0 -0
- pymodaq/daq_utils/plotting/navigator.py +0 -500
- pymodaq/daq_utils/plotting/scan_selector.py +0 -289
- pymodaq/daq_utils/plotting/utils/__init__.py +0 -0
- pymodaq/daq_utils/plotting/utils/filter.py +0 -236
- pymodaq/daq_utils/plotting/viewer0D/__init__.py +0 -0
- pymodaq/daq_utils/plotting/viewer0D/viewer0D_main.py +0 -4
- pymodaq/daq_utils/plotting/viewer1D/__init__.py +0 -0
- pymodaq/daq_utils/plotting/viewer1D/viewer1D_main.py +0 -4
- pymodaq/daq_utils/plotting/viewer1D/viewer1Dbasic.py +0 -4
- pymodaq/daq_utils/plotting/viewer2D/viewer_2D_basic.py +0 -4
- pymodaq/daq_utils/plotting/viewer2D/viewer_2D_main.py +0 -4
- pymodaq/daq_utils/plotting/viewerND/__init__.py +0 -0
- pymodaq/daq_utils/plotting/viewerND/viewerND_main.py +0 -4
- pymodaq/daq_utils/scanner.py +0 -1289
- pymodaq/daq_utils/tree_layout/__init__.py +0 -0
- pymodaq/daq_viewer/__init__.py +0 -0
- pymodaq/daq_viewer/daq_gui_settings.py +0 -237
- pymodaq/daq_viewer/daq_gui_settings.ui +0 -441
- pymodaq/daq_viewer/daq_viewer_main.py +0 -2225
- pymodaq/daq_viewer/process_from_QtDesigner_DAQ_GUI_settings.bat +0 -2
- pymodaq/daq_viewer/utility_classes.py +0 -673
- pymodaq/examples/logger_image/__init__.py +0 -0
- pymodaq/examples/logger_image/logger_displayer.py +0 -121
- pymodaq/examples/logger_image/setup.svg +0 -3119
- pymodaq/examples/logger_image/setup_svg.py +0 -114
- pymodaq/h5browser.py +0 -39
- pymodaq/utils/scanner.py +0 -15
- pymodaq-3.6.13.dist-info/METADATA +0 -39
- pymodaq-3.6.13.dist-info/entry_points.txt +0 -8
- pymodaq-3.6.13.dist-info/top_level.txt +0 -1
- /pymodaq/{daq_analysis → post_treatment/daq_analysis}/__init__.py +0 -0
- /pymodaq/{daq_measurement → post_treatment/daq_measurement}/__init__.py +0 -0
- /pymodaq/{daq_measurement → post_treatment/daq_measurement}/daq_measurement_GUI.py +0 -0
- /pymodaq/{daq_measurement → post_treatment/daq_measurement}/daq_measurement_GUI.ui +0 -0
- /pymodaq/{daq_measurement → post_treatment/daq_measurement}/process_from_QtDesigner_DAQ_Measurement_GUI.bat +0 -0
- /pymodaq/{daq_utils → utils}/Tuto innosetup/Tuto innosetup.odt +0 -0
- /pymodaq/{daq_utils → utils}/Tuto innosetup/Tuto innosetup.pdf +0 -0
- /pymodaq/{daq_move → utils/db}/__init__.py +0 -0
- /pymodaq/{daq_utils → utils/db/db_logger}/__init__.py +0 -0
- /pymodaq/{daq_utils → utils}/gui_utils/dock.py +0 -0
- /pymodaq/{daq_utils → utils}/gui_utils/list_picker.py +0 -0
- /pymodaq/{daq_utils/abstract → utils/managers}/__init__.py +0 -0
- /pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/bool.py +0 -0
- /pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/date.py +0 -0
- /pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/list.py +0 -0
- /pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/numeric.py +0 -0
- /pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/tableview.py +0 -0
- /pymodaq/{daq_utils → utils}/parameter/pymodaq_ptypes/text.py +0 -0
- /pymodaq/{daq_utils/db → utils/plotting}/__init__.py +0 -0
- /pymodaq/{daq_utils → utils}/plotting/image_viewer.py +0 -0
- /pymodaq/{daq_utils/db/db_logger → utils/plotting/items}/__init__.py +0 -0
- /pymodaq/{daq_utils → utils}/plotting/items/crosshair.py +0 -0
- /pymodaq/{daq_utils/managers → utils/plotting/utils}/__init__.py +0 -0
- /pymodaq/{daq_utils → utils}/qvariant.py +0 -0
- /pymodaq/{daq_utils/plotting/viewer2D → utils/scanner/scanners}/__init__.py +0 -0
- /pymodaq/{daq_utils/plotting → utils/tree_layout}/__init__.py +0 -0
- {pymodaq-3.6.13.dist-info → pymodaq-4.0.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
sodipodi:docname="icons.svg"
|
|
11
|
+
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
|
12
|
+
id="svg8"
|
|
13
|
+
version="1.1"
|
|
14
|
+
viewBox="0 0 210 297"
|
|
15
|
+
height="297mm"
|
|
16
|
+
width="210mm">
|
|
17
|
+
<defs
|
|
18
|
+
id="defs2" />
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
inkscape:window-maximized="1"
|
|
21
|
+
inkscape:window-y="-8"
|
|
22
|
+
inkscape:window-x="1912"
|
|
23
|
+
inkscape:window-height="1017"
|
|
24
|
+
inkscape:window-width="1920"
|
|
25
|
+
showgrid="false"
|
|
26
|
+
inkscape:document-rotation="0"
|
|
27
|
+
inkscape:current-layer="layer1"
|
|
28
|
+
inkscape:document-units="mm"
|
|
29
|
+
inkscape:cy="251.2671"
|
|
30
|
+
inkscape:cx="161.985"
|
|
31
|
+
inkscape:zoom="2.8"
|
|
32
|
+
inkscape:pageshadow="2"
|
|
33
|
+
inkscape:pageopacity="0.0"
|
|
34
|
+
borderopacity="1.0"
|
|
35
|
+
bordercolor="#666666"
|
|
36
|
+
pagecolor="#ffffff"
|
|
37
|
+
id="base" />
|
|
38
|
+
<metadata
|
|
39
|
+
id="metadata5">
|
|
40
|
+
<rdf:RDF>
|
|
41
|
+
<cc:Work
|
|
42
|
+
rdf:about="">
|
|
43
|
+
<dc:format>image/svg+xml</dc:format>
|
|
44
|
+
<dc:type
|
|
45
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
46
|
+
<dc:title></dc:title>
|
|
47
|
+
</cc:Work>
|
|
48
|
+
</rdf:RDF>
|
|
49
|
+
</metadata>
|
|
50
|
+
<g
|
|
51
|
+
id="layer1"
|
|
52
|
+
inkscape:groupmode="layer"
|
|
53
|
+
inkscape:label="Calque 1">
|
|
54
|
+
<rect
|
|
55
|
+
inkscape:export-ydpi="300"
|
|
56
|
+
inkscape:export-xdpi="300"
|
|
57
|
+
y="18.174328"
|
|
58
|
+
x="18.174328"
|
|
59
|
+
height="10.958051"
|
|
60
|
+
width="10.958051"
|
|
61
|
+
id="rect833"
|
|
62
|
+
style="fill:#ff1c00;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;paint-order:fill markers stroke;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
|
|
63
|
+
<rect
|
|
64
|
+
inkscape:export-ydpi="300"
|
|
65
|
+
inkscape:export-xdpi="300"
|
|
66
|
+
style="fill:#ff1c00;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
|
|
67
|
+
id="rect833-2"
|
|
68
|
+
width="10.958051"
|
|
69
|
+
height="10.958051"
|
|
70
|
+
x="22.851545"
|
|
71
|
+
y="20.446119" />
|
|
72
|
+
<rect
|
|
73
|
+
inkscape:export-ydpi="300"
|
|
74
|
+
inkscape:export-xdpi="300"
|
|
75
|
+
style="fill:#ff1c00;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
|
|
76
|
+
id="rect833-1"
|
|
77
|
+
width="10.958051"
|
|
78
|
+
height="10.958051"
|
|
79
|
+
x="28.464205"
|
|
80
|
+
y="22.317005" />
|
|
81
|
+
<path
|
|
82
|
+
inkscape:export-ydpi="300"
|
|
83
|
+
inkscape:export-xdpi="300"
|
|
84
|
+
inkscape:export-filename="C:\Users\weber\Labo\Programmes Python\PyMoDAQ_Git\pymodaq\src\pymodaq\resources\QtDesigner_Ressources\Icon_Library\run_all.png"
|
|
85
|
+
transform="matrix(1.3430998,0,0,1,-6.6389431,1.2737737e-6)"
|
|
86
|
+
inkscape:transform-center-x="-2.441257"
|
|
87
|
+
d="m 19.34992,58.681279 0,-12.592905 10.905775,6.296453 z"
|
|
88
|
+
inkscape:randomized="0"
|
|
89
|
+
inkscape:rounded="0"
|
|
90
|
+
inkscape:flatsided="true"
|
|
91
|
+
sodipodi:arg2="3.1415927"
|
|
92
|
+
sodipodi:arg1="2.0943951"
|
|
93
|
+
sodipodi:r2="3.6352587"
|
|
94
|
+
sodipodi:r1="7.2705169"
|
|
95
|
+
sodipodi:cy="52.384827"
|
|
96
|
+
sodipodi:cx="22.985178"
|
|
97
|
+
sodipodi:sides="3"
|
|
98
|
+
id="path856"
|
|
99
|
+
style="fill:#16ff00;fill-opacity:1;stroke:#000000;stroke-width:0.862871;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
|
|
100
|
+
sodipodi:type="star" />
|
|
101
|
+
<path
|
|
102
|
+
inkscape:export-ydpi="300"
|
|
103
|
+
inkscape:export-xdpi="300"
|
|
104
|
+
inkscape:export-filename="C:\Users\weber\Labo\Programmes Python\PyMoDAQ_Git\pymodaq\src\pymodaq\resources\QtDesigner_Ressources\Icon_Library\run_all.png"
|
|
105
|
+
sodipodi:type="star"
|
|
106
|
+
style="fill:#16ff00;fill-opacity:1;stroke:#000000;stroke-width:0.862871;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
|
|
107
|
+
id="path856-6"
|
|
108
|
+
sodipodi:sides="3"
|
|
109
|
+
sodipodi:cx="22.985178"
|
|
110
|
+
sodipodi:cy="52.384827"
|
|
111
|
+
sodipodi:r1="7.2705169"
|
|
112
|
+
sodipodi:r2="3.6352587"
|
|
113
|
+
sodipodi:arg1="2.0943951"
|
|
114
|
+
sodipodi:arg2="3.1415927"
|
|
115
|
+
inkscape:flatsided="true"
|
|
116
|
+
inkscape:rounded="0"
|
|
117
|
+
inkscape:randomized="0"
|
|
118
|
+
d="m 19.34992,58.681279 0,-12.592905 10.905775,6.296453 z"
|
|
119
|
+
inkscape:transform-center-x="-2.441257"
|
|
120
|
+
transform="matrix(1.3430998,0,0,1,-3.817297,2.8172591)" />
|
|
121
|
+
<path
|
|
122
|
+
inkscape:export-ydpi="300"
|
|
123
|
+
inkscape:export-xdpi="300"
|
|
124
|
+
inkscape:export-filename="C:\Users\weber\Labo\Programmes Python\PyMoDAQ_Git\pymodaq\src\pymodaq\resources\QtDesigner_Ressources\Icon_Library\run_all.png"
|
|
125
|
+
sodipodi:type="star"
|
|
126
|
+
style="fill:#16ff00;fill-opacity:1;stroke:#000000;stroke-width:0.862871;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
|
|
127
|
+
id="path856-4"
|
|
128
|
+
sodipodi:sides="3"
|
|
129
|
+
sodipodi:cx="22.985178"
|
|
130
|
+
sodipodi:cy="52.384827"
|
|
131
|
+
sodipodi:r1="7.2705169"
|
|
132
|
+
sodipodi:r2="3.6352587"
|
|
133
|
+
sodipodi:arg1="2.0943951"
|
|
134
|
+
sodipodi:arg2="3.1415927"
|
|
135
|
+
inkscape:flatsided="true"
|
|
136
|
+
inkscape:rounded="0"
|
|
137
|
+
inkscape:randomized="0"
|
|
138
|
+
d="m 19.34992,58.681279 0,-12.592905 10.905775,6.296453 z"
|
|
139
|
+
inkscape:transform-center-x="-2.441257"
|
|
140
|
+
transform="matrix(1.3430998,0,0,1,-0.99565079,5.6345168)" />
|
|
141
|
+
</g>
|
|
142
|
+
</svg>
|
pymodaq/resources/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
version = '4.0.1'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#this is the configuration file of PyMoDAQ
|
|
2
2
|
[style]
|
|
3
|
-
darkstyle =
|
|
3
|
+
darkstyle = true
|
|
4
|
+
syntax_highlighting = 'github-dark'
|
|
4
5
|
language = "English"
|
|
5
6
|
country = "UnitedStates"
|
|
6
7
|
|
|
@@ -29,10 +30,16 @@ backend = "pyqt5"
|
|
|
29
30
|
debug_level = "INFO" #either "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"
|
|
30
31
|
debug_levels = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
|
|
31
32
|
check_version = true # automatically check version at startup (or not if False)
|
|
33
|
+
message_status_persistence = 1000 # ms
|
|
32
34
|
|
|
33
35
|
[user]
|
|
34
36
|
name = "User name" # default name used as author in the hdf5 saving files
|
|
35
37
|
|
|
38
|
+
[viewer]
|
|
39
|
+
daq_type = 'DAQ0D' #either "DAQ0D", "DAQ1D", "DAQ2D", "DAQND"
|
|
40
|
+
viewer_in_thread = true
|
|
41
|
+
timeout = 10000 # default duration in ms to wait for data to be acquirred
|
|
42
|
+
|
|
36
43
|
[network]
|
|
37
44
|
[network.logging]
|
|
38
45
|
[network.logging.user]
|
|
@@ -53,12 +60,15 @@ default_preset_for_logger = "preset_default"
|
|
|
53
60
|
|
|
54
61
|
[actuator]
|
|
55
62
|
epsilon_default = 1
|
|
56
|
-
polling_interval_ms =
|
|
63
|
+
polling_interval_ms = 100 # ms Carefull when using TCP/IP connection as you can saturate the connection with too much polling
|
|
57
64
|
polling_timeout_s = 20 # s
|
|
65
|
+
refresh_timeout_ms = 500 # ms
|
|
66
|
+
timeout = 10000 # default duration in ms to wait for data to be acquirred
|
|
58
67
|
|
|
59
68
|
[scan]
|
|
60
69
|
scan_in_thread = true
|
|
61
|
-
|
|
70
|
+
show_popups = true
|
|
71
|
+
default = "Scan2D"
|
|
62
72
|
Naverage = 1 # minimum is 1
|
|
63
73
|
steps_limit = 1000 # the limit of the number of steps you can set in a given scan
|
|
64
74
|
sort1D = true
|
|
@@ -69,21 +79,30 @@ default_preset_for_logger = "preset_default"
|
|
|
69
79
|
timeout = 10000 # in millisecond
|
|
70
80
|
|
|
71
81
|
[scan.scan1D]
|
|
72
|
-
type = "Linear" # either "Linear", "Adaptive", "Linear back to start", "Random" see pymodaq.
|
|
82
|
+
type = "Linear" # either "Linear", "Adaptive", "Linear back to start", "Random" see pymodaq.utils.scanner.py
|
|
73
83
|
start = 1.0
|
|
74
84
|
stop = 2.0
|
|
75
85
|
step = 0.01
|
|
76
86
|
|
|
77
87
|
[scan.scan2D]
|
|
78
|
-
type = "Spiral" # either "Spiral", "Linear", "Adaptive", "Back&Forth", "Random" see pymodaq.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
type = "Spiral" # either "Spiral", "Linear", "Adaptive", "Back&Forth", "Random" see pymodaq.utils.scanner.py
|
|
89
|
+
|
|
90
|
+
[scan.scan2D.spiral]
|
|
91
|
+
center1 = -5
|
|
92
|
+
center2 = 5
|
|
93
|
+
rmax1 = 10
|
|
94
|
+
rmax2 = 5
|
|
95
|
+
npts = 10
|
|
96
|
+
|
|
97
|
+
[scan.scan2D.linear]
|
|
98
|
+
start1 = -5
|
|
99
|
+
start2 = -5
|
|
100
|
+
stop1 = 5
|
|
101
|
+
stop2 = 5
|
|
102
|
+
step1 = 0.5
|
|
103
|
+
step2 = 0.5
|
|
104
|
+
|
|
86
105
|
|
|
87
106
|
[scan.tabular]
|
|
88
|
-
type = "Linear" #either "Linear", "Adaptive" see pymodaq.
|
|
107
|
+
type = "Linear" #either "Linear", "Adaptive" see pymodaq.utils.scanner.py
|
|
89
108
|
curvilinear = 0.1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<Preset type="group" title="Preset" visible="1" removable="0" readonly="0"><filename type="str" title="Filename:" visible="1" removable="0" readonly="0" show_pb="0">preset_default</filename><use_pid type="bool" title="Use PID as actuator:" visible="1" removable="0" readonly="0" show_pb="0">0</use_pid><pid_settings type="group" title="PID Settings:" visible="0" removable="0" readonly="0" show_pb="0"><models type="group" title="Models" visible="1" removable="0" readonly="0" show_pb="0"><model_class type="list" title="Models class:" visible="1" removable="0" readonly="0" values="['PIDModelMock', 'PIDModelMichelsonDemo']" limits="['PIDModelMock', 'PIDModelMichelsonDemo']" show_pb="0">str('PIDModelMock')</model_class><module_settings type="bool" title="Modules managers:" visible="1" removable="0" readonly="0" show_pb="0">0</module_settings><model_params type="group" title="Model params:" visible="1" removable="0" readonly="0" show_pb="0"><model_params type="group" title="Model params:" visible="1" removable="0" readonly="0" show_pb="0"><model_params type="group" title="Model params:" visible="1" removable="0" readonly="0" show_pb="0" /></model_params></model_params></models><move_settings type="group" title="Move settings:" visible="0" removable="0" readonly="0" show_pb="0"><units type="str" title="Units:" visible="1" removable="0" readonly="0" show_pb="0" /></move_settings><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><timeout type="int" title="Acquisition Timeout (ms):" visible="1" removable="0" readonly="0" show_pb="0">10000</timeout><epsilon type="float" title="epsilon" visible="1" removable="0" readonly="0" show_pb="0">0.01</epsilon><pid_controls type="group" title="PID controls:" visible="1" removable="0" readonly="0" show_pb="0"><set_point type="float" title="Set Point:" visible="1" removable="0" readonly="0" show_pb="0">0.0</set_point><sample_time type="int" title="Sample time (ms):" visible="1" removable="0" readonly="0" show_pb="0">10</sample_time><refresh_plot_time type="int" title="Refresh plot time (ms):" visible="1" removable="0" readonly="0" show_pb="0">200</refresh_plot_time><output_limits type="group" title="Output limits:" visible="1" removable="0" readonly="0" show_pb="0"><output_limit_min_enabled type="bool" title="Output limit (min):" visible="1" removable="0" readonly="0" show_pb="0">0</output_limit_min_enabled><output_limit_min type="float" title="Output limit (min):" visible="1" removable="0" readonly="0" show_pb="0">0.0</output_limit_min><output_limit_max_enabled type="bool" title="Output limit (max):" visible="1" removable="0" readonly="0" show_pb="0">0</output_limit_max_enabled><output_limit_max type="float" title="Output limit (max:" visible="1" removable="0" readonly="0" show_pb="0">100.0</output_limit_max></output_limits><filter type="group" title="Filter:" visible="1" removable="0" readonly="0" show_pb="0"><filter_enable type="bool" title="Enable filter:" visible="1" removable="0" readonly="0" show_pb="0">0</filter_enable><filter_step type="float" title="Filter step:" visible="1" removable="0" readonly="0" show_pb="0">0.0</filter_step></filter><auto_mode type="bool" title="Auto mode:" visible="1" removable="0" readonly="1" show_pb="0">0</auto_mode><proportional_on_measurement type="bool" title="Prop. on measurement:" visible="1" removable="0" readonly="0" show_pb="0">0</proportional_on_measurement><pid_constants type="group" title="PID constants:" visible="1" removable="0" readonly="0" show_pb="0"><kp type="float" title="Kp:" visible="1" removable="0" readonly="0" show_pb="0">5.0</kp><ki type="float" title="Ki:" visible="1" removable="0" readonly="0" show_pb="0">0.01</ki><kd type="float" title="Kd:" visible="1" removable="0" readonly="0" show_pb="0">0.001</kd></pid_constants></pid_controls></main_settings></pid_settings><Moves type="groupmove" title="Moves:" visible="1" removable="0" readonly="0" addList="['Mock', 'TCPServer', 'Shamrock']" show_pb="0"><move00 type="group" title="Actuator 00" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">Xaxis</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><move_type type="str" title="Actuator type:" visible="1" removable="0" readonly="1" show_pb="0">Mock</move_type><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">672</controller_ID><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">1</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">10.47.0.39</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip></main_settings><move_settings type="group" title="Actuator Settings:" visible="1" removable="0" readonly="0" show_pb="0"><multiaxes type="group" title="MultiAxes:" visible="1" removable="0" readonly="0" show_pb="0"><ismultiaxes type="bool" title="is Multiaxes:" visible="1" removable="0" readonly="0" show_pb="0">1</ismultiaxes><multi_status type="list" title="Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</multi_status><axis type="list" title="Axis:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</axis></multiaxes><units type="str" title="Units:" visible="1" removable="0" readonly="1" show_pb="0" /><epsilon type="float" title="Epsilon:" visible="1" removable="0" readonly="0" show_pb="0">0.01</epsilon><timeout type="int" title="Timeout (ms):" visible="1" removable="0" readonly="0" show_pb="0">10000</timeout><bounds type="group" title="Bounds:" visible="1" removable="0" readonly="0" show_pb="0"><is_bounds type="bool" title="Set Bounds:" visible="1" removable="0" readonly="0" show_pb="0">0</is_bounds><min_bound type="float" title="Min:" visible="1" removable="0" readonly="0" show_pb="0">0.0</min_bound><max_bound type="float" title="Max:" visible="1" removable="0" readonly="0" show_pb="0">1.0</max_bound></bounds><scaling type="group" title="Scaling:" visible="1" removable="0" readonly="0" show_pb="0"><use_scaling type="bool" title="Use scaling:" visible="1" removable="0" readonly="0" show_pb="0">0</use_scaling><scaling type="float" title="Scaling factor:" visible="1" removable="0" readonly="0" show_pb="0">1.0</scaling><offset type="float" title="Offset factor:" visible="1" removable="0" readonly="0" show_pb="0">0.0</offset></scaling></move_settings></params></move00><move01 type="group" title="Actuator 01" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">Yaxis</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><move_type type="str" title="Actuator type:" visible="1" removable="0" readonly="1" show_pb="0">Mock</move_type><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">2192</controller_ID><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">1</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">10.47.0.39</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip></main_settings><move_settings type="group" title="Actuator Settings:" visible="1" removable="0" readonly="0" show_pb="0"><multiaxes type="group" title="MultiAxes:" visible="1" removable="0" readonly="0" show_pb="0"><ismultiaxes type="bool" title="is Multiaxes:" visible="1" removable="0" readonly="0" show_pb="0">1</ismultiaxes><multi_status type="list" title="Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</multi_status><axis type="list" title="Axis:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</axis></multiaxes><units type="str" title="Units:" visible="1" removable="0" readonly="1" show_pb="0" /><epsilon type="float" title="Epsilon:" visible="1" removable="0" readonly="0" show_pb="0">0.01</epsilon><timeout type="int" title="Timeout (ms):" visible="1" removable="0" readonly="0" show_pb="0">10000</timeout><bounds type="group" title="Bounds:" visible="1" removable="0" readonly="0" show_pb="0"><is_bounds type="bool" title="Set Bounds:" visible="1" removable="0" readonly="0" show_pb="0">0</is_bounds><min_bound type="float" title="Min:" visible="1" removable="0" readonly="0" show_pb="0">0.0</min_bound><max_bound type="float" title="Max:" visible="1" removable="0" readonly="0" show_pb="0">1.0</max_bound></bounds><scaling type="group" title="Scaling:" visible="1" removable="0" readonly="0" show_pb="0"><use_scaling type="bool" title="Use scaling:" visible="1" removable="0" readonly="0" show_pb="0">0</use_scaling><scaling type="float" title="Scaling factor:" visible="1" removable="0" readonly="0" show_pb="0">1.0</scaling><offset type="float" title="Offset factor:" visible="1" removable="0" readonly="0" show_pb="0">0.0</offset></scaling></move_settings></params></move01><move02 type="group" title="Actuator 02" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">theta axis</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><move_type type="str" title="Actuator type:" visible="1" removable="0" readonly="1" show_pb="0">Mock</move_type><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">2266</controller_ID><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">1</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">10.47.0.39</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip></main_settings><move_settings type="group" title="Actuator Settings:" visible="1" removable="0" readonly="0" show_pb="0"><multiaxes type="group" title="MultiAxes:" visible="1" removable="0" readonly="0" show_pb="0"><ismultiaxes type="bool" title="is Multiaxes:" visible="1" removable="0" readonly="0" show_pb="0">1</ismultiaxes><multi_status type="list" title="Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</multi_status><axis type="list" title="Axis:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</axis></multiaxes><units type="str" title="Units:" visible="1" removable="0" readonly="1" show_pb="0" /><epsilon type="float" title="Epsilon:" visible="1" removable="0" readonly="0" show_pb="0">0.01</epsilon><timeout type="int" title="Timeout (ms):" visible="1" removable="0" readonly="0" show_pb="0">10000</timeout><bounds type="group" title="Bounds:" visible="1" removable="0" readonly="0" show_pb="0"><is_bounds type="bool" title="Set Bounds:" visible="1" removable="0" readonly="0" show_pb="0">0</is_bounds><min_bound type="float" title="Min:" visible="1" removable="0" readonly="0" show_pb="0">0.0</min_bound><max_bound type="float" title="Max:" visible="1" removable="0" readonly="0" show_pb="0">1.0</max_bound></bounds><scaling type="group" title="Scaling:" visible="1" removable="0" readonly="0" show_pb="0"><use_scaling type="bool" title="Use scaling:" visible="1" removable="0" readonly="0" show_pb="0">0</use_scaling><scaling type="float" title="Scaling factor:" visible="1" removable="0" readonly="0" show_pb="0">1.0</scaling><offset type="float" title="Offset factor:" visible="1" removable="0" readonly="0" show_pb="0">0.0</offset></scaling></move_settings></params></move02></Moves><Detectors type="groupdet" title="Detectors:" visible="1" removable="0" readonly="0" addList="['DAQ0D/Mock', 'DAQ0D/MockAdaptive', 'DAQ0D/TCPServer', 'DAQ1D/Mock', 'DAQ1D/Femto', 'DAQ1D/Mock_spectro', 'DAQ1D/TCPServer', 'DAQ1D/ShamrockCCD', 'DAQ2D/Mock', 'DAQ2D/MockScanner', 'DAQ2D/TCPServer', 'DAQ2D/AndorCCD', 'DAQND/Mock']" show_pb="0"><det00 type="group" title="Det 00" visible="1" removable="1" readonly="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0">Det 0D</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0"><DAQ_type type="list" title="DAQ type:" visible="1" removable="0" readonly="1" values="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" limits="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" show_pb="1">str('DAQ0D')</DAQ_type><detector_type type="str" title="Detector type:" visible="1" removable="0" readonly="1">Mock</detector_type><Nviewers type="int" title="Nviewers:" visible="1" removable="0" readonly="1">1</Nviewers><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="1">1302</controller_ID><show_data type="bool" title="Show data and process:" visible="1" removable="0" readonly="0">1</show_data><refresh_time type="float" title="Refresh time (ms):" visible="1" removable="0" readonly="0">50.0</refresh_time><Naverage type="int" title="Naverage" visible="1" removable="0" readonly="0">1</Naverage><show_averaging type="bool" title="Show averaging:" visible="1" removable="0" readonly="0">0</show_averaging><live_averaging type="bool" title="Live averaging:" visible="1" removable="0" readonly="0">0</live_averaging><N_live_averaging type="int" title="N Live aver.:" visible="0" removable="0" readonly="0">0</N_live_averaging><wait_time type="int" title="Wait time (ms):" visible="1" removable="0" readonly="0">0</wait_time><continuous_saving_opt type="bool" title="Continuous saving:" visible="1" removable="0" readonly="0">0</continuous_saving_opt><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0">10.47.0.39</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0">6341</port></tcpip><overshoot type="group" title="Overshoot options:" visible="1" removable="0" readonly="0"><stop_overshoot type="bool" title="Overshoot:" visible="1" removable="0" readonly="0">0</stop_overshoot><overshoot_value type="float" title="Overshoot value:" visible="1" removable="0" readonly="0">0.0</overshoot_value></overshoot><axes type="group" title="Axis options:" visible="1" removable="0" readonly="0"><use_calib type="list" title="Use calibration?:" visible="1" removable="0" readonly="0" values="['None']" limits="['None']" show_pb="1">str('None')</use_calib><xaxis type="group" title="X axis:" visible="1" removable="0" readonly="0"><xlabel type="str" title="Label:" visible="1" removable="0" readonly="0">x axis</xlabel><xunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</xunits><xoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</xoffset><xscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</xscaling></xaxis><yaxis type="group" title="Y axis:" visible="1" removable="0" readonly="0"><ylabel type="str" title="Label:" visible="1" removable="0" readonly="0">y axis</ylabel><yunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</yunits><yoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</yoffset><yscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</yscaling></yaxis></axes></main_settings><detector_settings type="group" title="Detector Settings" visible="1" removable="0" readonly="0"><ROIselect type="group" title="ROI select:" visible="0" removable="0" readonly="0"><use_ROI type="bool" title="Use ROI:" visible="1" removable="0" readonly="0">0</use_ROI><x0 type="int" title="x0:" visible="1" removable="0" readonly="0">0</x0><y0 type="int" title="y0:" visible="1" removable="0" readonly="0">0</y0><width type="int" title="width:" visible="1" removable="0" readonly="0">10</width><height type="int" title="height:" visible="1" removable="0" readonly="0">10</height></ROIselect><controller_status type="list" title="Controller Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</controller_status><wait_time type="int" title="Wait time (ms)" visible="1" removable="0" readonly="0">100</wait_time><sep_viewers type="bool" title="Separated viewers" visible="1" removable="0" readonly="0">0</sep_viewers><lcd type="bool" title="Show in LCD" visible="1" removable="0" readonly="0">0</lcd><Mock1 type="group" title="Mock1" visible="1" removable="0" readonly="0"><Npts type="int" title="Npts" visible="1" removable="0" readonly="0">200</Npts><Amp type="int" title="Amp" visible="1" removable="0" readonly="0">20</Amp><x0 type="float" title="x0" visible="1" removable="0" readonly="0">50.0</x0><dx type="float" title="dx" visible="1" removable="0" readonly="0">20.0</dx><n type="int" title="n" visible="1" removable="0" readonly="0">1</n><amp_noise type="float" title="amp_noise" visible="1" removable="0" readonly="0">0.1</amp_noise></Mock1><Mock2 type="group" title="Mock2" visible="1" removable="0" readonly="0"><Npts type="int" title="Npts" visible="1" removable="0" readonly="0">200</Npts><Amp type="int" title="Amp" visible="1" removable="0" readonly="0">10</Amp><x0 type="float" title="x0" visible="1" removable="0" readonly="0">100.0</x0><dx type="float" title="dx" visible="1" removable="0" readonly="0">30.0</dx><n type="int" title="n" visible="1" removable="0" readonly="0">2</n><amp_noise type="float" title="amp_noise" visible="1" removable="0" readonly="0">0.1</amp_noise></Mock2></detector_settings></params></det00><det01 type="group" title="Det 01" visible="1" removable="1" readonly="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0">Det 1D</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0"><DAQ_type type="list" title="DAQ type:" visible="1" removable="0" readonly="1" values="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" limits="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" show_pb="1">str('DAQ1D')</DAQ_type><detector_type type="str" title="Detector type:" visible="1" removable="0" readonly="1">Mock</detector_type><Nviewers type="int" title="Nviewers:" visible="1" removable="0" readonly="1">1</Nviewers><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="1">6711</controller_ID><show_data type="bool" title="Show data and process:" visible="1" removable="0" readonly="0">1</show_data><refresh_time type="float" title="Refresh time (ms):" visible="1" removable="0" readonly="0">50.0</refresh_time><Naverage type="int" title="Naverage" visible="1" removable="0" readonly="0">1</Naverage><show_averaging type="bool" title="Show averaging:" visible="1" removable="0" readonly="0">0</show_averaging><live_averaging type="bool" title="Live averaging:" visible="1" removable="0" readonly="0">0</live_averaging><N_live_averaging type="int" title="N Live aver.:" visible="0" removable="0" readonly="0">0</N_live_averaging><wait_time type="int" title="Wait time (ms):" visible="1" removable="0" readonly="0">0</wait_time><continuous_saving_opt type="bool" title="Continuous saving:" visible="1" removable="0" readonly="0">0</continuous_saving_opt><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0">10.47.0.39</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0">6341</port></tcpip><overshoot type="group" title="Overshoot options:" visible="1" removable="0" readonly="0"><stop_overshoot type="bool" title="Overshoot:" visible="1" removable="0" readonly="0">0</stop_overshoot><overshoot_value type="float" title="Overshoot value:" visible="1" removable="0" readonly="0">0.0</overshoot_value></overshoot><axes type="group" title="Axis options:" visible="1" removable="0" readonly="0"><use_calib type="list" title="Use calibration?:" visible="1" removable="0" readonly="0" values="['None']" limits="['None']" show_pb="1">str('None')</use_calib><xaxis type="group" title="X axis:" visible="1" removable="0" readonly="0"><xlabel type="str" title="Label:" visible="1" removable="0" readonly="0">x axis</xlabel><xunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</xunits><xoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</xoffset><xscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</xscaling></xaxis><yaxis type="group" title="Y axis:" visible="1" removable="0" readonly="0"><ylabel type="str" title="Label:" visible="1" removable="0" readonly="0">y axis</ylabel><yunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</yunits><yoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</yoffset><yscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</yscaling></yaxis></axes></main_settings><detector_settings type="group" title="Detector Settings" visible="1" removable="0" readonly="0"><ROIselect type="group" title="ROI select:" visible="0" removable="0" readonly="0"><use_ROI type="bool" title="Use ROI:" visible="1" removable="0" readonly="0">0</use_ROI><x0 type="int" title="x0:" visible="1" removable="0" readonly="0">0</x0><y0 type="int" title="y0:" visible="1" removable="0" readonly="0">0</y0><width type="int" title="width:" visible="1" removable="0" readonly="0">10</width><height type="int" title="height:" visible="1" removable="0" readonly="0">10</height></ROIselect><controller_status type="list" title="Controller Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</controller_status><rolling type="int" title="Rolling?:" visible="1" removable="0" readonly="0">0</rolling><multi type="bool" title="Multi Channels?:" visible="1" removable="0" readonly="0">0</multi><Mock1 type="group" title="Mock1:" visible="1" removable="0" readonly="0"><Amp type="int" title="Amp:" visible="1" removable="0" readonly="0">20</Amp><x0 type="float" title="x0:" visible="1" removable="0" readonly="0">500.0</x0><dx type="float" title="dx:" visible="1" removable="0" readonly="0">0.3</dx><n type="int" title="n:" visible="1" removable="0" readonly="0">1</n><amp_noise type="float" title="noise:" visible="1" removable="0" readonly="0">0.1</amp_noise></Mock1><Mock2 type="group" title="Mock2:" visible="1" removable="0" readonly="0"><Amp type="int" title="Amp?:" visible="1" removable="0" readonly="0">10</Amp><x0 type="float" title="x0:" visible="1" removable="0" readonly="0">520.0</x0><dx type="float" title="dx:" visible="1" removable="0" readonly="0">0.7</dx><n type="int" title="n:" visible="1" removable="0" readonly="0">2</n><amp_noise type="float" title="noise:" visible="1" removable="0" readonly="0">0.1</amp_noise></Mock2><x_axis type="group" title="xaxis:" visible="1" removable="0" readonly="0"><Npts type="int" title="Npts:" visible="1" removable="0" readonly="0">513</Npts><x0 type="float" title="x0:" visible="1" removable="0" readonly="0">515.0</x0><dx type="float" title="dx:" visible="1" removable="0" readonly="0">0.1</dx></x_axis><laser_wl type="list" title="Laser Wavelength" visible="1" removable="0" readonly="0" values="[405, 515, 632.8]" limits="[405, 515, 632.8]" show_pb="1">int(515)</laser_wl><exposure_ms type="int" title="Exposure (ms)" visible="1" removable="0" readonly="0">100</exposure_ms></detector_settings></params></det01><det02 type="group" title="Det 02" visible="1" removable="1" readonly="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0">Det 2D</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0"><DAQ_type type="list" title="DAQ type:" visible="1" removable="0" readonly="1" values="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" limits="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" show_pb="1">str('DAQ2D')</DAQ_type><detector_type type="str" title="Detector type:" visible="1" removable="0" readonly="1">Mock</detector_type><Nviewers type="int" title="Nviewers:" visible="1" removable="0" readonly="1">1</Nviewers><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="1">8204</controller_ID><show_data type="bool" title="Show data and process:" visible="1" removable="0" readonly="0">1</show_data><refresh_time type="float" title="Refresh time (ms):" visible="1" removable="0" readonly="0">50.0</refresh_time><Naverage type="int" title="Naverage" visible="1" removable="0" readonly="0">1</Naverage><show_averaging type="bool" title="Show averaging:" visible="1" removable="0" readonly="0">0</show_averaging><live_averaging type="bool" title="Live averaging:" visible="1" removable="0" readonly="0">0</live_averaging><N_live_averaging type="int" title="N Live aver.:" visible="0" removable="0" readonly="0">0</N_live_averaging><wait_time type="int" title="Wait time (ms):" visible="1" removable="0" readonly="0">0</wait_time><continuous_saving_opt type="bool" title="Continuous saving:" visible="1" removable="0" readonly="0">0</continuous_saving_opt><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0">10.47.0.39</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0">6341</port></tcpip><overshoot type="group" title="Overshoot options:" visible="1" removable="0" readonly="0"><stop_overshoot type="bool" title="Overshoot:" visible="1" removable="0" readonly="0">0</stop_overshoot><overshoot_value type="float" title="Overshoot value:" visible="1" removable="0" readonly="0">0.0</overshoot_value></overshoot><axes type="group" title="Axis options:" visible="1" removable="0" readonly="0"><use_calib type="list" title="Use calibration?:" visible="1" removable="0" readonly="0" values="['None']" limits="['None']" show_pb="1">str('None')</use_calib><xaxis type="group" title="X axis:" visible="1" removable="0" readonly="0"><xlabel type="str" title="Label:" visible="1" removable="0" readonly="0">x axis</xlabel><xunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</xunits><xoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</xoffset><xscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</xscaling></xaxis><yaxis type="group" title="Y axis:" visible="1" removable="0" readonly="0"><ylabel type="str" title="Label:" visible="1" removable="0" readonly="0">y axis</ylabel><yunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</yunits><yoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</yoffset><yscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</yscaling></yaxis></axes></main_settings><detector_settings type="group" title="Detector Settings" visible="1" removable="0" readonly="0"><ROIselect type="group" title="ROI select:" visible="0" removable="0" readonly="0"><use_ROI type="bool" title="Use ROI:" visible="1" removable="0" readonly="0">0</use_ROI><x0 type="int" title="x0:" visible="1" removable="0" readonly="0">0</x0><y0 type="int" title="y0:" visible="1" removable="0" readonly="0">0</y0><width type="int" title="width:" visible="1" removable="0" readonly="0">10</width><height type="int" title="height:" visible="1" removable="0" readonly="0">10</height></ROIselect><controller_status type="list" title="Controller Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</controller_status><Nimagescolor type="int" title="Nimages colors:" visible="1" removable="0" readonly="0">1</Nimagescolor><Nimagespannel type="int" title="Nimages pannels:" visible="1" removable="0" readonly="0">1</Nimagespannel><threshold type="int" title="Threshold" visible="1" removable="0" readonly="0">1</threshold><rolling type="int" title="rolling" visible="1" removable="0" readonly="0">1</rolling><Nx type="int" title="Nx" visible="1" removable="0" readonly="0">100</Nx><Ny type="int" title="Ny" visible="1" removable="0" readonly="0">200</Ny><Amp type="int" title="Amp" visible="1" removable="0" readonly="0">20</Amp><x0 type="slide" title="x0" visible="1" removable="0" readonly="0">50.0</x0><y0 type="float" title="y0" visible="1" removable="0" readonly="0">100.0</y0><dx type="float" title="dx" visible="1" removable="0" readonly="0">20.0</dx><dy type="float" title="dy" visible="1" removable="0" readonly="0">40.0</dy><n type="int" title="n" visible="1" removable="0" readonly="0">1</n><amp_noise type="float" title="amp_noise" visible="1" removable="0" readonly="0">4.0</amp_noise><cam_settings type="group" title="Cam. Prop.:" visible="1" removable="0" readonly="0" /></detector_settings></params></det02></Detectors></Preset>
|
|
1
|
+
<Preset type="group" title="Preset" visible="1" removable="0" readonly="0"><filename type="str" title="Filename:" visible="1" removable="0" readonly="0" show_pb="0">preset_default</filename><use_pid type="bool" title="Use PID as actuator:" visible="1" removable="0" readonly="0" show_pb="0">0</use_pid><pid_models type="list" title="PID models:" visible="0" removable="0" readonly="0" values="['PIDModelBeamSteeringReal', 'PIDModelBeamSteeringReal1D', 'PIDModelMichelsonDemo']" limits="['PIDModelBeamSteeringReal', 'PIDModelBeamSteeringReal1D', 'PIDModelMichelsonDemo']" show_pb="0">str('PIDModelBeamSteeringReal')</pid_models><model_settings type="group" title="Model Settings:" visible="0" removable="0" readonly="0" show_pb="0"><threshold type="float" title="Threshold" visible="1" removable="0" readonly="0" show_pb="0">40.0</threshold></model_settings><Moves type="groupmove" title="Moves:" visible="1" removable="0" readonly="0" addList="['Mock', 'TCPServer', 'PID']" show_pb="0"><move00 type="group" title="Actuator 00" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">Xaxis</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><move_type type="str" title="Actuator type:" visible="1" removable="0" readonly="1" show_pb="0">MockTau</move_type><module_name type="str" title="Actuator name:" visible="1" removable="0" readonly="1" show_pb="0">Xaxis</module_name><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">5606</controller_ID><refresh_timeout type="int" title="Refresh value (ms):" visible="1" removable="0" readonly="0" show_pb="0">500</refresh_timeout><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">localhost</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip></main_settings><move_settings type="group" title="Actuator Settings:" visible="1" removable="0" readonly="0" show_pb="0"><comport type="str" title="Com port:" visible="1" removable="0" readonly="0" show_pb="0">COM28</comport><tau type="int" title="Tau (ms):" visible="1" removable="0" readonly="0" show_pb="0">500</tau><multiaxes type="group" title="MultiAxes:" visible="0" removable="0" readonly="0" show_pb="0"><ismultiaxes type="bool" title="is Multiaxes:" visible="1" removable="0" readonly="0" show_pb="0">0</ismultiaxes><multi_status type="list" title="Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</multi_status><axis type="list" title="Axis:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</axis></multiaxes><units type="list" title="Units:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</units><epsilon type="float" title="Epsilon:" visible="1" removable="0" readonly="0" show_pb="0">1.0</epsilon><timeout type="int" title="Timeout (s):" visible="1" removable="0" readonly="0" show_pb="0">10</timeout><bounds type="group" title="Bounds:" visible="1" removable="0" readonly="0" show_pb="0"><is_bounds type="bool" title="Set Bounds:" visible="1" removable="0" readonly="0" show_pb="0">0</is_bounds><min_bound type="float" title="Min:" visible="1" removable="0" readonly="0" show_pb="0">0.0</min_bound><max_bound type="float" title="Max:" visible="1" removable="0" readonly="0" show_pb="0">1.0</max_bound></bounds><scaling type="group" title="Scaling:" visible="1" removable="0" readonly="0" show_pb="0"><use_scaling type="bool" title="Use scaling:" visible="1" removable="0" readonly="0" show_pb="0">0</use_scaling><scaling type="float" title="Scaling factor:" visible="1" removable="0" readonly="0" show_pb="0">1.0</scaling><offset type="float" title="Offset factor:" visible="1" removable="0" readonly="0" show_pb="0">0.0</offset></scaling></move_settings></params></move00><move01 type="group" title="Actuator 01" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">Yaxis</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><move_type type="str" title="Actuator type:" visible="1" removable="0" readonly="1" show_pb="0">MockTau</move_type><module_name type="str" title="Actuator name:" visible="1" removable="0" readonly="1" show_pb="0">Yaxis</module_name><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">8101</controller_ID><refresh_timeout type="int" title="Refresh value (ms):" visible="1" removable="0" readonly="0" show_pb="0">500</refresh_timeout><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">localhost</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip></main_settings><move_settings type="group" title="Actuator Settings:" visible="1" removable="0" readonly="0" show_pb="0"><comport type="str" title="Com port:" visible="1" removable="0" readonly="0" show_pb="0">COM28</comport><tau type="int" title="Tau (ms):" visible="1" removable="0" readonly="0" show_pb="0">500</tau><multiaxes type="group" title="MultiAxes:" visible="0" removable="0" readonly="0" show_pb="0"><ismultiaxes type="bool" title="is Multiaxes:" visible="1" removable="0" readonly="0" show_pb="0">0</ismultiaxes><multi_status type="list" title="Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</multi_status><axis type="list" title="Axis:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</axis></multiaxes><units type="list" title="Units:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</units><epsilon type="float" title="Epsilon:" visible="1" removable="0" readonly="0" show_pb="0">1.0</epsilon><timeout type="int" title="Timeout (s):" visible="1" removable="0" readonly="0" show_pb="0">10</timeout><bounds type="group" title="Bounds:" visible="1" removable="0" readonly="0" show_pb="0"><is_bounds type="bool" title="Set Bounds:" visible="1" removable="0" readonly="0" show_pb="0">0</is_bounds><min_bound type="float" title="Min:" visible="1" removable="0" readonly="0" show_pb="0">0.0</min_bound><max_bound type="float" title="Max:" visible="1" removable="0" readonly="0" show_pb="0">1.0</max_bound></bounds><scaling type="group" title="Scaling:" visible="1" removable="0" readonly="0" show_pb="0"><use_scaling type="bool" title="Use scaling:" visible="1" removable="0" readonly="0" show_pb="0">0</use_scaling><scaling type="float" title="Scaling factor:" visible="1" removable="0" readonly="0" show_pb="0">1.0</scaling><offset type="float" title="Offset factor:" visible="1" removable="0" readonly="0" show_pb="0">0.0</offset></scaling></move_settings></params></move01><move02 type="group" title="Actuator 02" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">Theta</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><move_type type="str" title="Actuator type:" visible="1" removable="0" readonly="1" show_pb="0">MockTau</move_type><module_name type="str" title="Actuator name:" visible="1" removable="0" readonly="1" show_pb="0">Theta</module_name><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">6356</controller_ID><refresh_timeout type="int" title="Refresh value (ms):" visible="1" removable="0" readonly="0" show_pb="0">500</refresh_timeout><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">localhost</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip></main_settings><move_settings type="group" title="Actuator Settings:" visible="1" removable="0" readonly="0" show_pb="0"><comport type="str" title="Com port:" visible="1" removable="0" readonly="0" show_pb="0">COM28</comport><tau type="int" title="Tau (ms):" visible="1" removable="0" readonly="0" show_pb="0">2000</tau><multiaxes type="group" title="MultiAxes:" visible="0" removable="0" readonly="0" show_pb="0"><ismultiaxes type="bool" title="is Multiaxes:" visible="1" removable="0" readonly="0" show_pb="0">0</ismultiaxes><multi_status type="list" title="Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</multi_status><axis type="list" title="Axis:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</axis></multiaxes><units type="list" title="Units:" visible="1" removable="0" readonly="0" values="[]" limits="[]" show_pb="1">str('')</units><epsilon type="float" title="Epsilon:" visible="1" removable="0" readonly="0" show_pb="0">1.0</epsilon><timeout type="int" title="Timeout (s):" visible="1" removable="0" readonly="0" show_pb="0">10</timeout><bounds type="group" title="Bounds:" visible="1" removable="0" readonly="0" show_pb="0"><is_bounds type="bool" title="Set Bounds:" visible="1" removable="0" readonly="0" show_pb="0">0</is_bounds><min_bound type="float" title="Min:" visible="1" removable="0" readonly="0" show_pb="0">0.0</min_bound><max_bound type="float" title="Max:" visible="1" removable="0" readonly="0" show_pb="0">1.0</max_bound></bounds><scaling type="group" title="Scaling:" visible="1" removable="0" readonly="0" show_pb="0"><use_scaling type="bool" title="Use scaling:" visible="1" removable="0" readonly="0" show_pb="0">0</use_scaling><scaling type="float" title="Scaling factor:" visible="1" removable="0" readonly="0" show_pb="0">1.0</scaling><offset type="float" title="Offset factor:" visible="1" removable="0" readonly="0" show_pb="0">0.0</offset></scaling></move_settings></params></move02></Moves><Detectors type="groupdet" title="Detectors:" visible="1" removable="0" readonly="0" addList="['DAQ0D/Mock', 'DAQ0D/TCPServer', 'DAQ1D/Mock', 'DAQ1D/Mock_spectro', 'DAQ1D/TCPServer', 'DAQ2D/Mock', 'DAQ2D/TCPServer', 'DAQND/Mock']" show_pb="0"><det00 type="group" title="Det 00" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">Det0D</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><DAQ_type type="list" title="DAQ type:" visible="1" removable="0" readonly="1" values="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" limits="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" show_pb="1">str('DAQ0D')</DAQ_type><detector_type type="str" title="Detector type:" visible="1" removable="0" readonly="1" show_pb="0">Mock</detector_type><module_name type="str" title="Detector Name:" visible="1" removable="0" readonly="1" show_pb="0">Det0D</module_name><Nviewers type="int" title="Nviewers:" visible="1" removable="0" readonly="1" show_pb="0">1</Nviewers><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">4300</controller_ID><show_data type="bool" title="Show data and process:" visible="1" removable="0" readonly="0" show_pb="0">1</show_data><refresh_time type="float" title="Refresh time (ms):" visible="1" removable="0" readonly="0" show_pb="0">50.0</refresh_time><Naverage type="int" title="Naverage" visible="1" removable="0" readonly="0" show_pb="0">1</Naverage><show_averaging type="bool" title="Show averaging:" visible="1" removable="0" readonly="0" show_pb="0">0</show_averaging><live_averaging type="bool" title="Live averaging:" visible="1" removable="0" readonly="0" show_pb="0">0</live_averaging><N_live_averaging type="int" title="N Live aver.:" visible="0" removable="0" readonly="0" show_pb="0">0</N_live_averaging><wait_time type="int" title="Wait time (ms):" visible="1" removable="0" readonly="0" show_pb="0">0</wait_time><continuous_saving_opt type="bool" title="Continuous saving:" visible="1" removable="0" readonly="0" show_pb="0">0</continuous_saving_opt><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">localhost</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip><overshoot type="group" title="Overshoot options:" visible="1" removable="0" readonly="0" show_pb="0"><stop_overshoot type="bool" title="Overshoot:" visible="1" removable="0" readonly="0" show_pb="0">0</stop_overshoot><overshoot_value type="float" title="Overshoot value:" visible="1" removable="0" readonly="0" show_pb="0">0.0</overshoot_value></overshoot><axes type="group" title="Axis options:" visible="1" removable="0" readonly="0" show_pb="0"><use_calib type="list" title="Use calibration?:" visible="1" removable="0" readonly="0" values="['None']" limits="['None']" show_pb="1">str('None')</use_calib><xaxis type="group" title="X axis:" visible="1" removable="0" readonly="0" show_pb="0"><xlabel type="str" title="Label:" visible="1" removable="0" readonly="0" show_pb="0">x axis</xlabel><xunits type="str" title="Units:" visible="1" removable="0" readonly="0" show_pb="0">pxls</xunits><xoffset type="float" title="Offset:" visible="1" removable="0" readonly="0" show_pb="0">0.0</xoffset><xscaling type="float" title="Scaling" visible="1" removable="0" readonly="0" show_pb="0">1.0</xscaling></xaxis><yaxis type="group" title="Y axis:" visible="1" removable="0" readonly="0" show_pb="0"><ylabel type="str" title="Label:" visible="1" removable="0" readonly="0" show_pb="0">y axis</ylabel><yunits type="str" title="Units:" visible="1" removable="0" readonly="0" show_pb="0">pxls</yunits><yoffset type="float" title="Offset:" visible="1" removable="0" readonly="0" show_pb="0">0.0</yoffset><yscaling type="float" title="Scaling" visible="1" removable="0" readonly="0" show_pb="0">1.0</yscaling></yaxis></axes></main_settings><detector_settings type="group" title="Detector Settings" visible="1" removable="0" readonly="0" show_pb="0"><ROIselect type="group" title="ROI select:" visible="0" removable="0" readonly="0" show_pb="0"><use_ROI type="bool" title="Use ROI:" visible="1" removable="0" readonly="0" show_pb="0">0</use_ROI><x0 type="int" title="x0:" visible="1" removable="0" readonly="0" show_pb="0">0</x0><y0 type="int" title="y0:" visible="1" removable="0" readonly="0" show_pb="0">0</y0><width type="int" title="width:" visible="1" removable="0" readonly="0" show_pb="0">10</width><height type="int" title="height:" visible="1" removable="0" readonly="0" show_pb="0">10</height></ROIselect><controller_status type="list" title="Controller Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</controller_status><wait_time type="int" title="Wait time (ms)" visible="1" removable="0" readonly="0" show_pb="0">100</wait_time><sep_viewers type="bool" title="Separated viewers" visible="1" removable="0" readonly="0" show_pb="0">0</sep_viewers><lcd type="bool" title="Show in LCD" visible="1" removable="0" readonly="0" show_pb="0">0</lcd><Mock1 type="group" title="Mock1" visible="1" removable="0" readonly="0" show_pb="0"><Npts type="int" title="Npts" visible="1" removable="0" readonly="0" show_pb="0">200</Npts><Amp type="int" title="Amp" visible="1" removable="0" readonly="0" show_pb="0">20</Amp><x0 type="float" title="x0" visible="1" removable="0" readonly="0" show_pb="0">50.0</x0><dx type="float" title="dx" visible="1" removable="0" readonly="0" show_pb="0">20.0</dx><n type="int" title="n" visible="1" removable="0" readonly="0" show_pb="0">1</n><amp_noise type="float" title="amp_noise" visible="1" removable="0" readonly="0" show_pb="0">0.1</amp_noise></Mock1><Mock2 type="group" title="Mock2" visible="1" removable="0" readonly="0" show_pb="0"><Npts type="int" title="Npts" visible="1" removable="0" readonly="0" show_pb="0">200</Npts><Amp type="int" title="Amp" visible="1" removable="0" readonly="0" show_pb="0">10</Amp><x0 type="float" title="x0" visible="1" removable="0" readonly="0" show_pb="0">100.0</x0><dx type="float" title="dx" visible="1" removable="0" readonly="0" show_pb="0">30.0</dx><n type="int" title="n" visible="1" removable="0" readonly="0" show_pb="0">2</n><amp_noise type="float" title="amp_noise" visible="1" removable="0" readonly="0" show_pb="0">0.1</amp_noise></Mock2></detector_settings></params></det00><det01 type="group" title="Det 01" visible="1" removable="1" readonly="0" show_pb="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0" show_pb="0">Det1D</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0" show_pb="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0" show_pb="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0" show_pb="0"><DAQ_type type="list" title="DAQ type:" visible="1" removable="0" readonly="1" values="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" limits="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" show_pb="1">str('DAQ1D')</DAQ_type><detector_type type="str" title="Detector type:" visible="1" removable="0" readonly="1" show_pb="0">Mock</detector_type><module_name type="str" title="Detector Name:" visible="1" removable="0" readonly="1" show_pb="0">Det1D</module_name><Nviewers type="int" title="Nviewers:" visible="1" removable="0" readonly="1" show_pb="0">1</Nviewers><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0" show_pb="0">776</controller_ID><show_data type="bool" title="Show data and process:" visible="1" removable="0" readonly="0" show_pb="0">1</show_data><refresh_time type="float" title="Refresh time (ms):" visible="1" removable="0" readonly="0" show_pb="0">50.0</refresh_time><Naverage type="int" title="Naverage" visible="1" removable="0" readonly="0" show_pb="0">1</Naverage><show_averaging type="bool" title="Show averaging:" visible="1" removable="0" readonly="0" show_pb="0">0</show_averaging><live_averaging type="bool" title="Live averaging:" visible="1" removable="0" readonly="0" show_pb="0">0</live_averaging><N_live_averaging type="int" title="N Live aver.:" visible="0" removable="0" readonly="0" show_pb="0">0</N_live_averaging><wait_time type="int" title="Wait time (ms):" visible="1" removable="0" readonly="0" show_pb="0">0</wait_time><continuous_saving_opt type="bool" title="Continuous saving:" visible="1" removable="0" readonly="0" show_pb="0">0</continuous_saving_opt><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0" show_pb="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0" show_pb="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0" show_pb="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0" show_pb="0">localhost</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0" show_pb="0">6341</port></tcpip><overshoot type="group" title="Overshoot options:" visible="1" removable="0" readonly="0" show_pb="0"><stop_overshoot type="bool" title="Overshoot:" visible="1" removable="0" readonly="0" show_pb="0">0</stop_overshoot><overshoot_value type="float" title="Overshoot value:" visible="1" removable="0" readonly="0" show_pb="0">0.0</overshoot_value></overshoot><axes type="group" title="Axis options:" visible="1" removable="0" readonly="0" show_pb="0"><use_calib type="list" title="Use calibration?:" visible="1" removable="0" readonly="0" values="['None']" limits="['None']" show_pb="1">str('None')</use_calib><xaxis type="group" title="X axis:" visible="1" removable="0" readonly="0" show_pb="0"><xlabel type="str" title="Label:" visible="1" removable="0" readonly="0" show_pb="0">x axis</xlabel><xunits type="str" title="Units:" visible="1" removable="0" readonly="0" show_pb="0">pxls</xunits><xoffset type="float" title="Offset:" visible="1" removable="0" readonly="0" show_pb="0">0.0</xoffset><xscaling type="float" title="Scaling" visible="1" removable="0" readonly="0" show_pb="0">1.0</xscaling></xaxis><yaxis type="group" title="Y axis:" visible="1" removable="0" readonly="0" show_pb="0"><ylabel type="str" title="Label:" visible="1" removable="0" readonly="0" show_pb="0">y axis</ylabel><yunits type="str" title="Units:" visible="1" removable="0" readonly="0" show_pb="0">pxls</yunits><yoffset type="float" title="Offset:" visible="1" removable="0" readonly="0" show_pb="0">0.0</yoffset><yscaling type="float" title="Scaling" visible="1" removable="0" readonly="0" show_pb="0">1.0</yscaling></yaxis></axes></main_settings><detector_settings type="group" title="Detector Settings" visible="1" removable="0" readonly="0" show_pb="0"><ROIselect type="group" title="ROI select:" visible="0" removable="0" readonly="0" show_pb="0"><use_ROI type="bool" title="Use ROI:" visible="1" removable="0" readonly="0" show_pb="0">0</use_ROI><x0 type="int" title="x0:" visible="1" removable="0" readonly="0" show_pb="0">0</x0><y0 type="int" title="y0:" visible="1" removable="0" readonly="0" show_pb="0">0</y0><width type="int" title="width:" visible="1" removable="0" readonly="0" show_pb="0">10</width><height type="int" title="height:" visible="1" removable="0" readonly="0" show_pb="0">10</height></ROIselect><controller_status type="list" title="Controller Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</controller_status><rolling type="int" title="Rolling?:" visible="1" removable="0" readonly="0" show_pb="0">0</rolling><multi type="bool" title="Multi Channels?:" visible="1" removable="0" readonly="0" show_pb="0">0</multi><Mock1 type="group" title="Mock1:" visible="1" removable="0" readonly="0" show_pb="0"><Amp type="int" title="Amp:" visible="1" removable="0" readonly="0" show_pb="0">20</Amp><x0 type="float" title="x0:" visible="1" removable="0" readonly="0" show_pb="0">500.0</x0><dx type="float" title="dx:" visible="1" removable="0" readonly="0" show_pb="0">0.3</dx><n type="int" title="n:" visible="1" removable="0" readonly="0" show_pb="0">1</n><amp_noise type="float" title="noise:" visible="1" removable="0" readonly="0" show_pb="0">0.1</amp_noise></Mock1><Mock2 type="group" title="Mock2:" visible="1" removable="0" readonly="0" show_pb="0"><Amp type="int" title="Amp?:" visible="1" removable="0" readonly="0" show_pb="0">10</Amp><x0 type="float" title="x0:" visible="1" removable="0" readonly="0" show_pb="0">520.0</x0><dx type="float" title="dx:" visible="1" removable="0" readonly="0" show_pb="0">0.7</dx><n type="int" title="n:" visible="1" removable="0" readonly="0" show_pb="0">2</n><amp_noise type="float" title="noise:" visible="1" removable="0" readonly="0" show_pb="0">0.1</amp_noise></Mock2><x_axis type="group" title="xaxis:" visible="1" removable="0" readonly="0" show_pb="0"><Npts type="int" title="Npts:" visible="1" removable="0" readonly="0" show_pb="0">513</Npts><x0 type="float" title="x0:" visible="1" removable="0" readonly="0" show_pb="0">515.0</x0><dx type="float" title="dx:" visible="1" removable="0" readonly="0" show_pb="0">0.1</dx></x_axis><laser_wl type="list" title="Laser Wavelength" visible="1" removable="0" readonly="0" values="[405, 515, 632.8]" limits="[405, 515, 632.8]" show_pb="1">int(515)</laser_wl><exposure_ms type="int" title="Exposure (ms)" visible="1" removable="0" readonly="0" show_pb="0">100</exposure_ms></detector_settings></params></det01><det02 type="group" title="Det 02" visible="1" removable="1" readonly="0"><name type="str" title="Name:" visible="1" removable="0" readonly="0">Det 02</name><init type="bool" title="Init?:" visible="1" removable="0" readonly="0">1</init><params type="group" title="Settings:" visible="1" removable="0" readonly="0"><main_settings type="group" title="Main Settings:" visible="1" removable="0" readonly="0"><DAQ_type type="list" title="DAQ type:" visible="1" removable="0" readonly="1" values="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" limits="['DAQ0D', 'DAQ1D', 'DAQ2D', 'DAQND']" show_pb="1">str('DAQ2D')</DAQ_type><detector_type type="str" title="Detector type:" visible="1" removable="0" readonly="1">Mock</detector_type><module_name type="str" title="Detector Name:" visible="1" removable="0" readonly="1" /><Nviewers type="int" title="Nviewers:" visible="1" removable="0" readonly="1">1</Nviewers><controller_ID type="int" title="Controller ID:" visible="1" removable="0" readonly="0">4944</controller_ID><show_data type="bool" title="Show data and process:" visible="1" removable="0" readonly="0">1</show_data><refresh_time type="float" title="Refresh time (ms):" visible="1" removable="0" readonly="0">50.0</refresh_time><Naverage type="int" title="Naverage" visible="1" removable="0" readonly="0">1</Naverage><show_averaging type="bool" title="Show averaging:" visible="1" removable="0" readonly="0">0</show_averaging><live_averaging type="bool" title="Live averaging:" visible="1" removable="0" readonly="0">0</live_averaging><N_live_averaging type="int" title="N Live aver.:" visible="0" removable="0" readonly="0">0</N_live_averaging><wait_time type="int" title="Wait time (ms):" visible="1" removable="0" readonly="0">0</wait_time><continuous_saving_opt type="bool" title="Continuous saving:" visible="1" removable="0" readonly="0">0</continuous_saving_opt><tcpip type="group" title="TCP/IP options:" visible="1" removable="0" readonly="0"><connect_server type="bool_push" title="Connect to server:" visible="1" removable="0" readonly="0">0</connect_server><tcp_connected type="led" title="Connected?:" visible="1" removable="0" readonly="0">0</tcp_connected><ip_address type="str" title="IP address:" visible="1" removable="0" readonly="0">10.47.0.39</ip_address><port type="int" title="Port:" visible="1" removable="0" readonly="0">6341</port></tcpip><overshoot type="group" title="Overshoot options:" visible="1" removable="0" readonly="0"><stop_overshoot type="bool" title="Overshoot:" visible="1" removable="0" readonly="0">0</stop_overshoot><overshoot_value type="float" title="Overshoot value:" visible="1" removable="0" readonly="0">0.0</overshoot_value></overshoot><axes type="group" title="Axis options:" visible="1" removable="0" readonly="0"><use_calib type="list" title="Use calibration?:" visible="1" removable="0" readonly="0" values="['None']" limits="['None']" show_pb="1">str('None')</use_calib><xaxis type="group" title="X axis:" visible="1" removable="0" readonly="0"><xlabel type="str" title="Label:" visible="1" removable="0" readonly="0">x axis</xlabel><xunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</xunits><xoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</xoffset><xscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</xscaling></xaxis><yaxis type="group" title="Y axis:" visible="1" removable="0" readonly="0"><ylabel type="str" title="Label:" visible="1" removable="0" readonly="0">y axis</ylabel><yunits type="str" title="Units:" visible="1" removable="0" readonly="0">pxls</yunits><yoffset type="float" title="Offset:" visible="1" removable="0" readonly="0">0.0</yoffset><yscaling type="float" title="Scaling" visible="1" removable="0" readonly="0">1.0</yscaling></yaxis></axes></main_settings><detector_settings type="group" title="Detector Settings" visible="1" removable="0" readonly="0"><controller_status type="list" title="Controller Status:" visible="1" removable="0" readonly="0" values="['Master', 'Slave']" limits="['Master', 'Slave']" show_pb="1">str('Master')</controller_status><Nimagescolor type="int" title="Nimages colors:" visible="1" removable="0" readonly="0">1</Nimagescolor><Nimagespannel type="int" title="Nimages pannels:" visible="1" removable="0" readonly="0">1</Nimagespannel><use_roi_select type="bool" title="Use ROISelect" visible="1" removable="0" readonly="0">0</use_roi_select><threshold type="int" title="Threshold" visible="1" removable="0" readonly="0">1</threshold><rolling type="int" title="rolling" visible="1" removable="0" readonly="0">1</rolling><Nx type="int" title="Nx" visible="1" removable="0" readonly="0">100</Nx><Ny type="int" title="Ny" visible="1" removable="0" readonly="0">200</Ny><Amp type="int" title="Amp" visible="1" removable="0" readonly="0">20</Amp><x0 type="slide" title="x0" visible="1" removable="0" readonly="0">50</x0><y0 type="float" title="y0" visible="1" removable="0" readonly="0">100.0</y0><dx type="float" title="dx" visible="1" removable="0" readonly="0">20.0</dx><dy type="float" title="dy" visible="1" removable="0" readonly="0">40.0</dy><n type="int" title="n" visible="1" removable="0" readonly="0">1</n><amp_noise type="float" title="amp_noise" visible="1" removable="0" readonly="0">4.0</amp_noise><cam_settings type="group" title="Cam. Prop.:" visible="1" removable="0" readonly="0" /></detector_settings></params></det02></Detectors></Preset>
|
pymodaq/utils/__init__.py
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
"""
|
|
3
|
-
Created the 27/10/2022
|
|
4
|
-
|
|
5
|
-
@author: Sebastien Weber
|
|
6
|
-
"""
|
|
7
|
-
import sys
|
|
8
|
-
|
|
9
|
-
from pymodaq.daq_utils.messenger import deprecation_msg, messagebox
|
|
10
|
-
from pymodaq.daq_utils.daq_utils import get_version
|
|
11
|
-
from qtpy.QtWidgets import QApplication
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
def __getattr__(name):
|
|
15
|
-
msg = f'\n\n'\
|
|
16
|
-
f'************************************************************************\n'\
|
|
17
|
-
f'************************************************************************\n'\
|
|
18
|
-
f'Your version ({get_version()}) of pymodaq is deprecated compared to your\n'\
|
|
19
|
-
f'plugins, please move to the latest version (v4.x.y and older) which is\n'\
|
|
20
|
-
f'compatible with new and older plugins\n'\
|
|
21
|
-
f'The issue is related to the calling of *pymodaq.utils.xxxx* modules meant to ' \
|
|
22
|
-
f'be created into the v4+ version of pymodaq. If you want to make your plugins work with' \
|
|
23
|
-
f'both please use pymodaq.daq_utils.xxxx instead '\
|
|
24
|
-
f'************************************************************************\n'\
|
|
25
|
-
f'************************************************************************\n'
|
|
26
|
-
app = QApplication(sys.argv)
|
|
27
|
-
messagebox(severity='warning', title='Incompatible Version', text=msg)
|
|
28
|
-
sys.exit(app.exec_())
|
|
29
|
-
raise AttributeError
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
Created the 21/11/2022
|
|
4
|
+
|
|
5
|
+
@author: Sebastien Weber
|
|
6
|
+
|
|
7
|
+
Introduce some nice ABCMeta class allowing that a particular attribute has been declared when instantiating
|
|
8
|
+
See https://stackoverflow.com/a/50381071/8090831
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from abc import ABCMeta as NativeABCMeta
|
|
12
|
+
from abc import abstractmethod
|
|
13
|
+
from typing import cast, Any, Callable, TypeVar
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
R = TypeVar('R')
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class DummyAttribute:
|
|
20
|
+
pass
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def abstract_attribute(obj: Callable[[Any], R] = None) -> R:
|
|
24
|
+
_obj = cast(Any, obj)
|
|
25
|
+
if obj is None:
|
|
26
|
+
_obj = DummyAttribute()
|
|
27
|
+
_obj.__is_abstract_attribute__ = True
|
|
28
|
+
return cast(R, _obj)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class ABCMeta(NativeABCMeta):
|
|
32
|
+
|
|
33
|
+
def __call__(cls, *args, **kwargs):
|
|
34
|
+
instance = NativeABCMeta.__call__(cls, *args, **kwargs)
|
|
35
|
+
abstract_attributes = {
|
|
36
|
+
name
|
|
37
|
+
for name in dir(instance)
|
|
38
|
+
if getattr(getattr(instance, name), '__is_abstract_attribute__', False)
|
|
39
|
+
}
|
|
40
|
+
if abstract_attributes:
|
|
41
|
+
raise NotImplementedError(
|
|
42
|
+
"Can't instantiate abstract class {} with"
|
|
43
|
+
" abstract attributes: {}".format(
|
|
44
|
+
cls.__name__,
|
|
45
|
+
', '.join(abstract_attributes)
|
|
46
|
+
)
|
|
47
|
+
)
|
|
48
|
+
return instance
|
|
@@ -8,7 +8,7 @@ class AbstractLogger(ABC):
|
|
|
8
8
|
|
|
9
9
|
See Also
|
|
10
10
|
--------
|
|
11
|
-
pymodaq.
|
|
11
|
+
pymodaq.utils.h5modules.H5Logger or pymodaq.utils.db.db_logger.DbLoggerGUI
|
|
12
12
|
"""
|
|
13
13
|
@abstractmethod
|
|
14
14
|
def close(self):
|
|
@@ -36,11 +36,15 @@ class AbstractLogger(ABC):
|
|
|
36
36
|
pass
|
|
37
37
|
|
|
38
38
|
@abstractmethod
|
|
39
|
-
def add_detector(self,
|
|
39
|
+
def add_detector(self, module_name, settings):
|
|
40
40
|
pass
|
|
41
41
|
|
|
42
42
|
@abstractmethod
|
|
43
|
-
def
|
|
43
|
+
def add_actuator(self, module_name, settings):
|
|
44
|
+
pass
|
|
45
|
+
|
|
46
|
+
@abstractmethod
|
|
47
|
+
def add_data(self, data):
|
|
44
48
|
pass
|
|
45
49
|
|
|
46
50
|
@abstractmethod
|