Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 2.55 KB

File metadata and controls

19 lines (16 loc) · 2.55 KB

Precision

Definition

Provides a collection of helper functions to get the precise number of decimal places for a SpikeSafe SCPI command argument

Functions

Name Description
Precision.get_precise_compliance_voltage_command_argument(compliance_voltage) Returns the optimal precision for a compliance voltage command argument.
Precision.get_precise_current_command_argument(current_amps) Returns the optimal precision for a current in amps command argument.
Precision.get_precise_duty_cycle_command_argument(duty_cycle) Returns the optimal precision for a duty cycle command argument.
Precision.get_precise_pulse_width_correction_command_argument(pulse_width_correction) Returns the optimal precision for a pulse width correction command argument.
Precision.get_precise_pulse_width_offset_command_argument(pulse_width_offset) Returns the optimal precision for a pulse width offset command argument.
Precision.get_precise_time_command_argument(time_seconds) Returns the optimal precision for a time in seconds command argument.
Precision.get_precise_time_microseconds_command_argument(time_microseconds) Returns the optimal precision for a time in microseconds command argument.
Precision.get_precise_voltage_protection_ramp_dt_command_argument(voltage_protection_ramp_dt) Returns the optimal precision for a voltage ramp detection dt command argument.
Precision.get_precise_voltage_protection_ramp_dv_command_argument(voltage_protection_ramp_dv) Returns the optimal precision for a voltage ramp detection dV command argument.