OpticAlignment is a computer-controlled, motorized alignment system that maximizes the X‑ray flux from VariMax optics. Small Picomotor™ actuators adjust the micrometers on the VariMax optic to maximize the X-ray flux measured by a PIN diode meter through a pinhole at the sample position.