mesoSPIM package

Subpackages

Submodules

mesoSPIM.mesoSPIM_Control module

mesoSPIM_control.py

The core module of the mesoSPIM software

mesoSPIM.mesoSPIM_Control.dark_mode_check(cfg, app)[source]
mesoSPIM.mesoSPIM_Control.get_logger(cfg, package_directory)[source]
mesoSPIM.mesoSPIM_Control.get_parser()[source]

Parse command-line input arguments :return: The argparse parser object

mesoSPIM.mesoSPIM_Control.load_config_UI(current_path)[source]

Bring up a GUI that allows the user to select a microscope configuration to import

mesoSPIM.mesoSPIM_Control.load_config_from_file(path_to_config)[source]

Load a microscope configuration from a file using importlib

mesoSPIM.mesoSPIM_Control.main(embed_console=False, demo_mode=False)[source]

Load a configuration file according to the following rules: 1. If the user asked for demo mode, load the demo_config.py file 2. Else, ff the user did not ask for demo mode:

  • if there is only one non-demo config file, load that.

  • if there are multiple config files, bring up the UI loader.

mesoSPIM.mesoSPIM_Control.run()[source]
mesoSPIM.mesoSPIM_Control.stage_referencing_check(cfg)[source]

Due to problems with some PI stages loosing reference information after restarting the mesoSPIM software, some stage configurations require a reference movement to be carried out before starting the rest of the software.

As reference movements can damage the instrument, this function warns users about this problem by message boxes and asks them to reach a safe state.

Module contents