Esempio n. 1
0
def run_nmr_frq_scan(name):
    m = BSM_sequences.NRabiMsmt('NMR_frq_scan_' +
                                name)  # BSM.ElectronRabiMsmt(name)
    BSM_sequences.prepare(m)

    pts = 21
    m.params['pts'] = pts
    m.params['reps_per_ROsequence'] = 1000
    m.params_lt1['RF_pulse_multiplicities'] = np.ones(pts).astype(int) * 1
    m.params_lt1['RF_pulse_delays'] = np.ones(pts) * 1e-6

    # MW pulses
    m.params_lt1['RF_pulse_durations'] = np.ones(pts) * 70e-6
    m.params_lt1['RF_pulse_amps'] = np.ones(pts) * 1
    m.params_lt1['RF_pulse_frqs'] = np.linspace(7.12e6, 7.15e6, pts)

    # for the autoanalysis
    m.params_lt1['sweep_name'] = 'RF frequency (MHz)'
    m.params_lt1['sweep_pts'] = m.params_lt1['RF_pulse_frqs'] * 1e-6

    BSM_sequences.finish(m, debug=False, upload=UPLOAD)
Esempio n. 2
0
def run_nmr_rabi(name):
    m = BSM_sequences.NRabiMsmt('Nuclear_rabi_' +
                                name)  # BSM.ElectronRabiMsmt(name)
    BSM_sequences.prepare(m)

    pts = 17
    m.params['pts'] = pts
    m.params['reps_per_ROsequence'] = 1000
    m.params_lt1['RF_pulse_multiplicities'] = np.ones(pts).astype(int) * 1
    m.params_lt1['RF_pulse_delays'] = np.ones(pts) * 1e-6

    # MW pulses
    m.params_lt1['RF_pulse_durations'] = np.linspace(1e-6, 201e-6, pts)
    m.params_lt1['RF_pulse_amps'] = np.ones(pts) * .55
    m.params_lt1['RF_pulse_frqs'] = np.ones(
        pts) * m.params_lt1['N_0-1_splitting_ms-1']

    # for the autoanalysis
    m.params_lt1['sweep_name'] = 'RF duration (us)'
    m.params_lt1['sweep_pts'] = m.params_lt1['RF_pulse_durations'] * 1e6

    BSM_sequences.finish(m, debug=False, upload=UPLOAD)