Skip to content

Eurotherm based device (gas heat blower or Hermann's heater)

# from 400.5 K to 500.5 K with a step 0.5
# It is not possible to use range with float,
# Thus we import arange from numpy
from numpy import arange

temps = arange(400.5, 501, 0.5)
for t in temps:
    # ramp 10 C/min
    blower.ramp(t, 10)
    blower.wait()
    # Directory pattern is like Sample1_400.5C
    diffractometer.scan(folder=f'Sample1_{t:.2f}C')