from equipment.hittite import signal_generator
from equipment.srs import lockin

from kid_readout.equipment import hardware
from kid_readout.measurement import acquire
from kid_readout.roach import heterodyne

# fg = FunctionGenerator()
hittite = signal_generator.Hittite(ipaddr='192.168.0.200')
hittite.set_power(0)
hittite.on()
lockin = lockin.Lockin('/dev/ttyUSB2')
tic = time.time()
print lockin.identification
print time.time()-tic
print lockin.state()
print time.time()-tic
source = mmwave_source.MMWaveSource()
source.set_attenuator_turns(3.0,3.0)
source.multiplier_input = 'hittite'
source.waveguide_twist_angle = 45
source.ttl_modulation_source = 'roach'

setup = hardware.Hardware(hittite, source, lockin)
setup.hittite.set_freq(148e9/12.)


ri = heterodyne.RoachHeterodyne(adc_valon='/dev/ttyUSB0')
ri.initialize()
#ri.initialize(use_config=False)
ri.iq_delay = 0
from kid_readout.equipment import hardware
from kid_readout.measurement import mmw_source_sweep, core, acquire
from kid_readout.roach import heterodyne

# fg = FunctionGenerator()
hittite = signal_generator.Hittite(ipaddr='192.168.0.200')
hittite.set_power(0)
hittite.on()
lockin = lockin.Lockin('/dev/ttyUSB2')
tic = time.time()
lockin.sensitivity = 17
print lockin.identification
print time.time()-tic
tic = time.time()
print lockin.state(measurement_only=True)
print time.time()-tic
source = mmwave_source.MMWaveSource()
source.set_attenuator_turns(7.0,7.0)
source.multiplier_input = 'hittite'
source.waveguide_twist_angle = 45
source.ttl_modulation_source = 'roach'

setup = hardware.Hardware(hittite, source, lockin)

ri = heterodyne.RoachHeterodyne(adc_valon='/dev/ttyUSB0')
ri.initialize()
#ri.initialize(use_config=False)
ri.iq_delay = 0

示例#3
0
from kid_readout.equipment import hardware
from kid_readout.measurement import mmw_source_sweep, core, acquire
from kid_readout.roach import heterodyne

# fg = FunctionGenerator()
hittite = signal_generator.Hittite(ipaddr='192.168.0.200')
hittite.set_power(0)
hittite.on()
lockin = lockin.Lockin('/dev/ttyUSB2')
tic = time.time()
lockin.sensitivity = 17
print lockin.identification
print time.time() - tic
tic = time.time()
print lockin.state(measurement_only=True)
print time.time() - tic
source = mmwave_source.MMWaveSource()
source.set_attenuator_turns(7.0, 7.0)
source.multiplier_input = 'hittite'
source.waveguide_twist_angle = 45
source.ttl_modulation_source = 'roach'

setup = hardware.Hardware(hittite, source, lockin)

ri = heterodyne.RoachHeterodyne(adc_valon='/dev/ttyUSB0')
ri.initialize()
#ri.initialize(use_config=False)
ri.iq_delay = 0

low_group = np.array([