Skip to content

Measure all LaB6 patterns at once

dists = [0, 100, 200, 300, 400, 500]
heights = [-80, 0]

for d in dists:
    heights = heights[::-1]
    for h in heights:
        diffractometer.scan(filename=f'lab6_{d:03d}_{h:02d}',
                            pldistf=d, plvert=h, omega=0,
                            dOmega=360, nperiods=1,
                            exposure=60, nframes=1, nop=1)