import time import numpy as np from kid_readout.roach import analog, calculate, hardware_tools, tools from kid_readout.measurement import acquire, basic from kid_readout.equipment import hardware, starcryo_temps from equipment.srs import lockin from equipment.custom import mmwave_source from kid_readout.settings import LOCKIN_SERIAL_PORT acquire.show_settings() acquire.show_git_status() import logging logger = acquire.get_script_logger(__file__, level=logging.DEBUG) # Parameters suffix = 'mmw_source' attenuations = [30] """ f_center = 1e6 * np.array([ 2757.5, #2778.3, #2792.0, #2816.0, #2872.0, # low Q 2921.5, #2998.5, #3001.0, 3085.0,
""" Measure several resonators per LO frequency and record SweepStreamArrays. """ import time import numpy as np from kid_readout.roach import hardware_tools, analog from kid_readout.measurement import acquire, basic from kid_readout.equipment import hardware logger = acquire.get_script_logger(__file__) # Parameters suffix = 'interactive' low_f0_MHz = np.array([2254.837, 2326.842, 2483.490, 2580]) high_f0_MHz = np.array([3313.270, 3378.300, 3503.600, 3524.435]) f0_MHz = high_f0_MHz[0] f_minimum = 10e6 # Keep the tones away from the LO by at least this frequency. f_stream_offset_MHz = 10 # Set a second tone away from the resonance by this amount df_lo_MHz = 0.1 sweep_interval = 6 dac_attenuation = 33 fft_gain = 0 tone_sample_exponent = 18 sweep_length_seconds = 0.1 num_sweep_tones = 255 # Hardware conditioner = analog.HeterodyneMarkII() magnet = hardware.Thing(name='magnet_array', state={'orientation': 'up',
""" Measure resonators, one at a time, with the readout tone centered in the filterbank bin. """ from __future__ import division import time import numpy as np from kid_readout.roach import analog, hardware_tools, tools from kid_readout.measurement import acquire from kid_readout.equipment import hardware acquire.show_settings() acquire.show_git_status() logger = acquire.get_script_logger(__file__) # Parameters suffix = 'led_on' attenuation = 20 fft_gain = 4 df_baseband_target = 15e3 f_start = 2.4e9 f_stop = 3.1e9 overlap_fraction = 0.5 f_baseband_minimum = 10e6 # Keep the tones away from the LO by at least this frequency f_baseband_maximum = 200e6 # Keep the tones below this frequency length_seconds = 0 # Take the minimum amount of data, in this case one block filterbank_bin_separation = 2 # The minimum number of PFB bins that separate tones df_lo = 2.5e3 # The minimum num_tones_maximum = 128 # Imposed by the data streaming rate
import numpy as np from kid_readout.roach import analog, calculate, hardware_tools, tools from kid_readout.measurement import acquire, basic from kid_readout.equipment import hardware, starcryo_temps from equipment.srs import lockin from equipment.custom import mmwave_source from kid_readout.settings import LOCKIN_SERIAL_PORT acquire.show_settings() acquire.show_git_status() import logging logger = acquire.get_script_logger(__file__, level=logging.DEBUG) # Parameters suffix = 'test' attenuations = [0] f_center = 1e6 * np.array([3420.5]) fractional_frequency_shift = 0 f_center *= (1 + fractional_frequency_shift) df_baseband_target = 15e3 fine_sweep_num_linewidths = 5 f_sweep_span = 2e6 # The total span of the baseband tones coarse_stride = 32 f_lo_spacing = 2.5e3 # This is the smallest resolution available f_baseband_minimum = 100e6 # Keep the tones away from the LO by at least this frequency. sweep_length_seconds = 0.01