qiboteam / qibolab

Quantum hardware module and drivers for Qibo.
https://qibo.science
Apache License 2.0
40 stars 10 forks source link

Bluefors Temperature Controller #834

Closed aorgazf closed 3 months ago

aorgazf commented 3 months ago

In this pull request I include a driver to retrieve data from Bluefors Temperature Controller.

image

# Example usage
from qibolab.instruments.bluefors import TemperatureController
import time
tc = TemperatureController('192.168.0.114') # XLD1000 Temperature Controller
while True:
  time.sleep(10)
  print("latest data")
  print(tc.data)

Checklist:

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 36 lines in your changes are missing coverage. Please review.

Project coverage is 64.71%. Comparing base (53d6ea1) to head (95f556f).

Files Patch % Lines
src/qibolab/instruments/bluefors.py 0.00% 36 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #834 +/- ## ========================================== - Coverage 65.09% 64.71% -0.39% ========================================== Files 50 51 +1 Lines 6034 6070 +36 ========================================== Hits 3928 3928 - Misses 2106 2142 +36 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibolab/pull/834/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/qiboteam/qibolab/pull/834/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `64.71% <0.00%> (-0.39%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

alecandido commented 3 months ago

Nice!

Can we close #594 then?