<jupyter_start><jupyter_text>Introduction to the Interstellar Medium <NAME>  Figure 7.4: molecular rich spectrum  this is a small portion (centered around CO 3-2) from the published spectrum in https://www.aanda.org/articles/aa/abs/2016/11/aa28648-16/aa28648-16.html the ascii file was provided by <NAME><jupyter_code>import numpy as np
import matplotlib.pyplot as plt
from matplotlib.ticker import FormatStrFormatter
%matplotlib inline
nu, flux = np.loadtxt('PILS_spectrum.txt', unpack=True)

plt.style.use('classic')
fig = plt.figure(figsize=(6,4))
ax = fig.add_subplot(1,1,1)
ax.set_xlabel(r"$\nu$ [GHz]", fontsize=16)
ax.set_ylabel(r"Flux [Jy]", fontsize=16)

ax.plot(nu, flux, color='k', lw=1)

ax.xaxis.set_major_formatter(FormatStrFormatter('%5.1f'))
ax.set_xlim(344.55, 347.44)
ax.set_ylim(-0.07, 1.3)

fig.tight_layout() 
plt.savefig('PILS_spectrum.pdf')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1455767077267637, 'fraction_numerical': 0.05711086226203808, 'mean_word_length': 6.2682926829268295, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '415967', 'license': 'CC0-1.0', 'n_tokens_mistral': 386, 'n_tokens_neox': 348, 'n_words': 72, 'path': 'molecules/.ipynb_checkpoints/PILS_spectrum-checkpoint.ipynb', 'repo_name': 'CambridgeUniversityPress/IntroductionInterstellarMedium', 'size': '911'}