<jupyter_start><jupyter_text>Square Wave<jupyter_code>df=pd.read_csv("cloud-1d-n=1e3.dat")
len(df)
density=10000
for i in range(15):
    df.iloc[i*100:,4]=density
    if density>110:
        density=1000
    else:
        density=100000
fig,ax=plt.subplots()
df.plot(y="  n_H (c^m-3)  ",x="Particle # ",ax=ax)
df.to_csv("cloud-square.dat",index=False)<jupyter_output><empty_output><jupyter_text>Rising Density<jupyter_code>df=pd.read_csv("cloud-1d-n=1e3.dat")
n_points=len(df)
density=np.linspace(100,1e5,n_points)
df["  n_H (c^m-3)  "]=density
fig,ax=plt.subplots()
df.plot(y="  n_H (c^m-3)  ",x="Particle # ",ax=ax)
df.to_csv("linear-density-increase.dat",index=False)<jupyter_output><empty_output><jupyter_text>Falling Density<jupyter_code>df=pd.read_csv("cloud-1d-n=1e3.dat")
n_points=len(df)
density=np.linspace(1e5,100,n_points)
df["  n_H (c^m-3)  "]=density
fig,ax=plt.subplots()
df.plot(y="  n_H (c^m-3)  ",x="Particle # ",ax=ax)
df.to_csv("linear-density-decrease.dat",index=False)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.20098039215686275, 'fraction_numerical': 0.047058823529411764, 'mean_word_length': 7.039370078740157, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 14, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '415292', 'license': 'MIT', 'n_tokens_mistral': 514, 'n_tokens_neox': 482, 'n_words': 49, 'path': 'Input/.ipynb_checkpoints/Make_Clouds-checkpoint.ipynb', 'repo_name': 'uclchem/uclpdr', 'size': '1020'}