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.metadata_sources
      • navigate.model.microscope
      • navigate.model.model
      • navigate.model.plugins_model
      • navigate.model.waveforms
        • navigate.model.waveforms.camera_exposure
        • navigate.model.waveforms.dc_value
        • navigate.model.waveforms.remote_focus_ramp
        • navigate.model.waveforms.remote_focus_ramp_triangular
        • navigate.model.waveforms.sawtooth
        • navigate.model.waveforms.sine_wave
        • navigate.model.waveforms.single_pulse
        • navigate.model.waveforms.smooth_waveform
        • navigate.model.waveforms.square
    • navigate.tools
    • navigate.view
navigate
  • Software API
  • navigate.model
  • navigate.model.waveforms
  • navigate.model.waveforms.sawtooth
  • View page source

navigate.model.waveforms.sawtooth

navigate.model.waveforms.sawtooth(sample_rate=100000, sweep_time=0.4, frequency=10, amplitude=1, offset=0, duty_cycle=50, phase=1.5707963267948966)

Returns a numpy array with a sawtooth function. Used for creating the galvo signal.

Parameters:
  • sample_rate (Integer) – Unit - Hz

  • sweep_time (Float) – Unit - Seconds

  • frequency (Float) – Unit - Hz

  • amplitude (Float) – Unit - Volts

  • offset (Float) – Unit - Volts

  • duty_cycle (Float) – Unit - Percent

  • phase (Float) – Unit - Radians

Returns:

waveform

Return type:

np.array

Examples

>>> typical_galvo = sawtooth(sample_rate, sweep_time, 10, 1, 0, 50, np.pi/2)
Previous Next

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