YAML configuration templates for QPSC microscope systems.
Part of the QPSC (QuPath Scope Control) system For complete installation instructions, see: https://github.com/uw-loci/QPSC
This repository contains configuration templates and examples for setting up QPSC with various microscope hardware configurations. These files define microscope-specific settings including hardware components, imaging modalities, autofocus parameters, and image processing settings.
Located in the templates/ folder:
templates/config_template.yml- Comprehensive microscope configuration template with examples for all modality typestemplates/autofocus_template.yml- Autofocus parameter template with detailed documentationtemplates/imageprocessing_template.yml- Image processing settings template (exposure, gain, white balance)
Located in the root directory:
config_PPM.yml- PPM (Polarized light) microscope example configurationconfig_CAMM.yml- CAMM (Multi-modal) microscope example configuration
resources/resources_LOCI.yml- LOCI hardware component lookup tables (objectives, cameras, etc.)
Recommended: Use the QPSC installation instructions which includes automated setup of configuration templates.
-
Clone this repository:
git clone https://github.com/uw-loci/microscope_configurations.git cd microscope_configurations -
Copy and customize a template:
# Copy the main configuration template cp templates/config_template.yml config_my_microscope.yml # Edit with your hardware settings nano config_my_microscope.yml # or use your preferred editor
-
Configure autofocus (optional):
cp templates/autofocus_template.yml autofocus_my_microscope.yml # Edit autofocus parameters for your objectives -
Configure image processing (optional):
cp templates/imageprocessing_template.yml imageprocessing_my_microscope.yml # Edit exposure and gain settings for your camera
Defines the complete microscope setup:
microscope:
name: "Your Microscope Name"
type: "Multimodal"
modalities:
ppm_20x:
type: "ppm"
angles: [0, 45, 90, 135]
exposure_ms: 50
hardware:
objectives:
- id: "LOCI_4x_001"
pixel_size_xy_um:
LOCI_CAMERA_001: 1.105Defines autofocus parameters per objective:
autofocus_settings:
LOCI_4x_001:
interp_strength: 3
score_metric: "NormalizedVariance"
num_images: 30
step_size_um: 50Defines camera settings per modality and camera:
imaging_settings:
ppm_4x:
LOCI_CAMERA_001:
exposure_ms: 50
gain_dB: 0- Do NOT commit your custom configurations to this repository - The
.gitignorefile excludes all.ymlfiles except templates - Templates are for reference - Copy and customize them for your specific hardware
- LOCI resources - The
resources/folder contains shared hardware definitions used across multiple microscopes
For detailed configuration instructions, see the QPSC Configuration Guide.
- Issues: https://github.com/uw-loci/microscope_configurations/issues
- QPSC Documentation: https://github.com/uw-loci/QPSC
- Micro-Manager: https://micro-manager.org/
MIT License