def enable(self): R""" Enables the updater. Example:: box_updater.set_params(isotropic=True) run(1e5) box_updater.disable() update.box_resize(dLy = 10) box_updater.enable() run(1e5) See updater base class documentation for more information """ self.cpp_updater.computeAspectRatios() _updater.enable(self)
def enable(self): R""" Enables the updater. Example:: box_updater.set_params(isotropic=True) run(1e5) box_updater.disable() update.box_resize(dLy = 10) box_updater.enable() run(1e5) See updater base class documentation for more information """ self.cpp_updater.computeAspectRatios(); _updater.enable(self);