def __init__(self, params, filename): gpib_ch1 = int(params["Ch1 SR830 GPIB"]) lockin1 = stanford.SR830(gpib_ch1) gpib_ch2 = int(params["Ch2 SR830 GPIB"]) lockin2 = stanford.SR830(gpib_ch2) magnet = oxford.IPS120_10(GPIB_IPS120) # Define the temperature controllers self.cryocon = Cryocon32B(GPIB_CRYOCON32B) self.lakeshore = Lakeshore332(GPIB_LAKESHORE332) # Save parameters self.measurement_interval = float(params["sampling interval / s"]) self.lockin1 = lockin1 self.R_series1 = float(params["Ch1 R_series / Ohm"]) self.lockin2 = lockin2 self.R_series2 = float(params["Ch2 R_series / Ohm"]) self.magnet = magnet self.vgate = hp.HP3478(GPIB_HPDMM) # Initialise variables self.current_values = VAR_INIT.copy() self.var_titles = VAR_TITLES.copy() # create a csv logger self.logger = csvlogger.Logger(filename, self.var_order, self.var_titles, self.format_strings)
def __init__(self, params, filename): # Define the temperature controllers self.cryocon = Cryocon32B(GPIB_CRYOCON32B) self.lakeshore = Lakeshore332(GPIB_LAKESHORE332) # Save parameters self.measurement_interval = float(params["sampling interval / s"]) gpib_ch1 = int(params["Ch1 Keithley617 GPIB"]) self.keithley617 = keithley.Keithley617(gpib_ch1) gpib_ch2 = int(params["Ch2 SR830 GPIB"]) self.lockin2 = stanford.SR830(gpib_ch2) self.R_series2 = float(params["Ch2 R_series / Ohm"]) self.magnet = fake_magnets.ConstMagnet() # Initialise variables self.current_values = VAR_INIT.copy() self.var_titles = VAR_TITLES.copy() # create a csv logger self.logger = csvlogger.Logger(filename, self.var_order, self.var_titles, self.format_strings)
def __init__(self, lockin1, R_series1, lockin2, R_series2, magnet, logfilename): # Define the temperature controllers self.cryocon = Cryocon32B(GPIB_CRYOCON32B) self.lakeshore = Lakeshore332(GPIB_LAKESHORE332) # Save parameters self.lockin1 = lockin1 self.R_series1 = R_series1 self.lockin2 = lockin2 self.R_series2 = R_series2 self.magnet = magnet # Initialise variables self.currentValues = VAR_INIT.copy() self.varTitles = VAR_TITLES.copy() # create a csv logger self.logger = csvlogger.Logger(logfilename, VAR_LIST, VAR_TITLES, VAR_FORMATS)
def __init__(self, params, filename, lockin1, lockin2, magnet): # Define the temperature controllers self.cryocon = Cryocon32B(GPIB_CRYOCON32B) self.lakeshore = Lakeshore332(GPIB_LAKESHORE332) # Save parameters self.measurement_interval = float(params["sampling interval / s"]) self.lockin1 = lockin1 self.R_series1 = float(params["R_series1 / Ohm"]) self.lockin2 = lockin2 self.R_series2 = float(params["R_series2 / Ohm"]) self.magnet = magnet # Initialise variables self.current_values = VAR_INIT.copy() self.var_titles = VAR_TITLES.copy() # create a csv logger self.logger = csvlogger.Logger(filename, self.var_order, self.var_titles, self.format_strings)
def __init__(self, params, filename): self.keithley617 = keithley.Keithley617(GPIB_KEITHLEY617) self.magnet = oxford.IPS120_10(GPIB_IPS120) # Define the temperature controllers self.cryocon = Cryocon32B(GPIB_CRYOCON32B) self.lakeshore = Lakeshore332(GPIB_LAKESHORE332) # Save parameters self.measurement_interval = float(params["sampling interval / s"]) self.vgate = hp.HP3478(GPIB_HPDMM) # Initialise variables self.current_values = VAR_INIT.copy() self.var_titles = VAR_TITLES.copy() # create a csv logger self.logger = csvlogger.Logger(filename, self.var_order, self.var_titles, self.format_strings)