spikesafe-python API Overview | DigitizerDataFetch DigitizerDataFetch Definition Provides a collection of helper functions you can use to take PSMU Digitizer measurements. Functions Name Description DigitizerDataFetch.fetch_voltage_data(spike_safe_socket, enable_logging = None, digitizer_number = None) Returns an array of voltage readings from the digitizer obtained through a fetch query. DigitizerDataFetch.fetch_voltage_data_sampling_mode_custom(spike_safe_socket, time_sampling_mode, custom_sequence, hardware_trigger_delay_microseconds = 0, enable_logging = None, digitizer_number = None) Returns an array of voltage readings using custom sampling mode from the digitizer obtained through a fetch query. DigitizerDataFetch.fetch_voltage_data_sampling_mode_linear(spike_safe_socket, time_sampling_mode, aperture_microseconds, reading_count, hardware_trigger_delay_microseconds = 0, pulse_period_seconds = 0, enable_logging = None, digitizer_number = None) Returns an array of voltage readings using linear sampling mode from the digitizer obtained through a fetch query. DigitizerDataFetch.fetch_voltage_data_sampling_mode_logarithmic(spike_safe_socket, time_sampling_mode, sampling_mode, hardware_trigger_delay_microseconds = 0, enable_logging = None, digitizer_number = None) Returns an array of voltage readings using logarithmic sampling mode from the digitizer obtained through a fetch query. DigitizerDataFetch.get_new_voltage_data_estimated_complete_time(aperture_microseconds, reading_count, hardware_trigger_count=None, hardware_trigger_delay_microseconds=None, pulse_period_seconds=None) Returns the estimated minimum possible time in seconds it will take for the SpikeSafe PSMU digitizer to acquire new voltage readings. DigitizerDataFetch.wait_for_new_voltage_data(spike_safe_socket, wait_time = 0.01, enable_logging = None, timeout = None, digitizer_number = None) Queries the SpikeSafe PSMU digitizer until it responds that it has acquired new data.