hyperspy.misc.ipython_tools module

hyperspy.misc.ipython_tools.get_interactive_ns()
hyperspy.misc.ipython_tools.get_ipython()

Get the global InteractiveShell instance.

Returns None if no InteractiveShell instance is registered.

hyperspy.misc.ipython_tools.is_it_running_from_ipython()
hyperspy.misc.ipython_tools.turn_logging_off()
hyperspy.misc.ipython_tools.turn_logging_on(verbose=1)