navigate.model.device_startup_functions.start_stage
- navigate.model.device_startup_functions.start_stage(microscope_name: str, device_connection: Any, configuration: Dict[str, Any], id: int = 0, is_synthetic: bool = False, plugin_devices: Optional[Dict] = None) → StageBase
Initialize the Stage class.
Proper stage types include PI, MP285, Thorlabs, MCL, ASI, GalvoNIStage, and SyntheticStage.
- Parameters:
microscope_name (str) – Name of microscope in configuration
device_connection (Any) – Hardware device to connect to
configuration (Dict[str, Any]) – Global configuration of the microscope
id (int) – ID of the stage. Default is 0.
is_synthetic (bool) – Run synthetic version of hardware. Default is False.
plugin_devices (Optional[Dict]) – Dictionary of plugin devices. Default is None.
- Returns:
Stage – An instance of the appropriate stage class depending on the device configuration.
- Return type: