|
8 | 8 |
|
9 | 9 | import numpy as np |
10 | 10 | import numpy.typing as npt |
11 | | -from typing_extensions import deprecated |
12 | 11 |
|
13 | 12 | from qcodes.instrument import Instrument, InstrumentBaseKWArgs, InstrumentChannel |
14 | | -from qcodes.utils.deprecate import QCoDeSDeprecationWarning |
15 | 13 | from qcodes.validators import Enum, Ints, Multiples |
16 | 14 |
|
17 | 15 | if TYPE_CHECKING: |
@@ -250,19 +248,6 @@ def clear_sequence(self, coord_sys: str) -> None: |
250 | 248 | self.write(f"CS {coord_sys}") |
251 | 249 |
|
252 | 250 |
|
253 | | -@deprecated( |
254 | | - "VectorMode is deprecated. Please use qcodes.instrument_drivers.Galil.GalilDMC4133VectorMode instead.", |
255 | | - category=QCoDeSDeprecationWarning, |
256 | | - stacklevel=1, |
257 | | -) |
258 | | -class VectorMode(GalilDMC4133VectorMode): |
259 | | - """ |
260 | | - Alias for backwards compatibility |
261 | | - """ |
262 | | - |
263 | | - pass |
264 | | - |
265 | | - |
266 | 251 | class GalilDMC4133Motor(InstrumentChannel["GalilDMC4133Controller"]): |
267 | 252 | """ |
268 | 253 | Class to control a single motor (independent of possible other motors) |
@@ -479,19 +464,6 @@ def error_magnitude(self) -> float: |
479 | 464 | return float(self.ask(f"QS{self._axis}=?")) |
480 | 465 |
|
481 | 466 |
|
482 | | -@deprecated( |
483 | | - "Motor is deprecated. Please use qcodes.instrument_drivers.Galil.GalilDMC4133Motor instead.", |
484 | | - category=QCoDeSDeprecationWarning, |
485 | | - stacklevel=1, |
486 | | -) |
487 | | -class Motor(GalilDMC4133Motor): |
488 | | - """ |
489 | | - Alias for backwards compatibility |
490 | | - """ |
491 | | - |
492 | | - pass |
493 | | - |
494 | | - |
495 | 467 | class GalilDMC4133Controller(GalilMotionController): |
496 | 468 | """ |
497 | 469 | Driver for Galil DMC-4133 Controller |
@@ -645,19 +617,6 @@ def wait_till_motion_complete(self) -> None: |
645 | 617 | self.motors_off() |
646 | 618 |
|
647 | 619 |
|
648 | | -@deprecated( |
649 | | - "DMC4133Controller is deprecated. Please use qcodes.instrument_drivers.Galil.GalilDMC4133Controller instead.", |
650 | | - category=QCoDeSDeprecationWarning, |
651 | | - stacklevel=1, |
652 | | -) |
653 | | -class DMC4133Controller(GalilDMC4133Controller): |
654 | | - """ |
655 | | - Alias for backwards compatibility |
656 | | - """ |
657 | | - |
658 | | - pass |
659 | | - |
660 | | - |
661 | 620 | class GalilDMC4133Arm: |
662 | 621 | """ |
663 | 622 | Module to control probe arm. It is assumed that the chip to be probed has |
@@ -1166,16 +1125,3 @@ def _calculate_vector_component(vec: float, val: int) -> int: |
1166 | 1125 | assert return_val % 1024 == 0 |
1167 | 1126 |
|
1168 | 1127 | return return_val |
1169 | | - |
1170 | | - |
1171 | | -@deprecated( |
1172 | | - "Arm is deprecated. Please use qcodes.instrument_drivers.Galil.GalilDMC4133Arm instead.", |
1173 | | - category=QCoDeSDeprecationWarning, |
1174 | | - stacklevel=1, |
1175 | | -) |
1176 | | -class Arm(GalilDMC4133Arm): |
1177 | | - """ |
1178 | | - Alias for backwards compatibility |
1179 | | - """ |
1180 | | - |
1181 | | - pass |
0 commit comments