navigate Logo

Getting Started

  • Computer Considerations
  • Computer Power Configuration
  • Software Installation
  • Launching Navigate
  • Configuring Navigate
  • Acquiring Data
  • Smart Acquisition Routines

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
  • Developer Architecture Concepts
  • Feature Container
  • REST API
  • Plugin Architecture
  • Adding New Hardware

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.controller.configurator
    • 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.base
        • navigate.model.features.common_features
        • navigate.model.features.feature_container
        • navigate.model.features.feature_related_functions
        • navigate.model.features.image_writer
        • navigate.model.features.parameter_tools
        • 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.resolution_change
      • 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 in place.

Resolve named function arguments using per-feature YAML settings. Each setting maps a parameter name to function names and their importable modules or Python source paths.

Parameters:
  • feature_list (list) – Feature dictionaries and nested lists or tuples. Each dictionary uses name for the feature class and optionally args for its positional arguments after self and model. Matching argument names are replaced with loaded functions in the existing dictionaries.

  • feature_parameter_setting_path (str) – Directory containing settings named <feature class name>.yml. Features without a settings file are left unchanged.

Notes

A configured argument becomes None when its name is absent from the parameter’s mapping or its mapped value is None or "None". Existing source paths are loaded as modules; other mapped strings are imported as module names. Nested lists and tuples are processed recursively, while "break" and "continue" entries are skipped.

Examples

Given a feature class with a dynamic function parameter:

class ExampleFeature:
    def __init__(self, model, transform):
        self.transform = transform

feature_list = [
    {"name": ExampleFeature, "args": ("sqrt",)},
]

Store the following in ExampleFeature.yml in the settings directory:

transform:
    sqrt: math

Loading these settings replaces the string argument with math.sqrt:

load_dynamic_parameter_functions(feature_list, settings_directory)
# feature_list[0]["args"] is now (math.sqrt,).
Previous Next

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