```python
from matplotlib import pyplot as plt
import pandas as pd

df = pd.read_csv('20250824-temperature-02.csv')
df["Time"] = df["Time [ms]"] / 1000. / 60.

fig, ax = plt.subplots(figsize=(24, 8))
ax.set_ylim(25.4, df["Raw"].max() + 0.01)
ax.plot(df["Time"], df["Raw"])
ax.plot(df["Time"], df["Temperature"])
ax.set_ylabel("Temperature / °C")
ax.set_xlabel("Time / minutes")
ax.legend(["Raw Temperature", "Temperature"])
ax.grid()

def event(time_minutes, label, yoff=0):
    y = ax.get_ylim()[1] - yoff
    ax.annotate(label, xy=(time_minutes, y))
    ax.axvline(x=time_minutes, color="red")

event(3330 / 60, "Start install aluminum")
event(4440 / 60, "Start remove aluminum")
event(5208 / 60, "New tip")
event(5450 / 60, "Aluminum back on STM")
event(5720 / 60, "First tunneling", 0.03)
event(6860 / 60, "Stable tunneling started", 0.26)
event(7100 / 60, "Stable tunneling stopped", 0.23)
event(7200 / 60, "Heated up the STM externally")
event(7669 / 60, "Stable tunneling start 80pA", 0.42)
event(7780 / 60, "Changed to 210pA", 0.26)
event(7990 / 60, "Drifted out of range", 0.38)
event(8300 / 60, "Heated again")
event(8327 / 60, "STM spontaneously starts tunneling", 0.52)
event(8500 / 60, "Very noisy but long term tunneling", 0.2)
event(8950 / 60, "End tunneling", 0.25)
```


    
![png](Temperature-Data_files/Temperature-Data_0_0.png)
    



```python

```


```python

```
