Lakeshore

Lakeshore340 Cryogenic Temperature Controller

class instruments.lakeshore.Lakeshore340(filelike)[source]

The Lakeshore340 is a multi-sensor cryogenic temperature controller.

Example usage:

>>> import instruments as ik
>>> import instruments.units as u
>>> inst = ik.lakeshore.Lakeshore340.open_gpibusb('/dev/ttyUSB0', 1)
>>> print(inst.sensor[0].temperature)
>>> print(inst.sensor[1].temperature)
class Sensor(parent, idx)[source]

Class representing a sensor attached to the Lakeshore 340.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the Lakeshore340 class.

temperature

Gets the temperature of the specified sensor.

Units:Kelvin
Type:Quantity
sensor

Gets a specific sensor object. The desired sensor is specified like one would access a list.

For instance, this would query the temperature of the first sensor:

>>> bridge = Lakeshore340.open_serial("COM5")
>>> print(bridge.sensor[0].temperature)

The Lakeshore 340 supports up to 2 sensors (index 0-1).

Return type:Sensor

Lakeshore370 AC Resistance Bridge

class instruments.lakeshore.Lakeshore370(filelike)[source]

The Lakeshore 370 is a multichannel AC resistance bridge for use in low temperature dilution refridgerator setups.

Example usage:

>>> import instruments as ik
>>> bridge = ik.lakeshore.Lakeshore370.open_gpibusb('/dev/ttyUSB0', 1)
>>> print(bridge.channel[0].resistance)
class Channel(parent, idx)[source]

Class representing a sensor attached to the Lakeshore 370.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the Lakeshore370 class.

resistance

Gets the resistance of the specified sensor.

Units:Ohm
Return type:Quantity
channel

Gets a specific channel object. The desired channel is specified like one would access a list.

For instance, this would query the resistance of the first channel:

>>> import instruments as ik
>>> bridge = ik.lakeshore.Lakeshore370.open_serial("COM5")
>>> print(bridge.channel[0].resistance)

The Lakeshore 370 supports up to 16 channels (index 0-15).

Return type:Channel

Lakeshore475 Gaussmeter

class instruments.lakeshore.Lakeshore475(filelike)[source]

The Lakeshore475 is a DSP Gaussmeter with field ranges from 35mG to 350kG.

Example usage:

>>> import instruments as ik
>>> import instruments.units as u
>>> gm = ik.lakeshore.Lakeshore475.open_gpibusb('/dev/ttyUSB0', 1)
>>> print(gm.field)
>>> gm.field_units = u.tesla
>>> gm.field_setpoint = 0.05 * u.tesla
class Filter[source]

Enum containing valid filter modes for the Lakeshore 475

lowpass = 3
narrow = 2
wide = 1
class Mode[source]

Enum containing valid measurement modes for the Lakeshore 475

dc = 1
peak = 3
rms = 2
class PeakDisplay[source]

Enum containing valid peak displays for the Lakeshore 475

both = 3
negative = 2
positive = 1
class PeakMode[source]

Enum containing valid peak modes for the Lakeshore 475

periodic = 1
pulse = 2
change_measurement_mode(mode, resolution, filter_type, peak_mode, peak_disp)[source]

Change the measurement mode of the Gaussmeter.

Parameters:
  • mode (Lakeshore475.Mode) – The desired measurement mode.
  • resolution (int) – Digit resolution of the measured field. One of {3|4|5}.
  • filter_type (Lakeshore475.Filter) – Specify the signal filter used by the instrument. Available types include wide band, narrow band, and low pass.
  • peak_mode (Lakeshore475.PeakMode) – Peak measurement mode to be used.
  • peak_disp (Lakeshore475.PeakDisplay) – Peak display mode to be used.
control_mode

Gets/sets the control mode setting. False corresponds to the field control ramp being disables, while True enables the closed loop PI field control.

Type:bool
control_slope_limit

Gets/sets the I value for the field control ramp.

Units:As specified (if a Quantity) or assumed to be of units volt / minute.
Type:Quantity
field

Read field from connected probe.

Type:Quantity
field_control_params

Gets/sets the parameters associated with the field control ramp. These are (in this order) the P, I, ramp rate, and control slope limit.

Type:tuple of 2 float and 2 Quantity
field_setpoint

Gets/sets the final setpoint of the field control ramp.

Units:As specified (if a Quantity) or assumed to be of units Gauss.
Type:Quantity with units Gauss
field_units

Gets/sets the units of the Gaussmeter.

Acceptable units are Gauss, Tesla, Oersted, and Amp/meter.

Type:Unit
i_value

Gets/sets the I value for the field control ramp.

Type:float
p_value

Gets/sets the P value for the field control ramp.

Type:float
ramp_rate

Gets/sets the ramp rate value for the field control ramp.

Units:As specified (if a Quantity) or assumed to be of current field units / minute.
Type:Quantity
temp_units

Gets/sets the temperature units of the Gaussmeter.

Acceptable units are celcius and kelvin.

Type:Unit