<jupyter_start><jupyter_text>You may have to run the following cell (opening BK765) several times, and may have to unplug-replug the ethernet connection to the instrument<jupyter_code>pg = rm.open_resource('TCPIP0::PULSE-RIDER::inst0::INSTR')
pg.query('*idn?')
slowpg = rm.open_resource('GPIB0::6::INSTR')
slowpg.query('*idn?')
scope = rm.open_resource('GPIB0::14::INSTR')
scope.query('*idn?')
exp = PUND(pg, slowpg, scope)
exp.config_path('../../data/FE_switching/YJ162/011222/test/')<jupyter_output><empty_output><jupyter_text>Un-comment the next cell if you want to programatically zoom the xaxis on the tektronix TDS6604 scope<jupyter_code># # if you want to zoom in on the xaxis of the scope (only allowed for TDS6604)
# exp.set_horizontal_scale('40ns')
# Fast pund with the power divider
scan_params = {
    'inverted':[True, False],
    'offset':['{}mv'.format(x) for x in np.linspace(-300, 0, 13)]
}
fixed_params = {
    'bk765':pg,
    'afg3252':slowpg,
    'tds6604':scope,
    'voltage':'1000mv',
    'pulsewidth': '800ns',
    'delay':'100ns',
    'offset':'0mV',
    'offset_time_delay':'95ns',
    'identifier':'25um',
    'note':'driving top'
}
order = ['offset', 'inverted']
exp.n_param_scan(scan_params, fixed_params, order, print_progress=False, plot=True, ntrials=1)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1612167300380228, 'fraction_numerical': 0.04714828897338403, 'mean_word_length': 5.748717948717949, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '652256', 'license': 'MIT', 'n_tokens_mistral': 544, 'n_tokens_neox': 492, 'n_words': 107, 'path': 'src/ekpmeasure/experiments/ferroelectric/_fastPUND/_notebook.ipynb', 'repo_name': 'cjfinnell/ekpmeasure', 'size': '1315'}