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.sine_wave
  • View page source

navigate.model.waveforms.sine_wave

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

Returns a numpy array with a sine waveform

Used for creating analog laser drive voltage.

Parameters:
  • sample_rate (int, optional) – Unit - Hz, by default 100000

  • sweep_time (float, optional) – Unit - Seconds, by default 0.4

  • frequency (int, optional) – Unit - Hz, by default 10

  • amplitude (float, optional) – Unit - Volts, by default 1

  • offset (float, optional) – Unit - Volts, by default 0

  • phase (float, optional) – Unit - Radians, by default 0

Returns:

waveform

Return type:

np.array

Examples

>>> typical_laser = sine_wave(sample_rate, sweep_time, 10, 1, 0, 0)
Previous Next

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