Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Releases: HuangJunye/GrapheneLab-Measurement-Code

gcodes v0.1.0

23 May 05:33
Compare
Choose a tag to compare

New

  • Python 3 supports. All codes are written for python 3. It won't run on python 2.
    • codes were converted by 2to3 command
    • Messages sending and receiving from SockServer, SockHandler and SockClient are encoded and decoded due to changes in default string encoding in python 3 (strings were bytes in python 2 but they are now encoded in utf-8 in python 3)
    • use f string
  • Rename class, methods, variable names from CapWords style to lowercase, following PEP8
  • Replace tabs with 4 spaces
  • Replace double quotes with single quotes. Use double quotes inside single quotes to avoid usage of '' escape characters to improve readability.
  • New directories: files are grouped under folders: instrument, measurement, utils, etc.
  • Added instrument drivers. drivers are organised by manufacturer and model:
    • A generic instrument class is introduced.
    • Keithley are splited into individual models derived from a common parent class: sourcemeter
    • SrsLia are re-written as a LockInAmplifier class with SR830 and SR850 child classes.
    • PicoWatt AVS-47B resistance bridge and Leiden TripleCurrentSource drivers are created from original TDaemon_DF.py
    • Oxford Instrument Mercury iPS magnet power supply driver is derived from original MDaemon.py
    • LakeShore 475 Gausss meter
    • Added a few empty drivers to be added later:
  • Jupyter notebooks to manually control lock-in amplifier, tcs and pico

Improvement

Fixes

Original Code from Eoin

23 May 03:27
Compare
Choose a tag to compare

This is the original code written by Eoin O'Farrel. It has been used in GrapheneLab for more than 5 years without major issues.