<jupyter_start><jupyter_text>Instrument: `OpticalSpectrumAnalyzer`<jupyter_code>%load_ext autoreload
%autoreload 2
from start import start

osa = start('Apex Optical Spectrum Analyzer')
# osa.spectrum(avgCnt=1).simplePlot(livePlot=True, label='Original view')
# oldWlRange = osa.wlRange
# osa.wlRange = [1543, 1555]
sp1 = osa.spectrum()#.simplePlot(livePlot=True, label='Zoom view')
# osa.wlRange = oldWlRange
sp1.simplePlot('b', lw=3, label='Drop port (a.k.a. R port)')
sp2.simplePlot('r', lw=3, label='Thru port (a.k.a. T port)')
import matplotlib.pyplot as plt
plt.title('FBG spectra w/ 1548.52nm +- 0.5nm')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1578125, 'fraction_numerical': 0.0359375, 'mean_word_length': 6.72289156626506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '607759', 'license': 'MIT', 'n_tokens_mistral': 282, 'n_tokens_neox': 256, 'n_words': 51, 'path': 'notebooks/BasicHardwareTests/OpticalSpectrumAnalyzer.ipynb', 'repo_name': 'simbilod/lightlab', 'size': '640'}