stoner_measurement.instruments.xray_diffractometer.AxisDirection

class stoner_measurement.instruments.xray_diffractometer.AxisDirection(*values)[source]

Bases: Enum

Direction of increasing or decreasing angular coordinate.

Viewed from above in reflection geometry, increasing theta is clockwise at the sample stage and increasing 2-theta is clockwise at the detector. Keeping this enum numerical still separates coordinate sign from opcode naming.

NEGATIVE = -1
POSITIVE = 1