<jupyter_start><jupyter_text>Example: one layer of silicon in vacuum<jupyter_code>from chal import stack
import numpy as np
import matplotlib.pyplot as plt<jupyter_output><empty_output><jupyter_text>One layer of silicon $\epsilon=11.68$ and thickness $d=1 mm$<jupyter_code>epsilons = [[1,0], [11.68, 0], [1,0]] # epsilons is a list of real and imaginary part of epsilon
ds=[1e-3] # one layer of thickness 1mm (in meters)
fs = np.linspace(700e9, 900e9, 1000)
s = stack.Stack(epsilons, ds, fs)
plt.plot(s.freqs/1e9, s.T, label='1mm sample')
plt.axhline(s.T.mean(), label='mean', color='C1')
plt.legend(loc='upper right')
plt.title("Transmittance for a 1 mm thick silicon piece")
plt.xlabel('frequency [GHz]')
plt.ylabel('Transmittance [-]')
plt.savefig('Example1_Transmittance_1mmThickSilicon.pdf')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14648910411622276, 'fraction_numerical': 0.043583535108958835, 'mean_word_length': 6.876190476190477, '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': '429096', 'license': 'MIT', 'n_tokens_mistral': 343, 'n_tokens_neox': 316, 'n_words': 78, 'path': 'examples/One layer of silicon in vacuum.ipynb', 'repo_name': 'patogallardo/chal', 'size': '826'}