context

class hkl.context.TemporaryGeometry(calc)

Context manager that restores physical geometry after a block of code

class hkl.context.UsingEngine(calc, engine)

Context manager that uses a calculation engine temporarily