pymodaq 5.0.14__py3-none-any.whl → 5.0.16__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.

@@ -810,7 +810,7 @@ class DAQ_Move_Hardware(QObject):
810
810
  position = check_units(position, self.hardware.axis_unit)
811
811
  self.hardware.move_is_done = False
812
812
  self.hardware.ispolling = polling
813
- if self.hardware.data_actuator_type.name == 'float':
813
+ if self.hardware.data_actuator_type == self.hardware.data_actuator_type.float:
814
814
  self.hardware.move_abs(position.units_as(self.hardware.axis_unit).value()) # convert to plugin controller current axis units
815
815
  else:
816
816
  position.units = self.hardware.axis_unit # convert to plugin controller current axis units
@@ -119,7 +119,7 @@ class Scanner(QObject, ParameterManager):
119
119
  self.settings.child('n_steps').setValue(self._scanner.evaluate_steps())
120
120
 
121
121
  @property
122
- def actuators(self):
122
+ def actuators(self) -> list[DAQ_Move]:
123
123
  """list of str: Returns as a list the name of the selected actuators to describe the actual scan"""
124
124
  return self._actuators
125
125
 
@@ -206,7 +206,8 @@ class Scanner(QObject, ParameterManager):
206
206
  """ Extract the actuators positions at a given index in the scan as a DataToExport of DataActuators"""
207
207
  dte = DataToExport('scanner')
208
208
  for ind, pos in enumerate(self.positions[index]):
209
- dte.append(DataActuator(self.actuators[ind].title, data=float(pos)))
209
+ dte.append(DataActuator(self.actuators[ind].title, data=float(pos),
210
+ units=self.actuators[ind].units))
210
211
  return dte
211
212
 
212
213
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymodaq
3
- Version: 5.0.14
3
+ Version: 5.0.16
4
4
  Summary: Modular Data Acquisition with Python
5
5
  Project-URL: Homepage, http://pymodaq.cnrs.fr
6
6
  Project-URL: Source, https://github.com/PyMoDAQ/PyMoDAQ
@@ -49,7 +49,7 @@ Requires-Dist: multipledispatch
49
49
  Requires-Dist: numpy<2.0.0
50
50
  Requires-Dist: packaging
51
51
  Requires-Dist: pint
52
- Requires-Dist: pyleco>0.3; python_version >= '3.8'
52
+ Requires-Dist: pyleco<=0.4.2,>0.3; python_version >= '3.8'
53
53
  Requires-Dist: pymodaq-data>=5.0.18
54
54
  Requires-Dist: pymodaq-gui<5.0.23,>=5.0.17
55
55
  Requires-Dist: pymodaq-plugin-manager>=0.0.17
@@ -3,7 +3,7 @@ pymodaq/dashboard.py,sha256=rUrtOdaK31SKhl1XFagZdvVAEqEwU37WAbplciE6MhE,75119
3
3
  pymodaq/icon.ico,sha256=hOHHfNDENKphQvG1WDleSEYcHukneR2eRFJu8isIlD4,74359
4
4
  pymodaq/splash.png,sha256=ow8IECF3tPRUMA4tf2tMu1aRiMaxx91_Y2ckVxkrmF0,53114
5
5
  pymodaq/control_modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- pymodaq/control_modules/daq_move.py,sha256=emJLJ5t4w-X8L-yo5Jbwg7g_4hP1zPaoq2yGR9S0N5M,38833
6
+ pymodaq/control_modules/daq_move.py,sha256=wWzQpFxi1gPx4c03mUos1W3SVrGneVqVTq9k0RyZdnM,38859
7
7
  pymodaq/control_modules/daq_move_ui.py,sha256=bdkRX0wjkQuFDr4OT1Q6jT_15DEWV1dn2R6WF50H23s,16811
8
8
  pymodaq/control_modules/daq_viewer.py,sha256=f9WYEWIlVjnEakesObhsoLBIWfv1tv4Q8TopqfP8lsg,58602
9
9
  pymodaq/control_modules/daq_viewer_ui.py,sha256=7XTidYrYlzj--DbbE1Wx4UBjvp1upGpziGhSTPoMKCc,15677
@@ -99,7 +99,7 @@ pymodaq/utils/scanner/__init__.py,sha256=LqY1QwGnJEgr8CcW8uLWzbWy55Nvkmjmww4nl7x
99
99
  pymodaq/utils/scanner/scan_config.py,sha256=GJeH8oeZ_zMtujwkLM1jpKDQFLFKIN1wlkxXbOv6nWM,325
100
100
  pymodaq/utils/scanner/scan_factory.py,sha256=fu4kQrAoYsXeVg1VlHT2cyLZTuCQBJcz6X97CgMb0kw,8577
101
101
  pymodaq/utils/scanner/scan_selector.py,sha256=uu55xcijjg1fcvF59VVbtRLzXLoxb_3klEJPLiAuyws,16319
102
- pymodaq/utils/scanner/scanner.py,sha256=QxQwkkGpJvBfaoUQHGX6EK2EbIQGQFj47qBd8VQ7A0k,10898
102
+ pymodaq/utils/scanner/scanner.py,sha256=007u4TVDTvxRDWnuXCWDNVOiUmflAJB99EjQ33Fh7VM,10985
103
103
  pymodaq/utils/scanner/utils.py,sha256=YjjrWWKs9q_OgP5xK277IyEsMqp15qFxU19kQ8f5R-c,3680
104
104
  pymodaq/utils/scanner/scanners/_1d_scanners.py,sha256=ArT1H8zl1_TztvxelDhjviEBtyv4AOO9Rt54EMKIuuQ,7812
105
105
  pymodaq/utils/scanner/scanners/_2d_scanners.py,sha256=AAHHHgyMtkXQTWnuPh3IY5ytATG5Lqc-AHJRpXIYApw,13851
@@ -114,8 +114,8 @@ pymodaq/utils/tcp_ip/__init__.py,sha256=1e_EK0AgvdoLAD_CSGGEaITZdy6OWCO7ih9IAIp7
114
114
  pymodaq/utils/tcp_ip/mysocket.py,sha256=03FaQskso8nLLAsN-ijX-RazXbeMezRnAPvsRxTQa4k,326
115
115
  pymodaq/utils/tcp_ip/serializer.py,sha256=Bp6ZpGqMdZlX4CnT371d7ZYqIp7UygsRsE9XFkWZrto,400
116
116
  pymodaq/utils/tcp_ip/tcp_server_client.py,sha256=eL-Q1HnnaAG8wfTUb9unEIiNFApMXzfzfveUWoC0_mg,30657
117
- pymodaq-5.0.14.dist-info/METADATA,sha256=PBseBW0wheA1lpO6ZXPfL42Mhtbg5VCYN4i4SOeDwzo,12894
118
- pymodaq-5.0.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
119
- pymodaq-5.0.14.dist-info/entry_points.txt,sha256=DvPq6fmIPH2JNsCqHDhn1xEj1kX5tfuc7xQ8-l5S2EU,387
120
- pymodaq-5.0.14.dist-info/licenses/LICENSE,sha256=VKOejxexXAe3XwfhAhcFGqeXQ12irxVHdeAojZwFEI8,1108
121
- pymodaq-5.0.14.dist-info/RECORD,,
117
+ pymodaq-5.0.16.dist-info/METADATA,sha256=AyhKhjh8_dbJYOmlVZIf6tzE4yBv0iMQPhG6MnFcBbo,12902
118
+ pymodaq-5.0.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
119
+ pymodaq-5.0.16.dist-info/entry_points.txt,sha256=DvPq6fmIPH2JNsCqHDhn1xEj1kX5tfuc7xQ8-l5S2EU,387
120
+ pymodaq-5.0.16.dist-info/licenses/LICENSE,sha256=VKOejxexXAe3XwfhAhcFGqeXQ12irxVHdeAojZwFEI8,1108
121
+ pymodaq-5.0.16.dist-info/RECORD,,