ebilab.experiment.devices package

Classes to control experimental devices

class ebilab.experiment.devices.A707(*, addr: str | None = None, **kwargs: Any)[ソース]

ベースクラス: VisaDevice

Keithley 707A Switching Matrix

close_only(contacts: list[str]) None[ソース]

Open all switch and close only specified switch

パラメータ:

contacts (list) -- like ["A2", "B4", "C5"]

open_all() None[ソース]
pyvisa_inst: Any
visa_query(cmd: str) str

Send command to visa device and read output from device Equivalent to inst.query() in pyvisa class

visa_write(cmd: str) None

Send command to visa device Equivalent to inst.write() in pyvisa class

class ebilab.experiment.devices.E4980(*, addr: str | None = None, **kwargs: Any)[ソース]

ベースクラス: VisaDevice

Keysight E4980A Precision LCR Meter

meas_open(*, wait: bool = True) None[ソース]
meas_short(*, wait: bool = True) None[ソース]
pyvisa_inst: Any
trigger(f: float, *, time: str = 'MED', ampl: float | None = None, voltage: float | None = None, current: float | None = None, format: str = 'ZTD') tuple[float, float][ソース]

measure impedance

パラメータ:

f (float) -- frequency to measure

キーワード引数:
  • voltage (float) -- measurement amplitude [V]. Voltage and current are exclusive.

  • current (float) -- measurement amplitude [A]. Voltage and current are exclusive.

  • time (str) -- measurement time from {"LONG", "MED", "SHORT"}

  • format (str) -- format of return value from {"CPD", "CPQ", "CPG", "CPRP", "CSD", "CSQ", "CSRS", "LPD", "LPQ", "LPG", "LPRP", "LSD", "LSQ", "LSRS", "RX", "ZTD", "ZTR", "GB", "YTD", "YTR"}

戻り値:

Measured impedance value

戻り値の型:

[float, float]

visa_query(cmd: str) str

Send command to visa device and read output from device Equivalent to inst.query() in pyvisa class

visa_write(cmd: str) None

Send command to visa device Equivalent to inst.write() in pyvisa class

wait_correction() None[ソース]
class ebilab.experiment.devices.K34411A(*, addr: str | None = None, **kwargs: Any)[ソース]

ベースクラス: VisaDevice

Keysight 6½ Digit Digital Multimeter 34411A

measure_resistance(*, nplc: str | None = None, range: str = 'auto') float[ソース]

Measure resistance once

パラメータ:
  • nplc (Optional[str]) -- String from {"0.001", "0.002", "0.006", "0.02", "0.06", "0.2", "1", "2", "10", "100"}

  • range (Optional[str]) -- String from {"auto", "1E+2", "1E+3", "1E+4", "1E+5", "1E+6", "1E+7", "1E+8", "1E+9"}

measure_resistance_4w(*, nplc: str | None = None, range: str = 'auto') float[ソース]

Measure resistance once by 4 wire method

パラメータ:
  • nplc (Optional[str]) -- String from {"0.001", "0.002", "0.006", "0.02", "0.06", "0.2", "1", "2", "10", "100"}

  • range (Optional[str]) -- String from {"auto", "1E+2", "1E+3", "1E+4", "1E+5", "1E+6", "1E+7", "1E+8", "1E+9"}

measure_voltage(*, nplc: str | None = None, range: str = 'auto') float[ソース]

Measure resistance once

パラメータ:
  • nplc (Optional[str]) -- String from {"0.001", "0.002", "0.006", "0.02", "0.06", "0.2", "1", "2", "10", "100"}

  • range (Optional[str]) -- String from {"auto", "1E-1", "1E+0", "1E+1", "1E+2", "1E+3"}

pyvisa_inst: Any
visa_query(cmd: str) str

Send command to visa device and read output from device Equivalent to inst.query() in pyvisa class

visa_write(cmd: str) None

Send command to visa device Equivalent to inst.write() in pyvisa class