navigate.model.waveforms.remote_focus_ramp_triangular
- navigate.model.waveforms.remote_focus_ramp_triangular(sample_rate=100000, exposure_time=0.2, sweep_time=0.24, remote_focus_delay=0.005, camera_delay=0.001, amplitude=1, offset=0, ramp_type='Rising')
Returns a numpy array with a triangular ramp typically used for remote focusing
The waveform starts at offset and stays there for the delay period, then rises linearly to 2x amplitude (amplitude here refers to 1/2 peak-to-peak).
Switching from a left to right remote focus ramp is possible by exchanging the rise and fall periods.
- Parameters:
sample_rate (Integer) – Unit - Hz
exposure_time (Float) – Unit - Seconds
sweep_time (Float) – Unit - Seconds
remote_focus_delay (Float) – Unit - Seconds
camera_delay (Float) – Unit - Seconds
amplitude (Float) – Unit - Volts
offset (Float) – Unit - Volts
ramp_type (String) –
- Returns:
waveform
- Return type:
np.array
Examples
>>> etl_ramp = tunable_lens_ramp(sample_rate, exposure_time, sweep_time, etl_delay, camera_delay, fall, amplitude, offset)