navigate Logo

Getting Started

  • Quick Start Guide
  • Software Installation
  • I Want To…

User Guide

  • Supported Hardware
  • Supported File Formats
  • User Interface Walkthrough
  • Setting Up A Microscope
  • Acquiring Data
  • Case Studies

Development

  • Contributing Guidelines
  • Developer Install
  • Software Architecture
  • Feature Container
  • REST-API
  • Plugin Architecture

Troubleshooting & Known Issues

  • Troubleshooting
  • Known Issues

Plugins

  • navigate Plugin Template
  • navigate Confocal Projection
  • navigate at Scale
  • navigate Constant Velocity Acquisition
  • navigate MMCore
  • navigate ilastik Server
  • navigate Photoactivation

Reference

  • Implemented Microscopes
  • Software API
    • navigate.config
    • navigate.controller
    • navigate.log_files
    • navigate.model
      • navigate.model.analysis
      • navigate.model.concurrency
      • navigate.model.data_sources
      • navigate.model.device_startup_functions
      • navigate.model.devices
      • navigate.model.features
        • navigate.model.features.adaptive_optics
        • navigate.model.features.auto_tile_scan
        • navigate.model.features.autofocus
        • navigate.model.features.common_features
        • navigate.model.features.feature_container
        • navigate.model.features.feature_related_functions
        • navigate.model.features.image_writer
        • navigate.model.features.remove_empty_tiles
        • navigate.model.features.restful_features
        • navigate.model.features.update_setting
        • navigate.model.features.volume_search
      • navigate.model.metadata_sources
      • navigate.model.microscope
      • navigate.model.model
      • navigate.model.plugins_model
      • navigate.model.waveforms
    • navigate.tools
    • navigate.view
navigate
  • Software API
  • navigate.model
  • navigate.model.features
  • navigate.model.features.feature_related_functions
  • navigate.model.features.feature_related_functions.load_dynamic_parameter_functions
  • View page source

navigate.model.features.feature_related_functions.load_dynamic_parameter_functions

navigate.model.features.feature_related_functions.load_dynamic_parameter_functions(feature_list: list, feature_parameter_setting_path: str) → None

Load dynamic parameter functions into a feature list.

This function takes a feature list and a path to the parameter setting files and dynamically updates the feature list with parameter values specified in the setting files. It searches for parameter values in the setting files and replaces corresponding arguments in the feature list with the loaded values. The function is designed to support dynamic configuration of feature functions with external parameter files.

Parameters:

feature_listlist

A list of feature configurations, typically used for specifying configuration options. It may contain dictionaries with “name” and “args” keys, where “name” is the feature function and “args” is a tuple of arguments. Arguments that match parameter names specified in the setting files will be replaced with loaded values.

feature_parameter_setting_pathstr

The path to the directory containing parameter setting files. These files should be named based on the feature function names (e.g., function_name.yml).

Notes:

  • The function iterates through the feature list, inspecting each feature dictionary for parameter values specified in the setting files.

  • Parameters that match argument names in the feature list are replaced with the loaded values from the setting files.

  • The function supports loading parameter values from YAML files and dynamically updating the feature list.

Example:

Given a feature list and a parameter setting file: - feature_list:

``` [

{“name”: func1, “args”: (arg1, arg2)}, {“name”: func2}, [

{“name”: func3, “args”: (arg3),}, {“name”: func4}

]

  • parameter setting file (func1.yml): ` arg1: value1 arg2: value2 `

The function would update the feature list as follows: ``` [

{“name”: func1, “args”: (“value1”, “value2”)}, {“name”: func2}, [

{“name”: func3, “args”: (arg3),}, {“name”: func4}

]

]

Previous Next

© Copyright 2025, Dean Lab, UT Southwestern Medical Center.