Skip to content

Commit

Permalink
Added phased-scanning for linear probes in Python.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjarosik committed Nov 13, 2021
1 parent 9abc058 commit f6d7c49
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 35 deletions.
4 changes: 2 additions & 2 deletions api/python/arrus/devices/us4r.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import ctypes
import collections.abc

import arrus.utils.core
import arrus.logging
from arrus.devices.device import Device, DeviceId, DeviceType
import arrus.exceptions
import arrus.devices.probe
Expand Down Expand Up @@ -104,10 +102,12 @@ def get_probe_model(self):
"""
Returns probe model description.
"""
import arrus.utils.core
return arrus.utils.core.convert_to_py_probe_model(
core_model=self._handle.getProbe(0).getModel())

def _get_dto(self):
import arrus.utils.core
probe_model = arrus.utils.core.convert_to_py_probe_model(
core_model=self._handle.getProbe(0).getModel())
probe_dto = arrus.devices.probe.ProbeDTO(model=probe_model)
Expand Down
Loading

0 comments on commit f6d7c49

Please sign in to comment.